I can't get this to compile at all on 10.4.6 server. I am running ./configure --prefix=/usr --with-mysql --with-net-snmp --enable-server --enable-agent this runs ok but when I run make I get the following error(s) then it fails.
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o `test -f 'common/common.c' || echo './'`common/common.c; \
then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi
common/common.c: In function 'CHECK_DNS':
common/common.c:1960: error: 'PACKETSZ' undeclared (first use in this function)
common/common.c:1960: error: (Each undeclared identifier is reported only once
common/common.c:1960: error: for each function it appears in.)
make[4]: *** [common.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
any help is appreciated.
Mark
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -g -O2 -MT common.o -MD -MP -MF ".deps/common.Tpo" -c -o common.o `test -f 'common/common.c' || echo './'`common/common.c; \
then mv -f ".deps/common.Tpo" ".deps/common.Po"; else rm -f ".deps/common.Tpo"; exit 1; fi
common/common.c: In function 'CHECK_DNS':
common/common.c:1960: error: 'PACKETSZ' undeclared (first use in this function)
common/common.c:1960: error: (Each undeclared identifier is reported only once
common/common.c:1960: error: for each function it appears in.)
make[4]: *** [common.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
any help is appreciated.
Mark
Comment