Computing.Net > Forums > Solaris > file-4.03 error compilation sol8

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.

file-4.03 error compilation sol8

Reply to Message Icon

Name: Lionel
Date: September 1, 2003 at 07:16:32 Pacific
OS: Solaris 8
CPU/Ram: d
Comment:

Hello,

I'm trying to install the last version of the tools "file" for solaris, I need this for installing an anti-virus for our e-mail gateway.
So, ./configure works good, but make no, here is the messages :

# make
make all-recursive
Making all in src
source='magic.c' object='magic.lo' libtool=yes \
depfile='.deps/magic.Plo' tmpdepfile='.deps/magic.TPlo' \
depmode=gcc /bin/bash ../depcomp \
/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMAGIC='"/usr/share/file/magic"' -g -O2 -c -o magic.lo `test -f 'magic.c' || echo './'`magic.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMAGIC=\"/usr/share/file/magic\" -g -O2 -c magic.c -Wp,-MD,.deps/magic.TPlo -fPIC -DPIC -o .libs/magic.o
In file included from magic.c:31:
file.h:42: warning: `_LARGEFILE_SOURCE' redefined
/usr/include/sys/feature_tests.h:72: warning: this is the location of the previous definition
file.h:43: warning: `_LARGEFILE64_SOURCE' redefined
/usr/include/sys/feature_tests.h:68: warning: this is the location of the previous definition
file.h:44: warning: `_FILE_OFFSET_BITS' redefined
/usr/include/sys/feature_tests.h:96: warning: this is the location of the previous definition
In file included from magic.c:42:
/usr/include/sys/mman.h:164: conflicting types for `mmap64'
/usr/include/sys/mman.h:153: previous declaration of `mmap64'
magic.c: In function `free_mlist':
magic.c:145: warning: passing arg 1 of `munmap' from incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `magic.lo'
Current working directory /home/admin/src/file-4.03/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/admin/src/file-4.03
*** Error code 1
make: Fatal error: Command failed for target `all'

I don't know what is the error with the magic tool.

Hope that someone could help me..

Lionel




Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


FAT 32 to NTFS for Solari... Intel EE Pro 100 in Solar...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Solaris Forum Home


Sponsored links

Ads by Google


Results for: file-4.03 error compilation sol8

A few newbe questions www.computing.net/answers/solaris/a-few-newbe-questions/4385.html

can't change vfstab file www.computing.net/answers/solaris/cant-change-vfstab-file/4053.html

Ufsdump write error www.computing.net/answers/solaris/ufsdump-write-error/3140.html