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

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

file-4.03 error compilation sol8

Reply to Message Icon

Original Message
Name: Lionel
Date: September 1, 2003 at 07:16:32 Pacific
Subject: file-4.03 error compilation sol8
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



Report Offensive Message For Removal








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








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 3 Days.
Discuss in The Lounge
Poll History




Data Recovery Software