> OK, that means that configure is able to use h_errno and related stuff, which is good news.
> Now look in the log about 8 lines above (and just below the "checking for gethostbyname_r"), how was the test compiled? > I have "gcc -c -g -O2 conftest.c >&5", does your log show more parameters to gcc? The line in question reads as follows: configure:13162: gcc -c -g 02 -I/usr/local/include conftest.c >&5 The following text appears immediately after: cc1: warning: changing search order for system directory "/usr/local/include" cc1: warning: as it has already been specified as a non-system directory > BTW try to use the installed gcc (2.95.2), if you use the newer one you'll have to install it later so that libgcc is somewhere permanent. > Perhaps starting with no environment variables set will help. I contacted the administrator, who has since left the company, of this system, and asked him about the locally installed gcc (2.95.2). Here is an excerpt from the e-mail he sent in reply: The Makefile looks ok. I think the problem is the gcc version. You will have to mount /usr/tools and use the gcc installed on that to compile ClamAV. The one under /usr/contrib is no good. _______________________________________________ http://lurker.clamav.net/list/clamav-users.html