I used, configure  --disable-clamav --disable-shared options.

But, it is failing with following messages...

Making all in clamd
         gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav  
-I/usr/local/special/include  -g -O2 -MT output.o -MD -MP -MF  
.deps/output.Tpo -c -o output.o `test -f '../shared/output.c' || echo  
'./'`../shared/output.c
         mv -f .deps/output.Tpo .deps/output.Po
         gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav  
-I/usr/local/special/include  -g -O2 -MT cfgparser.o -MD -MP -MF  
.deps/cfgparser.Tpo -c -o cfgparser.o `test -f '../shared/cfgparser.c'  
|| echo './'`../shared/cfgparser.c
         mv -f .deps/cfgparser.Tpo .deps/cfgparser.Po
         gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav  
-I/usr/local/special/include  -g -O2 -MT getopt.o -MD -MP -MF  
.deps/getopt.Tpo -c -o getopt.o `test -f '../shared/getopt.c' || echo  
'./'`../shared/getopt.c
         mv -f .deps/getopt.Tpo .deps/getopt.Po
         gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav  
-I/usr/local/special/include  -g -O2 -MT misc.o -MD -MP -MF  
.deps/misc.Tpo -c -o misc.o `test -f '../shared/misc.c' || echo  
'./'`../shared/misc.c
         mv -f .deps/misc.Tpo .deps/misc.Po
         gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav  
-I/usr/local/special/include  -g -O2 -MT network.o -MD -MP -MF  
.deps/network.Tpo -c -o network.o `test -f '../shared/network.c' ||  
echo './'`../shared/network.c
../shared/network.c: In function 'r_gethostbyname':
../shared/network.c:84: warning: passing argument 2 of  
'gethostbyname_r' from incompatible pointer type
         mv -f .deps/network.Tpo .deps/network.Po
         gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav  
-I/usr/local/special/include  -g -O2 -MT options.o -MD -MP -MF  
.deps/options.Tpo -c -o options.o `test -f '../shared/options.c' ||  
echo './'`../shared/options.c
         mv -f .deps/options.Tpo .deps/options.Po
         gcc -DHAVE_CONFIG_H -I. -I..  -I.. -I../shared -I../libclamav  
  -I/usr/local/special/include  -g -O2 -MT clamd.o -MD -MP -MF  
.deps/clamd.Tpo -c -o clamd.o clamd.c
clamd.c: In function 'main':
clamd.c:293: error: expected ')' before 'TARGET_OS_TYPE'
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.

Please let me know, how to solve this problem.


Regards,

Anant Athavale.
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to