[Pdns-users] Pdns Snapshot on Freebsd5 not compiling

Matt Gibson diwelf at gmail.com
Fri Apr 13 19:52:22 UTC 2007


Hello,

We are having a problem compiling the latest two snapshots on our
FreeBSD box. Could you please let us know if there is a known fix for
this? It is kind of urgent! :) Thanks.

Matt G


Background:
Freebsd5
Latest ports, system, kernel, etc.

Tried Versions:
pdns-2.9.21-svn.20070413.1027
pdns-2.9.21-svn.20070409.1023
boost_1_33_1

Problem:
Cannot compile the recursor for some reason. Says it is missing mplexer.hh

Configure Line:
CXXFLAGS=-I/home/dracula/boost_1_33_1 ./configure
--prefix=/usr/local/powerdns --enable-pdns_server --enable-recursor
--with-modules="gmysql"

Error during compile:
g++ -DSYSCONFDIR=\"/usr/local/powerdns/etc\"
-DLIBDIR=\"/usr/local/powerdns/lib\" -DLOCALSTATEDIR=\"/var/run\"
-Ibackends/bind -pthread -I/home/dracula/boost_1_33_1 -Wall -O2
-pthread -o pdns_server ../modules/gmysqlbackend/gmysqlbackend.o
../modules/gmysqlbackend/smysql.o -rdynamic dnspacket.o nameserver.o
qtype.o logger.o arguments.o packethandler.o tcpreceiver.o
packetcache.o statbag.o dnsbackend.o ws.o webserver.o session.o misc.o
receiver.o ueberbackend.o dynlistener.o dynhandler.o resolver.o
communicator.o dnsproxy.o randombackend.o unix_utility.o
common_startup.o unix_semaphore.o bindbackend2.o bindparser.o
bindlexer.o huffman.o gsqlbackend.o base64.o sillyrecords.o
zoneparser-tng.o dnsrecords.o dnswriter.o rcpgenerator.o dnsparser.o
-L/usr/local/lib/mysql /usr/local/lib/mysql/libmysqlclient.so -lcrypt
-lm -L/usr/lib -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib/mysql
-Wl,--rpath -Wl,/usr/local/lib/mysql
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -Ibackends/bind
-DSYSCONFDIR=\"/usr/local/powerdns/etc\"
-DLIBDIR=\"/usr/local/powerdns/lib\" -DLOCALSTATEDIR=\"/var/run\"
-Ibackends/bind -pthread -I/home/dracula/boost_1_33_1 -Wall -O2 -MT
syncres.o -MD -MP -MF ".deps/syncres.Tpo" -c -o syncres.o syncres.cc;
then mv -f ".deps/syncres.Tpo" ".deps/syncres.Po"; else rm -f
".deps/syncres.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -Ibackends/bind
-DSYSCONFDIR=\"/usr/local/powerdns/etc\"
-DLIBDIR=\"/usr/local/powerdns/lib\" -DLOCALSTATEDIR=\"/var/run\"
-Ibackends/bind -pthread -I/home/dracula/boost_1_33_1 -Wall -O2 -MT
lwres.o -MD -MP -MF ".deps/lwres.Tpo" -c -o lwres.o lwres.cc;  then mv
-f ".deps/lwres.Tpo" ".deps/lwres.Po"; else rm -f ".deps/lwres.Tpo";
exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I..   -Ibackends/bind
-DSYSCONFDIR=\"/usr/local/powerdns/etc\"
-DLIBDIR=\"/usr/local/powerdns/lib\" -DLOCALSTATEDIR=\"/var/run\"
-Ibackends/bind -pthread -I/home/dracula/boost_1_33_1 -Wall -O2 -MT
pdns_recursor.o -MD -MP -MF ".deps/pdns_recursor.Tpo" -c -o
pdns_recursor.o pdns_recursor.cc;  then mv -f
".deps/pdns_recursor.Tpo" ".deps/pdns_recursor.Po"; else rm -f
".deps/pdns_recursor.Tpo"; exit 1; fi
pdns_recursor.cc:57:22: mplexer.hh: No such file or directory
pdns_recursor.cc:65: error: expected constructor, destructor, or type
conversion before '*' token
pdns_recursor.cc:65: error: expected `,' or `;' before '*' token
pdns_recursor.cc:139: error: `boost::any' has not been declared
pdns_recursor.cc:139: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc: In function `int asendtcp(const std::string&, Socket*)':
pdns_recursor.cc:148: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc:148: error: (Each undeclared identifier is reported
only once for each function it appears in.)
pdns_recursor.cc: At global scope:
pdns_recursor.cc:161: error: `boost::any' has not been declared
pdns_recursor.cc:161: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc: In function `int arecvtcp(std::string&, int, Socket*)':
pdns_recursor.cc:170: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc: At global scope:
pdns_recursor.cc:229: error: `boost::any' has not been declared
pdns_recursor.cc:229: error: ISO C++ forbids declaration of
`parameter' with no type
pdns_recursor.cc: In member function `void
UDPClientSocks::returnSocket(std::_Rb_tree_const_iterator<int>&)':
pdns_recursor.cc:275: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc:277: error: `FDMultiplexerException' has not been declared
pdns_recursor.cc:277: error: invalid catch parameter
pdns_recursor.cc: In function `int asendto(const char*, int, int,
const ComboAddress&, uint16_t, const std::string&, uint16_t, int*)':
pdns_recursor.cc:329: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc: At global scope:
pdns_recursor.cc:484: error: `boost::any' has not been declared
pdns_recursor.cc:484: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc: In function `void startDoResolve(void*)':
pdns_recursor.cc:592: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc: At global scope:
pdns_recursor.cc:658: error: `boost::any' has not been declared
pdns_recursor.cc:659: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc: In function `void handleRunningTCPQuestion(int, int&)':
pdns_recursor.cc:660: error: `any_cast' undeclared (first use this function)
pdns_recursor.cc:660: error: expected primary-expression before '>' token
pdns_recursor.cc:673: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc: At global scope:
pdns_recursor.cc:741: error: `boost::any' has not been declared
pdns_recursor.cc:742: error: ISO C++ forbids declaration of
`parameter' with no type
pdns_recursor.cc: In function `void handleNewTCPQuestion(int, int&)':
pdns_recursor.cc:770: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc:818:24: asm/unistd.h: No such file or directory
pdns_recursor.cc: At global scope:
pdns_recursor.cc:835: error: `boost::any' has not been declared
pdns_recursor.cc:836: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc:933: error: `any' was not declared in this scope
pdns_recursor.cc:933: error: functional cast expression list treated
as compound expression
pdns_recursor.cc:933: error: missing `>' to terminate the template argument list
pdns_recursor.cc:933: error: template argument 1 is invalid
pdns_recursor.cc:933: error: missing `>' to terminate the template argument list
pdns_recursor.cc:933: error: template argument 2 is invalid
pdns_recursor.cc:933: error: missing `>' to terminate the template argument list
pdns_recursor.cc:933: error: template argument 1 is invalid
pdns_recursor.cc:933: error: template argument 2 is invalid
pdns_recursor.cc:933: error: expected unqualified-id before "int"
pdns_recursor.cc:933: error: expected `)' before "int"
pdns_recursor.cc:933: error: expected `,' or `;' before "int"
pdns_recursor.cc:934: error: `deferredAdd_t' does not name a type
pdns_recursor.cc: In function `void makeTCPServerSockets()':
pdns_recursor.cc:985: error: `deferredAdd' undeclared (first use this function)
pdns_recursor.cc: In function `void makeUDPServerSockets()':
pdns_recursor.cc:1036: error: `deferredAdd' undeclared (first use this function)
pdns_recursor.cc: At global scope:
pdns_recursor.cc:1158: error: `boost::any' has not been declared
pdns_recursor.cc:1159: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc:1177: error: `boost::any' has not been declared
pdns_recursor.cc:1178: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc: In function `void handleTCPClientReadable(int, int&)':
pdns_recursor.cc:1179: error: `any_cast' undeclared (first use this function)
pdns_recursor.cc:1179: error: expected primary-expression before '>' token
pdns_recursor.cc:1193: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc: At global scope:
pdns_recursor.cc:1208: error: `boost::any' has not been declared
pdns_recursor.cc:1209: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc: In function `void handleTCPClientWritable(int, int&)':
pdns_recursor.cc:1210: error: `any_cast' undeclared (first use this function)
pdns_recursor.cc:1210: error: expected primary-expression before '>' token
pdns_recursor.cc:1217: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc: At global scope:
pdns_recursor.cc:1244: error: `boost::any' has not been declared
pdns_recursor.cc:1245: error: ISO C++ forbids declaration of `var' with no type
pdns_recursor.cc: In function `void handleUDPServerResponse(int, int&)':
pdns_recursor.cc:1246: error: `any_cast' undeclared (first use this function)
pdns_recursor.cc:1246: error: expected primary-expression before '>' token
pdns_recursor.cc: At global scope:
pdns_recursor.cc:1314: error: expected constructor, destructor, or
type conversion before '*' token
pdns_recursor.cc:1314: error: expected `,' or `;' before '*' token
pdns_recursor.cc: In function `int serviceMain(int, char**)':
pdns_recursor.cc:1695: error: `g_fdm' undeclared (first use this function)
pdns_recursor.cc:1695: error: `getMultiplexer' undeclared (first use
this function)
pdns_recursor.cc:1697: error: `deferredAdd_t' has not been declared
pdns_recursor.cc:1697: error: `const_iterator' undeclared (first use
this function)
pdns_recursor.cc:1697: error: expected `;' before "i"
pdns_recursor.cc:1697: error: `i' undeclared (first use this function)
pdns_recursor.cc:1697: error: `deferredAdd' undeclared (first use this function)
pdns_recursor.cc:1736: error: `any' is not a member of `boost'
pdns_recursor.cc:1736: error: `any' is not a member of `boost'
pdns_recursor.cc:1736: error: template argument 2 is invalid
pdns_recursor.cc:1736: error: template argument 1 is invalid
pdns_recursor.cc:1736: error: template argument 2 is invalid
pdns_recursor.cc:1736: error: ISO C++ forbids declaration of
`expired_t' with no type
pdns_recursor.cc:1739: error: `expired_t' is not a class or namespace
pdns_recursor.cc:1739: error: `iterator' undeclared (first use this function)
pdns_recursor.cc:1739: error: expected `;' before "i"
pdns_recursor.cc:1739: error: `end' is not a type
pdns_recursor.cc:1739: error: request for member of non-aggregate type
before '(' token
pdns_recursor.cc:1740: error: `any_cast' undeclared (first use this function)
pdns_recursor.cc:1740: error: expected primary-expression before '>' token
*** Error code 1

Stop in /usr/home/dracula/pdns-2.9.21-svn.20070413.1027/pdns.
*** Error code 1

Stop in /usr/home/dracula/pdns-2.9.21-svn.20070413.1027/pdns.
*** Error code 1

Stop in /usr/home/dracula/pdns-2.9.21-svn.20070413.1027.
*** Error code 1

Stop in /usr/home/dracula/pdns-2.9.21-svn.20070413.1027.


More information about the Pdns-users mailing list