[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undefined reference to `res_search' w/ krb5 & cvs

From: Kev
Subject: Re: undefined reference to `res_search' w/ krb5 & cvs
Date: Fri, 13 Apr 2001 15:23:47 -0400

> I've installed krb5-1.2.2.tar.gz from
> In compiling cvs 1.11, I get the following error:
> gcc add.o <...> ../lib/libcvs.a ../diff/libdiff.a
> -lz -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err
> -L/usr/local/lib -lk5crypto -o cvs
> /usr/local/lib/libkrb5.a(hst_realm.o): In function `krb5_try_realm_txt_rr':
> hst_realm.o(.text+0x185): undefined reference to `res_search'
> hst_realm.o(.text+0x20f): undefined reference to `dn_expand'
> hst_realm.o(.text+0x268): undefined reference to `dn_expand'
> Does anyone know how to resolve this?

You probably need to add -lresolv to you link line--no pun intended.
Kevin L. Mitchell <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]