Can't create Symbol Table

Vignesh Gadiyar vcgadiyar at gmail.com
Mon Jul 25 10:41:48 UTC 2011


Hi,
I have created a customized ordering similar to random and cyclic. I have
compiled named and it didn't give me any problem. But it is failing to
create symbol table for dig. I have included the prototypes in header files
but still i'm getting some error like-

export BASEOBJS="dig.o dighost.o "; \
        if [ X"/usr/bin/perl" = X -o X"${MAKE_SYMTABLE:-}" = X ] ; then
 gcc -O0 -g -I/usr/local/include -I/usr/include/libxml2  -o dig ${BASEOBJS}
${LIBS0} ../../lib/lwres/liblwres.a ../../lib/nps/libcustomapi.a
../../lib/dns/libdns.a  -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isc/libisc.a   -L/usr/local/lib
-lgsoap -lxml2; else rm -f digtmp0;    gcc -O0 -g -I/usr/local/include
-I/usr/include/libxml2  -o digtmp0 ${BASEOBJS} ${LIBS0}
../../lib/lwres/liblwres.a ../../lib/custom/libcustomapi.a
../../lib/dns/libdns.a  -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isc/libisc.a   -L/usr/local/lib
-lgsoap -lxml2 || exit 1; rm -f dig-symtbl.c dig-symtbl.o; /usr/bin/perl
../../util/mksymtbl.pl -o dig-symtbl.c digtmp0 || exit 1; make dig-symtbl.o
|| exit 1; rm -f digtmp1;    gcc -O0 -g -I/usr/local/include
-I/usr/include/libxml2  -o digtmp1 ${BASEOBJS} dig-symtbl.o ${LIBS0}
../../lib/lwres/liblwres.a ../../lib/nps/libcustomapi.a
../../lib/dns/libdns.a  -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isc/libisc-nosymtbl.a
-L/usr/local/lib -lgsoap -lxml2 || exit 1; rm -f dig-symtbl.c dig-symtbl.o;
/usr/bin/perl ../../util/mksymtbl.pl -o dig-symtbl.c digtmp1 || exit 1; make
dig-symtbl.o || exit 1;    gcc -O0 -g -I/usr/local/include
-I/usr/include/libxml2  -o digtmp2 ${BASEOBJS} dig-symtbl.o ${LIBS0}
../../lib/lwres/liblwres.a ../../lib/nps/libcustomapi.a
../../lib/dns/libdns.a  -lcrypto ../../lib/bind9/libbind9.a
../../lib/isccfg/libisccfg.a ../../lib/isc/libisc-nosymtbl.a
-L/usr/local/lib -lgsoap -lxml2; /usr/bin/perl ../../util/mksymtbl.pl -o
dig-symtbl2.c digtmp2; diff dig-symtbl.c dig-symtbl2.c || exit 1; mv digtmp2
dig; rm -f digtmp0 digtmp1 digtmp2 dig-symtbl2.c; fi
../../lib/dns/libdns.a(rdataset.o): In function `towiresorted':
/home/user1r/bind-9.8.0-P2/lib/dns/rdataset.c:500: undefined reference to
`custom_order_api'
collect2: ld returned 1 exit status
make[2]: *** [dig] Error 1
make[2]: Leaving directory `/home/user1/bind-9.8.0-P2/bin/dig'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/user1/bind-9.8.0-P2/bin'
make: *** [subdirs] Error 1

Any help as to what might be the problem here would be great..

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20110725/173f4c71/attachment.html>


More information about the bind-users mailing list