[Pdns-users] PDNS 2.9.7 & Solaris 9 x86 compiling problem

Dennis solar at nc.ru
Mon Apr 7 07:59:04 UTC 2003


I have following problem compiling PDNS 2.9.7:

source='packethandler.cc' object='packethandler.o' libtool=no \
depfile='.deps/packethandler.Po' tmpdepfile='.deps/packethandler.TPo' \
depmode=gcc3 /bin/bash ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I..  -Ibackends/bind   -DSYSCONFDIR=\"/usr/local/etc\" -DLIBDIR=\"/usr/
local/lib\" -DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind  -D_REENTRANT  -Wall -O2 -c -o packethandle
r.o `test -f packethandler.cc || echo './'`packethandler.cc
packethandler.cc:38: parse error before numeric constant
packethandler.cc: In member function `DNSPacket*
   PacketHandler::question(DNSPacket*)':
packethandler.cc:789: request for member `insert' in `14', which is of
   non-aggregate type `int'
make[3]: *** [packethandler.o] Error 1
make[3]: Leaving directory `/home/dennis/pdns-2.9.7/pdns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dennis/pdns-2.9.7/pdns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dennis/pdns-2.9.7'
make: *** [all] Error 2

GCC version:
bash-2.05# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i386-pc-solaris2.9/3.2.2/specs
Configured with: ../configure --disable-nls --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
Thread model: posix
gcc version 3.2.2

Any suggestions?

Thanx for help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20030407/6785d325/attachment.html>


More information about the Pdns-users mailing list