Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
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

![]() |
FAT 32 to NTFS for Solari...
|
Intel EE Pro 100 in Solar...
|

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