[EMAIL PROTECTED] wrote: > Hello All, > > [if this is the wrong list please advise - I'm a new subscriber] > > I hope someone has been across this error whilst compiling from source on > linux machine. > > /root/clamav-0.92rc2/clamd/server-th.c:558: undefined reference to > `__xpg_strerror_r' > collect2: ld returned 1 exit status > make[2]: *** [clamd] Error 1 > make[2]: Leaving directory `/root/clamav-0.92rc2/clamd' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/root/clamav-0.92rc2' > make: *** [all] Error 2 > >
I have that symbol in glibc 2.6.1: $ nm -D /lib/libc.so.6 | grep xpg_strerror_r 000726b0 T __xpg_strerror_r What does the command above output on your system? You are probably using the headers for a newer version of glibc than the one installed on your system. What does "apt-cache policy libc6-dev libc6" output? The versions should be the same. Also do you have uclibc installed? --Edwin _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html