[uClibc]libresolv ?

arne @ loopback . org arne at matrix.loopback.org
Mon Nov 26 18:18:45 UTC 2001


Hi,

i am trying to compile freeswan, and it looks o.k. for the start except that
it tries to link libresolv and that fails (the libresolv from uClibc is
only a dummy, isn't it?).

so what should i do??

here is my output:
cc -o pluto  connections.o constants.o cookie.o crypto.o defs.o log.o
state.o main.o server.o timer.o id.o ipsec_doi.o kernel.o kernel_comm.o
demux.o packet.o preshared.o dnskey.o rnd.o spdb.o sha1.o md5.o
../lib/libdes.a ../lib/libfreeswan.a -lgmp -lresolv
dnskey.o: In function 	nit_dns':
/usr/src/router/freeswan-1.92/pluto/dnskey.c:391: undefined reference to '_res_ninit'
dnskey.o: In function o_dns_query':
/usr/src/router/freeswan-1.92/pluto/dnskey.c:1051: undefined reference to '_res_nquery'
/usr/src/router/freeswan-1.92/pluto/dnskey.c:1067: undefined reference to 'hstrerror'
collect2: ld returned 1 exit status
make[1]: *** [pluto] Error 1                           

best regards,
-- arne





More information about the uClibc mailing list