[Pdns-users] Compiling opendbx module fails on Solaris

Mathew Hennessy pdns at unixslave.com
Mon Mar 3 15:40:31 UTC 2008


Hi,
   I'm trying to compile the opendbxbackend that's included with the
powerdns 2.9.21 distribution against the stable opendbx libraries
(opendbx-1.2.4) installed in /usr/local/ on a Solaris 10 box.  I am using
gcc4 and associated gnu tools from the Blastwave Solaris repository.  Here
is what I get:

gmake[3]: Entering directory
`/export/src/pdns-2.9.21/modules/opendbxbackend'
if /bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I. -I../..   -I/usr/local/include  -D_REENTRANT  -Wall -O2 -MT
odbxbackend.lo -MD -MP -MF ".deps/odbxbackend.Tpo" -c -o odbxbackend.lo
odbxbackend.cc; \
        then mv -f ".deps/odbxbackend.Tpo" ".deps/odbxbackend.Plo"; else rm
-f ".deps/odbxbackend.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -D_REENTRANT -Wall
-O2 -MT odbxbackend.lo -MD -MP -MF .deps/odbxbackend.Tpo -c odbxbackend.cc 
-fPIC -DPIC -o .libs/odbxbackend.o
odbxbackend.hh:48: error: 'u_int32_t' was not declared in this scope
odbxbackend.hh:48: error: 'u_int32_t' was not declared in this scope
odbxbackend.hh:48: error: expected primary-expression before '*' token
odbxbackend.hh:48: error: 'sd' was not declared in this scope
odbxbackend.hh:48: error: expected primary-expression before '*' token
odbxbackend.hh:48: error: 'di' was not declared in this scope
odbxbackend.hh:48: error: initializer expression list treated as compound
expression
odbxbackend.hh:49: error: 'u_int32_t' was not declared in this scope
odbxbackend.hh:49: error: 'u_int32_t' was not declared in this scope
odbxbackend.hh:49: error: expected primary-expression before '*' token
odbxbackend.hh:49: error: 'sd' was not declared in this scope
odbxbackend.hh:49: error: expected primary-expression before '*' token
odbxbackend.hh:49: error: 'di' was not declared in this scope
odbxbackend.hh:49: error: initializer expression list treated as compound
expression
odbxbackend.hh:68: error: expected ',' or '...' before '(' token
odbxbackend.hh:95: error: 'u_int32_t' has not been declared
odbxbackend.hh:96: error: 'u_int32_t' has not been declared
odbxbackend.hh:96: error: 'u_int32_t' has not been declared
odbxbackend.cc: In member function 'virtual bool
OdbxBackend::get(DNSResourceRecord&)':
odbxbackend.cc:309: error: 'u_int16_t' was not declared in this scope
odbxbackend.cc:309: error: expected `;' before 'strtoul'
odbxbackend.cc: At global scope:
odbxbackend.cc:330: error: variable or field 'setFresh' declared void
odbxbackend.cc:330: error: 'int OdbxBackend::setFresh' is not a static
member of 'class OdbxBackend'
odbxbackend.cc:330: error: 'u_int32_t' was not declared in this scope
odbxbackend.cc:331: error: expected ',' or ';' before '{' token
odbxbackend.cc:373: error: variable or field 'setNotified' declared void
odbxbackend.cc:373: error: 'int OdbxBackend::setNotified' is not a static
member of 'class OdbxBackend'
odbxbackend.cc:373: error: 'u_int32_t' was not declared in this scope
odbxbackend.cc:373: error: 'u_int32_t' was not declared in this scope
odbxbackend.cc:373: error: initializer expression list treated as compound
expression
odbxbackend.cc:374: error: expected ',' or ';' before '{' token
gmake[3]: *** [odbxbackend.lo] Error 1
gmake[3]: Leaving directory `/export/src/pdns-2.9.21/modules/opendbxbackend'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/export/src/pdns-2.9.21/modules'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/export/src/pdns-2.9.21'
gmake: *** [all] Error 2
root at powerdns-dev:/export/src/pdns-2.9.21> 

Any help appreciated,
- Matt
-- 
View this message in context: http://www.nabble.com/Compiling-opendbx-module-fails-on-Solaris-tp15806583p15806583.html
Sent from the PowerDNS mailing list archive at Nabble.com.



More information about the Pdns-users mailing list