On Wed, Feb 11, 2004 at 12:31:43PM -0500, Vic Metcalfe wrote: > I recently was able to build the 0.65 release under OpenBSD, but I'm now > getting an error building freshclam: [snip] > `cfgopt' > freshclam.o:/home/vic/src/clamav-0.66/freshclam/freshclam.c:168: more > undefined references to `cfgopt' follow > collect2: ld returned 1 exit status > *** Error code 1 [snip]
I had a similar error while building 0.66 on Tru64. I found that freshclam/Makefile contained these two lines: #freshclam_LDADD = ../clamscan/getopt.o ../clamscan/others.o ../clamd/cfgfile.o freshclam_LDADD = ../clamscan/getopt.o ../clamscan/others.o Uncommenting the first and commenting the second made the build work again. It's not clear why this change was necessary -- what's the reasoning for not linking in cfgfile.o? thanks, Dave -- ** Dave Holland ** Systems Support - Special Projects Team ** ** 01223 834244 ** Sanger Institute, Hinxton, Cambridge, UK ** "The fact that something should have worked does not change the fact that it didn't." ------------------------------------------------------- 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