Subject: Problem with Solaris make

From: "Nancy E. Worth" <[email-masked]>
Date: Mon, 21 Nov 1994 20:48:19 -0500

Several people got me straightened out with the missing characters on
foldernames, by making sure I wasn't compiling with /usr/ucb/cc.  Now pine
won't compile at all with /opt/SUNWspro/bin/cc.  Anyone have a fix for this?

PATH=/usr/bin:/usr/openwin/bin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/sbin:/etc

cc -DSV4   -g -DDEBUG -DSYSTYPE=\"SOL\"  -c  addrbook.c
"/usr/include/unistd.h", line 171: identifier redeclared: rename
        current : function(pointer to char, pointer to char) returning int
        previous: function(pointer to const char, pointer to const char) returning int : "/usr/include/stdio.h", line 112
"addrbook.c", line 3954: cannot recover from previous errors
cc: acomp failed for addrbook.c
*** Error code 2
make: Fatal error: Command failed for target `addrbook.o'
 
(I am in the process of moving from a VAX/VMS system to unix, so my unix
is not that great yet.)
Thanks again,
Nancy.
--
Nancy E. Worth    [email-masked]  &  postmaster   (416)978-7557
Computing Support Division, Faculty of Medicine, University of Toronto
Standard Disclaimers...                        "I'm for Sail" "Fly a Hobie!"

---

From: Ed Greshko <[email-masked]>
Date: Tue, 22 Nov 1994 10:42:26 -0800 (GMT)

> make: Fatal error: Command failed for target `addrbook.o'

	In the pine directory, edit the CFLAGS line of makefile.sol to
read:

CFLAGS= -DSV4 $(OPTIMIZE) $(PROFILE) $(DEBUG) -DSYSTYPE=\"SOL\" -Dconst=

					Ed