Subject: Re: smap / yao-patch

From: Rick Murphy <[email-masked]>
Date: Tue, 05 Sep 2000 16:53:04 -0400

[To be removed from this list send the message "unsubscribe fwtk-users" in the
BODY of a mail message to [email-masked].]

At 03:17 PM 9/5/00 +0200, Matthias Bormann wrote:
>I tried to apply the yao-patch to smap, but
>compiling and linking result in the following error:
>
>cc -g -static -lresolv -o smap smap.o arpadate.o ../libfwall.a -lcrypt
>smap.o: In function `from_address_ok':
>/usr/local/src/fwtk/smap/smap.c:2054: undefined reference to `res_query'
>/usr/local/src/fwtk/smap/smap.c:2054: undefined reference to `res_query'

res_* routines are in libresolv. Move the '-lresolv' to the end of the "cc" 
line; the way you have it, it's probably not being searched.
         -Rick