[rbldnsd] Dairiki's v6 version

Andreas Schulze sca at andreasschulze.de
Wed Mar 13 12:35:01 MSK 2013


Hi,

I compiled https://github.com/dairiki/rbldnsd/tarball/ipv6/rbldnsd.tar.gz
I use an autobuildsystem to compile for SuSE Enterprise Server 9,10 and 11 and
for the latest OpenSuSE snapshot (OpenSuSE_Factory)

Success for sles9/10/11 but very restrictive compiler setting force warnings to be errors on OpenSuSE_Factory:

+ cd dairiki-rbldnsd-f5f7b68
+ ./configure --enable-ipv6 --enable-stats --disable-master-dump --disable-zlib --disable-dso
configure: rbldnsd... 0.996b+ipv6 (12 Mar 2013)
checking for C compiler... gcc
checking whether C compiler (gcc) is GNU CC... yes
checking whether the C compiler (gcc -Wall -W -O2 -pipe)
           can produce executables... yes
checking for ranlib... ranlib
checking for stdint.h... yes
checking whether C compiler defines __SIZEOF_POINTER__... yes
checking byte order... little-endian
checking for inline... yes
checking for socklen_t... yes
checking for libraries needed for connect()... ok (none needed)
checking for IPv6... yes
checking for mallinfo()... yes
checking for poll()... yes
checking for vsnprintf()... yes
checking for writev()/readv()... yes
checking for setitimer()... yes
creating Makefile... ok
creating config.h... ok
creating config.status... ok
all done.
+ /usr/bin/make

 rbldnsd VERSION="0.996b+ipv6 (12 Mar 2013)"

gcc -Wall -W -O2 -pipe  -c rbldnsd.c -DVERSION="\"0.996b+ipv6 (12 Mar 2013)\""
rbldnsd.c: In function 'init':
rbldnsd.c:357:37: warning: variable 'dump' set but not used [-Wunused-but-set-variable]
gcc -Wall -W -O2 -pipe  -c rbldnsd_zones.c
rbldnsd_zones.c: In function 'ds_special':
rbldnsd_zones.c:207:2: warning: #warning NS record compatibility mode: remove for 1.0 final [-Wcpp]
gcc -Wall -W -O2 -pipe  -c rbldnsd_packet.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_ip4set.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_ip4tset.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_ip4trie.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_ip6tset.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_ip6trie.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_dnset.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_generic.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_combined.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_acl.c
gcc -Wall -W -O2 -pipe  -c rbldnsd_util.c
gcc -Wall -W -O2 -pipe  -c dns_ptodn.c
gcc -Wall -W -O2 -pipe  -c dns_dntop.c
gcc -Wall -W -O2 -pipe  -c dns_dntol.c
gcc -Wall -W -O2 -pipe  -c dns_dnlen.c
gcc -Wall -W -O2 -pipe  -c dns_dnlabels.c
gcc -Wall -W -O2 -pipe  -c dns_dnequ.c
gcc -Wall -W -O2 -pipe  -c dns_dnreverse.c
gcc -Wall -W -O2 -pipe  -c dns_findname.c
awk -f dns_maketab.awk dns.h > dns_nametab.c.tmp
mv -f dns_nametab.c.tmp dns_nametab.c
gcc -Wall -W -O2 -pipe  -c dns_nametab.c
gcc -Wall -W -O2 -pipe  -c ip4parse.c
gcc -Wall -W -O2 -pipe  -c ip4atos.c
gcc -Wall -W -O2 -pipe  -c ip4mask.c
gcc -Wall -W -O2 -pipe  -c ip6addr.c
gcc -Wall -W -O2 -pipe  -c mempool.c
gcc -Wall -W -O2 -pipe  -c istream.c
gcc -Wall -W -O2 -pipe  -c btrie.c
btrie.c: In function 'btrie_stats':
btrie.c:1496:15: error: storage size of 'buf' isn't constant
btrie.c:1496:15: warning: unused variable 'buf' [-Wunused-variable]
btrie.c:1542:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [btrie.o] Error 1

Andreas



More information about the rbldnsd mailing list