Subject: Error compiling with sv4...

From: Matt Simmons <[email-masked]>
Date: Wed, 3 Nov 1993 03:14:00 -0600 (CST)

I tried compiling pine under sv4, and all was well, until it tried to 
compile pine itself...  I got the following error: 

	cc -O pine.c -o pine 
"/usr/include/stdlib.h", line 66: identifier redeclared: system
"/usr/include/unistd.h", line 154: identifier redeclared: rename
"./../c-client/osdep.h", line 108: warning: identifier redeclared: gethostid
"pine.c", line 1915: warning: semantics of ">" change in ANSI C; use explicit cast
*** Error code 1 (bu21)

make: fatal error.

The only changes made to makefile.sv4 were to comment out the entire 
DEBUG line and to uncomment the optimize line... These changes worked for 
the sunos version of pine, so I didn't think there'd be a problem with 
sv4 pine...

---

From: Ross Wakelin <[email-masked]>
Date: Mon, 8 Nov 1993 10:58:30 +0000 (GMT)

> the sunos version of pine, so I didn't think there'd be a problem with 
This is because of a small confusion about what the sv4 port of pine 
really is... its a sv4.2 port.  The sv4 port as distributed with 3.84 is 
a port to sv4.2, tested on several vendors and architectures.  The 
straight sv4 port was done on 3.84 (oh so long ago now :)), and needed 
some hacking to the order of header files etc, so the patches were REALLY 
long.  We decided to move straight to sv4.2, and also cover solaris, and 
hope that most people with ordinary sv4.0 would migrate forward in the 
fullness of time.  There are two or three hacks that must be done to the 
"sv4" port to make it work on 4.0.  Do you want the list?

Cheers.

Ross Wakelin                                        [email-masked]
Open Systems Director                  or ..mcsun!uknet!uknet!march!rossw 
March Systems Consultancy Ltd 		+44 734 845 399