Kerberos- GSS-API C code issues

Ken Raeburn raeburn at MIT.EDU
Wed Jun 4 14:01:19 EDT 2008


On Jun 4, 2008, at 09:11, Tadoori (EXT), Vilas wrote:
> I have written an GSSAPI server application and the kerberos is MIT  
> V5.
> When I run my application on the sun solaris  I get the following
> message
> I have checked that the kerberos is running or not, and I see that
> kerberos is running fine.
> This code is written in C
>
> Please find the below message after running the GSS API testserver.
>
> Undefined                       first referenced
> symbol                             in file
> gss_display_status                  testserver.o
> gss_import_name                     testserver.o
> gss_release_oid                     testserver.o

[...]

This looks to me like you didn't link against the GSSAPI library.  Add  
"-lgssapi_krb5" to the compiler link command, if you didn't already.

Ken



More information about the Kerberos mailing list