Compilation problem in Dynix/ptx

Robert Lipe robertlipe@usa.net
Mon Dec 11 07:41:00 GMT 2000


biswapesh.chattopadhyay@bt.com wrote:

> I'm getting the following error while compiling gcc-2.95.2 (make bootstrap)
> (enable-languages="c++", uname -a='DYNIX/ptx hwcmcr1 4.0 V4.4.8 i386'):

> -c `echo ../../gcc-2.95.2/gcc/collect2.c | sed 's,^\./,,'`
> "../../gcc-2.95.2/gcc/collect2.c", line 364: undefined symbol: _sys_siglist
> "../../gcc-2.95.2/gcc/collect2.c", line 364: cannot dereference non-pointer
> type
> "../../gcc-2.95.2/gcc/collect2.c", line 364: warning: improper
> pointer/integer combination: op "="

Options:
 * define NO_SYS_SIGLIST in your config file 
 * look for a system function name strsignal() (which you probably won't have) 
   and set HAVE_STRSIGNAL
 * Graft strsignal.c from current libiberty.

Given the actual _need_ for the target functionality (realistically,
it's only used to report detail in an internal error inside collect2)
and since this is replaced in GCC3 anyway, I'd probably just stick a
NO_SYS_SIGLIST in my local copy of collect2.c and move on.

RJL


More information about the Gcc mailing list