> OK Andrew, you'll have to repeat the build with:

> 

> CFLAGS="-D_XOPEN_SOURCE" ./configure

> make

 

I ran the above command using the following syntax:

 

            CFLAGS="-D_XOPEN_SOURCE" && ./configure

 

As has happened before, the configure script appeared to complete without
difficulty. The make command resulted in

Error exit code 1. The gcc line preceding the error is as follows:

 

gcc -DHAVE_CONFIG_H -DCL_NOTHREADS -I. -I. -I.. -I../shared -I../libclamav
-I/usr/local/include -D_XOPEN_SOURCE= -c manager.c

 

The h_errno text appeared shortly afterwards in the following manner:

 

manager.c:503: 'h_errno' undeclared (first use in this function)

manager.c:503: (Each undeclared identifier is reported only once

manager.c:503: for each function it appears in.)

 

The Error exit code 1 (three lines total) then appears. 

 

Also, at the suggestion of another mail list member, I tried the following with
the configure script:

 

./configure (YOUR SETTINGS) CFLAGS="-D_XOPEN_SOURCE EXTENDED
-I/usr/tools/gcc3/include" LDFLAGS="-L/usr/tools/gcc3/lib"

 

The end-result was the configure script failing with the error message:

 

checking for C compiler default output file name--- configure: error: C compiler
cannot create executables. See 'config.log' for more details.

 

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to