Nikolaj Wicker wrote:

trying to compile the latest cvs-code under solaris 9 SPARC with these options:

throws this error in libclamav (mbox.c)

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./zziplib -g -O2 -c mbox.c -MT mbox.lo -MD -MP -MF .deps/mbox.TPlo -fPIC -DPIC -o .libs/mbox.lo
mbox.c: In function `saveFile':
mbox.c:1653: error: `O_BINARY' undeclared (first use in this function)
mbox.c:1653: error: (Each undeclared identifier is reported only once
mbox.c:1653: error: for each function it appears in.)


Hi,

Just want to add something.
From ChangeLog, it seems that Nigel adds O_BINARY to fix cygwin problem on Feb-11, but in turn it breaks non-linux build (namely AIX, Solaris, and DEC OSF). Same error as above.


Wed Feb 11 08:19:54 GMT 2004 (njh)
----------------------------------
 * libclamav: Use O_BINARY when saving attachments which is required for
       Cygwin. Thanks to "Andrey Cherezov" <[EMAIL PROTECTED]>

My last successful build was ClamAV version devel-20040211

Regards,

Fajar A. Nugraha


------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to