[Pdns-users] Issues compiling 2.9.15

Simon Helson simon at netconcepts.com
Wed Jan 21 21:40:31 UTC 2004


Hey all..

I've tried this on two systems now.. and get the same thing.. has anyone 
seen this before/could offer some assistance?

Systems tried: RedHat 7.3 and Debian woody

configure line: ./configure --prefix=/www/pdns --with-modules=gmysql 
--with-mysql=/www/mysql

(nothing too strange there - configure runs fine.. and yes, that's where 
mysql hides).

so I run make.. expecting as with other versions for it to chug away and 
finish happily.. however instead I get this:

Making all in bind
make[4]: Entering directory `/usr/src/pdns-2.9.15/pdns/backends/bind'
source='zoneparser2.cc' object='zoneparser2.lo' libtool=yes \
depfile='.deps/zoneparser2.Plo' tmpdepfile='.deps/zoneparser2.TPlo' \
depmode=gcc3 /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
-I../../.. -I../..    -D_GNU_SOURCE  -Wall -O2 -c -o zoneparser2.lo `test 
-f zoneparser2.cc || echo './'`zoneparser2.cc
 g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../.. -D_GNU_SOURCE -Wall -O2 -c 
zoneparser2.cc -MT zoneparser2.lo -MD -MP -MF .deps/zoneparser2.TPlo  
-fPIC -DPIC -o .libs/zoneparser2.o
zoneparser2.cc: In method `void ZoneParser::parse (const string &,
const string &, unsigned int)':
zoneparser2.cc:58: `STDIN_FILENO' undeclared (first use this function)
zoneparser2.cc:58: (Each undeclared identifier is reported only once
for each function it appears in.)
make[4]: *** [zoneparser2.lo] Error 1
make[4]: Leaving directory `/usr/src/pdns-2.9.15/pdns/backends/bind'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/pdns-2.9.15/pdns/backends'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/pdns-2.9.15/pdns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/pdns-2.9.15'
make: *** [all] Error 2

I get exactly the same thing on both systems I've tried.. so it seems it's 
not system specific... got me stumped anyhows.

Any help will be hugely appreciated.

Cheers

Simon Helson
Systems Administrator
Internet Concepts LLC



More information about the Pdns-users mailing list