please help me
rra at stanford.edu
Wed Oct 11 18:32:20 EDT 2006
abhijit mitra <abhijit_kly at yahoo.co.in> writes:
> Now during compilation I am getting the following error :
> The command
> #gcc -I /root/abhijit/MIT/krb5-1.5.1/src/lib/ -I /root/abhijit/MIT/krb5-1.5.1/src/include/ test.c
> /tmp/ccNvdLy7.o(.text+0x4d): In function `main':
> : undefined reference to `kadm5_init'
> /tmp/ccNvdLy7.o(.text+0x81): In function `main':
> : undefined reference to `com_err'
> /tmp/ccNvdLy7.o(.text+0xaf): In function `main':
> : undefined reference to `kadm5_destroy'
> collect2: ld returned 1 exit status
> What I have done wrong ?
You haven't linked with any libraries. You're also using an interface
(kadm5_*) which is not a public interface, so what you're doing is not
really supported in general.
This question is not about Kerberos development, but rather is about using
Kerberos, and therefore is probably better directed to kerberos at mit.edu.
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the krbdev