Skip Menu |
 

From: "W.Michael Petullo" <mike@flyn.org>
Subject: PATCH: Fix symbol collision between krb5 1.7 and uClibc
Date: Thu, 1 Oct 2009 16:43:04 -0400
To: krb5-bugs@mit.edu
I have attached a patch against krb5 1.7 that fixes a symbol collision
between krb5 and uClibc. This allows one to compile krb5 against uClibc.

Mike
Download 001-uclibc-symbol-collision-fix.patch
application/octet-stream 18.5KiB

Message body not shown because it is not plain text.

To: rt@krbdev.MIT.EDU
Subject: Re: [krbdev.mit.edu #6570] PATCH: Fix symbol collision between krb5 1.7 and uClibc
From: Tom Yu <tlyu@MIT.EDU>
Date: Fri, 02 Oct 2009 13:47:37 -0400
RT-Send-Cc:
"\"\" W.Michael Petullo \" via RT\"" <rt-comment@krbdev.mit.edu>
writes:

Show quoted text
> I have attached a patch against krb5 1.7 that fixes a symbol collision
> between krb5 and uClibc. This allows one to compile krb5 against uClibc.

Thanks. Why is there a definition of ruserpass() in uClibc? It looks
useful only to the ftp client. Should we use a system-provided copy
of ruserpass() if available? We might perform the function renaming
as an interim solution if we are going to attempt to use the system
version of the function.
Date: Sun, 11 Oct 2009 03:22:20 -0400 (EDT)
Subject: Re: [krbdev.mit.edu #6570] PATCH: Fix symbol collision between krb5 1.7 and uClibc
From: "W. Michael Petullo" <mike@flyn.org>
To: rt-comment@krbdev.mit.edu
RT-Send-Cc:
Show quoted text
>> I have attached a patch against krb5 1.7 that fixes a symbol collision
>> between krb5 and uClibc. This allows one to compile krb5 against uClibc.
>
> Thanks. Why is there a definition of ruserpass() in uClibc? It looks
> useful only to the ftp client. Should we use a system-provided copy
> of ruserpass() if available? We might perform the function renaming
> as an interim solution if we are going to attempt to use the system
> version of the function.

Here is the definition from uClibc's netdb.h:

/* ruserpass - remote password check.
This function also exists in glibc but is undocumented */
extern int ruserpass(const char *host, const char **aname, const char
**apass);

--
Mike