Build of clamav-0.65 on OSX 10.1.4 dies in the following manner:

/usr/bin/ld: warning unused multiple definitions of symbol _optarg
"link editor" definition of _optarg in section (__DATA,__common)
/usr/lib/libSystem.dylib(getopt.o) unused definition of _optarg
/usr/bin/ld: warning unused multiple definitions of symbol _optind
../clamscan/getopt.o definition of _optind in section (__DATA,__data)
/usr/lib/libSystem.dylib(getopt.o) unused definition of _optind
/usr/bin/ld: warning unused multiple definitions of symbol _getopt
../clamscan/getopt.o definition of _getopt in section (__TEXT,__text)
/usr/lib/libSystem.dylib(getopt.o) unused definition of _getopt
/usr/bin/ld: warning unused multiple definitions of symbol _opterr
../clamscan/getopt.o definition of _opterr in section (__DATA,__data)
/usr/lib/libSystem.dylib(getopt.o) unused definition of _opterr
/usr/bin/ld: warning unused multiple definitions of symbol _optopt
../clamscan/getopt.o definition of _optopt in section (__DATA,__data)
/usr/lib/libSystem.dylib(getopt.o) unused definition of _optopt
make[1]: *** [clamd] Error 1
make: *** [all-recursive] Error 1


I made the same suggested source tweaks (replacing pthread_sigmask with sigprocmask in clamuko.c and server.c) that makes 0.60 build but that didn't solve the problem with 0.65.


Does anyone know the magic incantation? Thanks.



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to