Subject: Pine compile under Solaris 2.3

From: [email-masked] (Dennis Sacks)
Date: 26 Apr 1995 17:18:28 GMT

Hi all,

I am trying to compile Pine 3.91 under solaris 2.3 with no luck.

In the actual pine directory I am running make like this:

make -f makefile.sol

cc -DSV4   -g -DDEBUG -DSYSTYPE=\"SOL\"   -c addrbook.c -o addrbook.o
"/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
make: *** [addrbook.o] Error 2

How do I get around this problem?

Dennis
[email-masked]

---

From: David L Miller <[email-masked]>
Date: Wed, 26 Apr 1995 14:31:08 -0700 (PDT)

Add "-Dconst=" to the CFLAGS in pine/makefile.sol...

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, JE-20
4545 15th Ave NE, Seattle WA 98105, USA

On 26 Apr 1995, Dennis Sacks wrote:

> Date: 26 Apr 1995 17:18:28 GMT
> From: Dennis Sacks <[email-masked]>
> To: [email-masked]
> Subject: Pine compile under Solaris 2.3
> 
> Hi all,
>

---

From: Ed Greshko <[email-masked]>
Date: Thu, 27 Apr 1995 09:31:56 -0800 (GMT)

> Add "-Dconst=" to the CFLAGS in pine/makefile.sol...

	And also make sure that /usr/opt/SUNWspro/bin appears *before*
/usr/ucb in your PATH.

					Ed