trouble compiling bind 9.9.2-P2 with rate limit patch rl-9.9.2-P2.patch

Red Cricket red.cricket.blog at gmail.com
Fri Apr 5 17:45:45 UTC 2013


I have been attempting to follow the instructions here:
http://ss.vix.su/~vjs/rrlrpz.html
but make fails with this error ...

gcc  -I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2
-I./include -I./unix/include -I.
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/lwres/include
-I../../lib/lwres/unix/include -I../../lib/lwres/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/dns/include
-I../../lib/dns/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/bind9/include
-I../../lib/bind9/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/isccfg/include
-I../../lib/isccfg/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/isccc/include
-I../../lib/isccc/include
-I/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/isc/include
-I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include
-I../../lib/isc/nothreads/include -I../../lib/isc/x86_32/include
 -DOPENSSL -D_GNU_SOURCE -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
-mtune=generic  -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings
-Wformat -Wpointer-arith -fno-strict-alia
sing  -c lwsearch.c
export MAKE_SYMTABLE="yes"; \
        export BASEOBJS="builtin.o client.o config.o control.o
controlconf.o interfacemgr.o listenlist.o log.o logconf.o main.o notify.o
query.o server.o sortlist.o statschannel.o tkeyconf.o tsigconf.o update.o
xfrout.o zoneconf.o lwaddr.o lwresd.o lwdclient.o lwderror.o lwdgabn.o
lwdgnba.o lwdgrbn.o lwdnoop.o lwsearch.o   unix/os.o
unix/dlz_dlopen_driver.o"; \
        if [ X"/usr/local/bin/perl5" = X -o X"${MAKE_SYMTABLE:-}" = X ] ;
then    gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -o named
${BASEOBJS} ${LIBS0} ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a
 -lgssapi_krb5 -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
../../lib/isc/libisc.a   -ldl ; else rm -f namedtmp0;    gcc -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic  -o namedtmp0 ${BASEOBJS}
${LIBS0} ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a  -lgssapi_krb5
-lcrypto ../../lib/bind9/libbind9.a ../../lib/isccfg/libisccfg.a
../../lib/isccc/libisccc.a ../../lib/isc/libisc.a   -ldl  || exit 1; rm -f
named-symtbl.c named-symtbl.o; /usr/local/bin/perl5
../../util/mksymtbl.pl-o named-symtbl.c namedtmp0 || exit 1; make
named-symtbl.o || exit 1; rm -f
namedtmp1;    gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic  -o
namedtmp1 ${BASEOBJS} named-symtbl.o ${LIBS0} ../../lib/lwres/liblwres.a
../../lib/dns/libdns.a  -lgssapi_krb5 -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
../../lib/isc/libisc-nosymtbl.a   -ldl  || exit 1; rm -f named-symtbl.c
named-symtbl.o; /usr/local/bin/perl5 ../../util/mksymtbl.pl -o
named-symtbl.c namedtmp1 || exit 1; make named-symtbl.o || exit 1;    gcc
-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic  -o namedtmp2 ${BASEOBJS}
named-symtbl.o ${LIBS0} ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a
 -lgssapi_krb5 -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
../../lib/isc/libisc-nosymtbl.a   -ldl ; /usr/local/bin/perl5 ../../util/
mksymtbl.pl -o named-symtbl2.c namedtmp2; count=0; until diff
named-symtbl.c named-symtbl2.c > /dev/null ; do count=`expr $count + 1` ;
test $count = 42 && exit 1 ; rm -f named-symtbl.c named-symtbl.o;
/usr/local/bin/perl5 ../../util/mksymtbl.pl -o named-symtbl.c namedtmp2 ||
exit 1; make named-symtbl.o || exit 1;    gcc -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic  -o namedtmp2 ${BASEOBJS}
named-symtbl.o ${LIBS0} ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a
 -lgssapi_krb5 -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
../../lib/isc/libisc-nosymtbl.a   -ldl ; /usr/local/bin/perl5 ../../util/
mksymtbl.pl -o named-symtbl2.c namedtmp2; done ; mv namedtmp2 named; rm -f
namedtmp0 namedtmp1 namedtmp2 named-symtbl2.c; fi
client.o: In function
`ns_client_error':/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin/named/client.c:1153:
undefined reference to `dns_rrl'query.o: In function
`query_find':/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin/named/query.c:5803:
undefined reference to `dns_rrl'server.o: In function
`configure_rrl':/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin/named/server.c:1595:
undefined referenc
e to `dns_rrl_init'
/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin/named/server.c:1753:
undefined reference to
`dns_rrl_view_destroy'../../lib/dns/libdns.a(view.o): In function
`destroy':/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/lib/dns/view.c:336:
undefined reference to `dns_rrl_view_destroy'collect2: ld returned 1 exit
statusmake[3]: *** [named] Error 1make[3]: Leaving directory
`/users/red/platform/red-bind-beta/BUILD/red-bind
-beta-9.9.2/bin/named'
make[2]: *** [subdirs] Error 1make[2]: Leaving directory
`/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2/bin'make[1]:
*** [subdirs] Error 1make[1]: Leaving directory
`/users/red/platform/red-bind-beta/BUILD/red-bind-beta-9.9.2'

This is happening on a ...

Red Hat Enterprise Linux Server release 6.2 (Santiago)

Any help is appreciated Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20130405/b7dad7e1/attachment.html>


More information about the bind-users mailing list