[29929] in Kerberos
Re: Kerberos- GSS-API C code issues
daemon@ATHENA.MIT.EDU (Ken Raeburn)
Wed Jun 4 14:01:41 2008
From: Ken Raeburn <raeburn@mit.edu>
To: "Tadoori (EXT), Vilas" <vilas.tadoori.ext@siemens.com>
In-Reply-To: <0419C2808E620348A3119DCCE2A7A6950721D1B8@USCIMPLM004.net.plm.eds.com>
Message-Id: <D148687C-4592-4DB7-A9DB-EDD52A60F31D@mit.edu>
Mime-Version: 1.0 (Apple Message framework v924)
Date: Wed, 4 Jun 2008 14:01:19 -0400
Cc: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
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
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos