List Info

Thread: Re: AIX: readline fails




Re: AIX: readline fails
user name
2007-03-29 11:20:27
Fabian,


> > ld: 0711-317 ERROR: Undefined symbol: eff_uid
>
> Ok, can you trace down which file/line this comes
from?

Sure:

$ grep -R "eff_uid" *
examples/rlfe/pty.c:extern int eff_uid;
examples/rlfe/pty.c:  if (eff_uid && access(TtyName,
R_OK | W_OK))
examples/rlfe/pty.c:      if (eff_uid &&
access(TtyName, R_OK | W_OK))

Looks to be just in the examples code.  Which is why not
compiling
those allows readline to install.

> between the various platforms.  One of the goals of
Prefix is to have an
> as identical as possible (functional) environment on
every platform.

Yeah, I see that.  Ideally that's what I'd like is to get
everything
to install on AIX with as little hacking as possible too



>
> --
> gentoo-altgentoo.org mailing list
>
>


-- 
Marshall McMullen
marshall.mcmullengmail.com
mjmcmullengmail.net
mdmcmullenus.ibm.com

In France, there's a popular saying about Linux that
essentially translates as:
"Linux? You can get a less powerful system, but it will
cost you more."
-- 
gentoo-altgentoo.org mailing list


Re: AIX: readline fails
country flaguser name
Netherlands
2007-03-29 12:24:48
On 29-03-2007 11:20:27 -0500, Marshall McMullen wrote:
> Fabian,
> 
> 
> >> ld: 0711-317 ERROR: Undefined symbol: eff_uid
> >
> >Ok, can you trace down which file/line this comes
from?
> 
> Sure:
> 
> $ grep -R "eff_uid" *
> examples/rlfe/pty.c:extern int eff_uid;

So it's trying to import this symbol from somewhere else.  I
think the
AIX linker is the first here to come to the conclusion that
it doesn't
know where from.

Can you try the attached patch?  It works at least on
Darwin, and I
guess on AIX it should too.  If not, can you give me the
head of man
getuid on your AIX box?


-- 
Fabian Groffen
Gentoo on a different level

  
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )