[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Readline Problem

From: Chet Ramey
Subject: Re: GNU Readline Problem
Date: Wed, 30 Jan 2002 08:29:53 -0500

> Rob <address@hidden> wrote:
> > I'm running Gcc 2.95.3 and Gnu ld 2.11.2 in a Solaris 8 x86 environment.
> > I'm building this because Amanda backup package requires it.
> >
> > Gcc has successfully built shared libraries previously without problem.
> > Recently however I built readline and during the compile it complained
> Readline problems should be reported on news:gnu.bash.bug
> (address@hidden).  (Mail-)Folloup-To set.
> > about the following:
> > gcc -shared -Wl,-i -Wl,-h,libreadline.so.4  -o libreadline.so.4
> > readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so
> > complete.so bind.so isearch.so display.so signals.so util.so kill.so
> > undo.so macro.so input.so callback.so terminal.so nls.so xmalloc.so
> > history.so histexpand.so histfile.so histsearch.so shell.so tilde.so
> > compat.so 
> > /opt/langtools/bin/ld: -r and -shared may not be used together

The existing solaris stanza in support/shobj-conf (sunos5*-*gcc*)
assumes that you're using the solaris linker (/usr/ccs/bin/ld).  If
you're using gnu ld, change the assignment to SHOBJ_LDFLAGS like this:

SHOBJ_LDFLAGS='-shared -Wl,-h,$@'


``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet)

Chet Ramey, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]