This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compilation problem in Dynix/ptx


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]