compilation error 9.4.1 (
Mark Andrews
Mark_Andrews at isc.org
Fri Jun 8 03:23:36 UTC 2007
> At 9:21 +1000 6/7/07, Mark Andrews wrote:
>
> > -L create a search list. What other -L's are the on the
> > command line?
>
> None.
>
> Here's the command line:
>
> gcc -g -O2 -o named \
> 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
> 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 ../../lib/lwres/liblwres.a ../../lib/dns/libdns.a
> -L/usr/local/ssl/lib -lcrypto ../../lib/bind9/libbind9.a
> ../../lib/isccfg/libisccfg.a ../../lib/isccc/libisccc.a
> ../../lib/isc/libisc.a
>
> /usr/bin/ld: Undefined symbols:
> _DH_generate_parameters_ex
> _DSA_generate_parameters_ex
> _RSA_generate_key_ex
> collect2: ld returned 1 exit status
> make[2]: *** [named] Error 1
> make[1]: *** [subdirs] Error 1
> make: *** [subdirs] Error 1
Take the above command. Add -v and run it. I suspect gcc
is adding -L /opt/local/lib and/or you didn't build a shared
version of the library and the linker finds the old shared
version.
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Edward Lewis +1-571-434-5468
> NeuStar
>
> Sarcasm doesn't scale.
--
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews at isc.org
More information about the bind-users
mailing list