On Sun, Nov 30, 2008 at 03:05:20PM -0500, Steve West said: > Why do iI get these unresolved? I am linking with libclamav.a. > > Steve > > /home/Steve/src/smtpd.c:2372: undefined reference to `cl_load' > /home/Steve/src/smtpd.c:2379: undefined reference to `cl_build' > /home/Steve/src/smtpd.c:2382: undefined reference to `cl_strerror' > /home/Steve/src/smtpd.c:2383: undefined reference to `cl_free' > smtpd.o: In function `saveMsg': > /home/Steve/src/smtpd.c:3550: undefined reference to `cl_scanfile' > /home/Steve/src/smtpd.c:3556: undefined reference to `cl_strerror' > collect2: ld returned 1 exit status
The symbols should be there. Perhaps posting your compile and link lines would be useful. -- -------------------------------------------------------------------------- | Stephen Gran | Know thyself. If you need help, call | | [EMAIL PROTECTED] | the C.I.A. | | http://www.lobefin.net/~steve | | --------------------------------------------------------------------------
signature.asc
Description: Digital signature
_______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml