Joey McKnight wrote:
> I'm getting this error message:
>
>
>   

You removed the most important output from the build: the last command
executed (the arguments to the linker), please post that one too.

> cdiff.o(.text+0x190a): In function `cdiff_apply':
> ../shared/cdiff.c:984: undefined reference to `gzdopen'
> cdiff.o(.text+0x1950):../shared/cdiff.c:994: undefined reference to `gzgets'
> cdiff.o(.text+0x19a5):../shared/cdiff.c:1016: undefined reference to `gzclose'
> cdiff.o(.text+0x19f5):../shared/cdiff.c:1010: undefined reference to `gzclose'
> tar.o(.text+0xd4): In function `tar_addfile':
> ../shared/tar.c:82: undefined reference to `gzwrite'
> tar.o(.text+0x109):../shared/tar.c:95: undefined reference to `gzwrite'
> tar.o(.text+0x1a3):../shared/tar.c:111: undefined reference to `gzwrite'
> manager.o(.text+0x183c): In function `buildcld':
> /root/clamav-0.93/freshclam/manager.c:884: undefined reference to `gzopen'
> manager.o(.text+0x189d):/root/clamav-0.93/freshclam/manager.c:913: undefined 
> reference to `gzclose'
> manager.o(.text+0x19cd):/root/clamav-0.93/freshclam/manager.c:932: undefined 
> reference to `gzclose'
> manager.o(.text+0x1a21):/root/clamav-0.93/freshclam/manager.c:944: undefined 
> reference to `gzclose'
> collect2: ld returned 1 exit status
> make[2]: *** [freshclam] Error 1
> make[2]: Leaving directory `/root/clamav-0.93/freshclam'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/clamav-0.93'
> make: *** [all] Error 2
>
>
> Any one care to take a guess?

Those are in zlib, what is output of `nm -D /usr/lib/libz.so|grep gz`


Best regards,
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to