Thanks, that seemed to do the trick. I made the change you suggested, did "make 
clean" in .../lib/readline, then "make", then "../../make" and it linked 
correctly. "make check" seemed OK with a few odd messages like 

warning: ..." If the tests of the
warning: process substitution mechanism fail, please do not consider
warning: this a test failure"

Thanks for the help :-))

Bill T.

-----Original Message-----
From: Chet Ramey [] 
Sent: Thursday, September 03, 2009 7:44 AM
To: Tovrea, George W (US SSA)
Subject: Re: Who handles "fails to build" problems for bash?

Tovrea, George W (US SSA) wrote:
> Tried adding each of -lcurses and -lncurses with the following results:
> /home/users/tovrea/local/sgi6/bin/ld: non-dynamic relocations refer to 
> dynamic symbol PC
> /home/users/tovrea/local/sgi6/bin/ld: failed to set dynamic section sizes: 
> Bad value
> collect2: ld returned 1 exit status

I've not seen this before, nor do I have any SGI boxes to look at, so there
will be some amount of blind shooting here.

You could try adding -DNEED_EXTERN_PC to the value of the LOCAL_CFLAGS
variable in lib/readline/Makefile and remaking terminal.o.  This changes
how PC is declared.  Then relink and see if that fixes the problem.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU

Reply via email to