Compile problem on linux
Barbour, Scott Alan TSgt
BarbourS at usfk.korea.army.mil
Tue Nov 30 01:33:52 UTC 1999
I fixed this by adding in yacc (or byacc or bison) and lex (or flex). After
that I compiled it and it worked fine. The information is contained in the
INSTALL readme file in the src directory.
-----Original Message-----
From: Mark_Andrews at iengines.com
[mailto:Mark_Andrews at iengines.com]
Sent: Tuesday, November 30, 1999 9:37 AM
To: Holger van Koll
Cc: bind-users at isc.org
Subject: Re: Compile problem on linux
Find the first error.
> Bind 8.2.2 , Patchlevel 5 compiles on RedHat linux 5.1/5.2
(upgraded to
> kernel 2.2.13) fine,
> but on RedHat 6.0/6.1 (2.2.13) I get the following error:
>
> gcc -O -g -I../../port/linux/include -I../../include
> -D_PATH_HELPFILE=\"/usr/lib/nslookup.help\" -c subr.c -o
subr.o
> gcc -O -g -I../../port/linux/include -I../../include
> -D_PATH_HELPFILE=\"/usr/lib/nslookup.help\" -c
commands.c -o
> commands.o
> gcc -O -g -o nslookup main.o getinfo.o debug.o send.o
skip.o list.o
> subr.o commands.o \
> ../../lib/libbind.a -lfl
> ../../lib/libbind.a(ns_print.o): In function
`__ns_sprintrrf':
> /root/sw/src/lib/nameser/ns_print.c:458: undefined
reference to
> `__b64_ntop'
> /root/sw/src/lib/nameser/ns_print.c:519: undefined
reference to
> `__b64_ntop'
> ../../lib/libbind.a(lcl_nw.o): In function `nw_byaddr':
> /root/sw/src/lib/irs/lcl_nw.c:154: undefined reference to
`__bitncmp'
> collect2: ld returned 1 exit status
> make[2]: *** [nslookup] Error 1
> make[2]: Leaving directory `/root/sw/src/bin/nslookup'
> make[1]: *** [nslookup] Error 2
> make[1]: Leaving directory `/root/sw/src/bin'
> make: *** [all] Error 2
>
>
> Any hints? Thx a lot...
>
--
Mark Andrews, Internet Engines Inc. / Internet Software
Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET:
Mark_Andrews at iengines.com
More information about the bind-users
mailing list