[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 5 13:51:08 2003 
Subject:Re: Problem installing PopLog on RedHat 9 - error in linking 
From:Joe Wood 
Volume-ID:1030505.01 

Hi,

After some digging, the error message is generated by lib/ld-linux.XXX

and appears to come from the use of ERRNO in $popsrc/devio.p, which in turn
uses the macro ERRNO defined in $popsrc/unixdefs.ph, and that uses _extern
defined in syspop.p

I'm guessing that something we link to for pop-11 uses a thread library and
the linker sets some kind of flag.

A possible (quick and dirty) workaround to satisfy the linker and others...

1/ in external/lib put pop-11 errno, with suitable get and set routines to
read a thread local errno.
2/ Modify the macro(s) in unixdefs to invoke the get/set as needed to read
errno from where ever the thread local copy was.

Just my penny's worth
Joe