Gerhard Niklasch on Mon, 6 Aug 2001 21:10:54 +0200 (MET DST)


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

Re: Build error with gcc


In response to:
> Message-ID: <20010806140937.A4948@math.ohio-state.edu>
> Date: Mon, 6 Aug 2001 14:09:37 -0400
> From: Ilya Zakharevich <ilya@math.ohio-state.edu>
> To: Developers Pari <pari-dev@list.cr.yp.to>
> 
> In MPIM-Bonn: gp would not build without CC=cc.  Here are the messages:

(wrapping a long line for legibility)

> In file included from /usr/local/GNU/lib/gcc-lib/\
> sparc-sun-solaris2.5/2.7.2/include/time.h:90,
  ^^^^^^^^^^^^^^^^^^^^--- this is a smoking gun...
>                  from /usr/include/sys/time.h:410,

This is a mis-installed or mis-configured gcc.  It pulls in header
files which are utterly inappropriate for Solaris 7 or newer,
thus overriding some needed stuff from the real Sol.8 header files.

Get a recent gcc from sunfreeware.com, pre-built and packaged
for Solaris 8.

(I have seen this particular combination of errors before --
the others are a consequence of earlier definitions missing
because the wrong time.h had been read and the right time.h
subsequently believed it had _already_ been read.  It has
nothing to do with PARI sources in particular.)

Cheers, Gerhard