Subject: Building Pine 3.91 on an ICL DRS6000

From: Tim Simpson <[email-masked]>
Date: Fri, 18 Aug 1995 16:33:23 GMT

Has anyone built pine 3.91 on an ICL DRS6000.

I am using the makefile makefile.sv4

but as I soon as I try and make pine it fails with a fatal error.

here is an extract from the build

# cd pine                                                         
# make -f makefile.sv4                                   
     cc -DSV4 -O   -DSYSTYPE=\"SV4\" -c addrbook.c   
     "/usr/include/stdlib.h", line 94: identifier redeclared: system  
     "/usr/include/unistd.h", line 121: identifier redeclared: rename     
     "addrbook.c", line 7465: warning: semantics of ">" change in ANSI 
        C; use explicit cast                                            

 *** Error code 1 (bu21)                   
                                                                        
 make: fatal error.        
                                                      
has anybody got any ideas as to what the problem is ?

-- 

best wishes

Tim
_______________________________________________________________________
Tim Simpson                                Dundee City Council Scotland
Email  [email-masked]                Tel:   +44 (0)1382 434164 
http://metro.turnpike.net/tim/index.html
All views expressed are my own not my employers

---

From: Ed Greshko <[email-masked]>
Date: Sat, 19 Aug 1995 08:13:13 +0800 (GMT)

> has anybody got any ideas as to what the problem is ?

	Try adding -Dconst= to the CFLAGS= line of the makefile.  A similar
error occurs when building for Solaris and this fixes it.

Edward M. Greshko                       Technical Manager, Electronic Commerce
                                        Control Data Asia/Pacific Region
Voice: +886-2-715-2222 x287             6/F, 131 Nanking East Road, Section 3
FAX  : +886-2-712-9197                  Taipei, Taiwan R.O.C

---

From: [email-masked] (Malcolm Mladenovic)
Date: Sat, 19 Aug 1995 15:59:24 GMT

>has anybody got any ideas as to what the problem is ?

In my experience this is usually caused by the program having declarations
for these functions that do not match the prototype in the system header
files.  Try grep'ing for them in the .h files and/or the addrbook.c file
itself.  (I've never built pine myself so I can't be very sure about this.)

-Malcolm

[usual disclaimer applies - I do not speak for my employer]

---

From: Tim Simpson <[email-masked]>
Date: Mon, 21 Aug 1995 10:35:44 GMT

Thanks to all who replied.

Solution was to add -Dconst= to the definition of the CFLAGS line

it then compiles easily
-- 

best wishes

Tim