[Pdns-users] Compiling on AIX

miguelsanders at telenet.be miguelsanders at telenet.be
Thu Apr 19 10:56:35 UTC 2007


Ok, that issue is solved now (I compiled the openldap libraries first, and did not use the AIX ldap libraries).
But now there is still something wrong when compiling zone2ldap and zone2sql.
It keeps mentioning the following:
ld: 0711-317 ERROR: Undefined symbol: .inet_ntop(int, void const*, char*, unsigned long)
ld: 0711-317 ERROR: Undefined symbol: .inet_ntoa(in_addr)
ld: 0711-317 ERROR: Undefined symbol: .inet_aton(char const*, in_addr*)
ld: 0711-317 ERROR: Undefined symbol: .toupper(int)
ld: 0711-317 ERROR: Undefined symbol: .inet_pton(int, char const*, void*)
ld: 0711-317 ERROR: Undefined symbol: .fcntl(int, int, ...)
ld: 0711-317 ERROR: Undefined symbol: .isspace(int)
ld: 0711-317 ERROR: Undefined symbol: .inet_addr(char const*)
 when compiling zone2sql and zone2ldap.

Any advice?

>----- Oorspronkelijk bericht -----
>Van: bert hubert [mailto:bert.hubert at netherlabs.nl]
>Verzonden: donderdag, april 19, 2007 10:25 AM
>Aan: miguelsanders at telenet.be
>CC: pdns-users at mailman.powerdns.com
>Onderwerp: Re: [Pdns-users] Compiling on AIX
>
>On Thu, Apr 19, 2007 at 07:52:18AM +0000, miguelsanders at telenet.be wrote:
>> I can't seem to compile PowerDNS on AIX.
>> My libldap.a is 64bit and I have tried various ways.
>
>Can you try:
>
>export OBJECT_MODE=64
>CXXFLAGS=-I/tmp/boost_1_33_1 ./configure --with-modules="" 
>
>And report if that does work?
>
>> But when configuring I am getting errors 
>> configure:2431: checking for C compiler default output file name
>> configure:2434: gcc conftest.c >&5
>> Assembler:
>> /tmp//ccF396EO.s: line 10: Only .llong should be used for relocatable expressions.
>
>This looks like something is really wrong within your compiler toolchain.
>
>	Bert
>
>
>-- 
>http://www.PowerDNS.com      Open source, database driven DNS Software 
>http://netherlabs.nl              Open and Closed source services
>
>




More information about the Pdns-users mailing list