[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ldns-users
Subject:    [ldns-users] Titanium bug in unbound or ldns?
From:       paul () xelerance ! com (Paul Wouters)
Date:       2009-01-22 20:48:23
Message-ID: Pine.LNX.4.64.0901221541330.26925 () newtla ! xelerance ! com
[Download RAW message or body]


Hey,

While trying to build unbound-1.2.0rc1 on an Itanium, we run into strange
bugs in the include files. I suspect either ldns or unbound got things
wrong.

The first error that shows up is:

 gcc -I. -I. -I/usr/include -I/usr/include -I/include -DHAVE_CONFIG_H -O2 -g -pipe \
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector \
--param=ssp-buffer-size=4 -D_GNU_SOURCE -c services/cache/dns.c  -fPIC -DPIC -o \
                build/services/cache/.libs/dns.o
services/cache/dns.c: In function 'dns_cache_lookup':
services/cache/dns.c:568: error: 'LDNS_RR_TYPE_DLV' undeclared (first use in this \
function) services/cache/dns.c:568: error: (Each undeclared identifier is reported \
only once services/cache/dns.c:568: error: for each function it appears in.)
make: *** [build/services/cache/dns.lo] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.15014 (%build)


This is odd, because LDNS_RR_TYPE_DLV and others are found in <ldns/rr.h>
which is installed (from ldns-1.4.0 not the shipped copy within unbound)

Fixing this manually, its runs into further similar issues with NSEC3
related defines.

I can provide config.log, config.status and/or access :)

Paul


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic