[Pdns-users] FW: Compilation problems

Kieran Barnes kbarnes.web at itisholdings.com
Fri Nov 12 14:14:47 UTC 2004


Hi guys,

I'm having some problems compiling pdns 2.9.16 on my Debian sarge system.

My configure line is;

--
./configure --prefix=/usr/local/pdns
--with-mysql=/home/mysql-standard-4.1.7-pc-linux-i686
--with-mysql-includes=/home/mysql-standard-4.1.7-pc-linux-i686/include
--with-mysql-lib=/home/mysql-standard-4.1.7-pc-linux-i686/lib
--

and I have mysql installed and running fine in the directory mentioned
above.
Most of the "make" works, until this error

--
Making all in .
make[3]: Entering directory `/home/itsupport/pdns-2.9.16/pdns'
/bin/sh ../libtool --mode=link g++ -DSYSCONFDIR=\"/usr/local/pdns/etc\"
-DLIBDIR=\"/usr/local/pdns/lib\" -DLOCALSTATEDIR=\"/var/run\"
-Ibackends/bind  -D_GNU_SOURCE  -Wall -O2
-L/home/mysql-standard-4.1.7-pc-linux-i686/lib  -o pdns_server
../modules/gmysqlbackend/gmysqlbackend.o ../modules/gmysqlbackend/smysql.o
../modules/geobackend/geobackend.o ../modules/geobackend/ippreftree.o
-lmysqlclient  -rdynamic -ldl  -pthread 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 bindbackend2.o zoneparser2.o
bindparser.o bindlexer.o huffman.o gsqlbackend.o sillyrecords.o
bindbackend.o
g++ -DSYSCONFDIR=\"/usr/local/pdns/etc\" -DLIBDIR=\"/usr/local/pdns/lib\"
-DLOCALSTATEDIR=\"/var/run\" -Ibackends/bind -D_GNU_SOURCE -Wall -O2 -o
pdns_server ../modules/gmysqlbackend/gmysqlbackend.o
../modules/gmysqlbackend/smysql.o ../modules/geobackend/geobackend.o
../modules/geobackend/ippreftree.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 bindbackend2.o
zoneparser2.o bindparser.o bindlexer.o huffman.o gsqlbackend.o
sillyrecords.o bindbackend.o  -L/home/mysql-standard-4.1.7-pc-linux-i686/lib
-lmysqlclient -ldl -pthread
/home/mysql-standard-4.1.7-pc-linux-i686/lib/libmysqlclient.a(my_compress.o)
(.text+0xb4): In function `my_compress_alloc':
: undefined reference to `compress'
/home/mysql-standard-4.1.7-pc-linux-i686/lib/libmysqlclient.a(my_compress.o)
(.text+0x12a): In function `my_uncompress':
: undefined reference to `uncompress'
collect2: ld returned 1 exit status
make[3]: *** [pdns_server] Error 1
make[3]: Leaving directory `/home/itsupport/pdns-2.9.16/pdns'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/itsupport/pdns-2.9.16/pdns'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/itsupport/pdns-2.9.16'
make: *** [all] Error 2
--

I've tried "LIBS=-lz ./configure" but that doesn't seem to help.
Does anybody have any ideas on how to fix this?

Thanks

---
Kieran Barnes
IT Support


ITIS Holdings plc
www.itisholdings.com

Station House, Stamford New Road
Altrincham, Cheshire WA14 1EP
+44(0)161 927 3600
+44(0)161 929 5074 (fax)

Internet communications are not secure and therefore ITIS Holdings cannot
accept responsibility for the contents of this message. If you wish to
verify that this email is genuine please contact us at the address above.

This email is confidential and is intended only for the named recipient. If
you are not the intended recipient, any dissemination, copying or disclosure
of this message is strictly prohibited. If you have received this email in
error please delete this email and contact us immediately. Any personal
opinions expressed in this email are those of the sender and should not be
taken as being representative of ITIS Holdings plc.



More information about the Pdns-users mailing list