Subject: Installation problem : Solaris 2.3 gcc 2.6.0

From: [email-masked] (Jean-Frangois Stenuit)
Date: Wed, 21 Dec 1994 10:16:24 +0100

I can't get pine 3.91 compile on my unix box ... many warnings and one
fatal error on the pine program itself.

Warnings :

/usr/local/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/string.h:30
   warning: conflicting types for built-in function `memcpy´
/usr/local/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/string.h:32
   warning: conflicting types for built-in function `strcpy´
/usr/local/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/string.h:38
   warning: conflicting types for built-in function `memcmp´
/usr/local/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/string.h:39
   warning: conflicting types for built-in function `strcmp´

Error :

In file included from ../c-client/osdep.h:46,
                 from headers.h:78,
                 from addrbook.c:65:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/unistd.h:171:
   conflicting types for `rename´
/usr/local/lib/gcc-lib/sparc-sun-solaris2.3/2.6.0/include/stdio.h:117:
   previous declaration of `rename´
make: *** [addrbook.o] Error 1

Did anyone experienced the same problem (it seems it is not specific to
Pine but rather to the gcc installation, but Pine is the only program
that does not compile right out of the box)

--
Jean-François "Jef" Stenuit
Internet administrator
INterpac Belgium NV/SA