Subject: Errors While Compiling Pine for Unixware 1.1.1

From: [email-masked] (justin collins)
Date: 14 Jul 1994 13:31:19 -0400

HELP ME!!!!!

I am trying to build pine for Unixware 1.1.1 and I keep getting the
following error.  I tried to find the syntax errors in the code but
even retyping it didn't work (I do know C, and I could not find 
anything wrong).

---------

        /usr/ccs/bin/cc -DSV4   -g -DDEBUG -c folder.c
UX:acomp: WARNING: "folder.c", line 1023: warning: semantics of ">" change in AN
SI C; use explicit cast
UX:acomp: ERROR: "folder.c", line 1434: newline in string literal
UX:acomp: ERROR: "folder.c", line 1435: Syntax error before or at: if
UX:acomp: ERROR: "folder.c", line 1453: Syntax error before or at: else
UX:acomp: WARNING: "folder.c", line 1455: warning: declaration missing specifier
s: assuming "int"
UX:acomp: ERROR: "folder.c", line 1455: identifier redeclared: q_status_message2
UX:acomp: WARNING: "folder.c", line 1455: warning: function prototype parameters
 must have types
UX:acomp: WARNING: "folder.c", line 1455: warning: declaration missing specifier
s: assuming "int"
UX:acomp: ERROR: "folder.c", line 1455: identifier redeclared: pretty_fn
UX:acomp: ERROR: "folder.c", line 1455: Syntax error before or at: )
UX:acomp: WARNING: "folder.c", line 1455: warning: syntax error:  empty declarat
ion
UX:acomp: ERROR: "folder.c", line 1457: Syntax error before or at: =
UX:acomp: ERROR: "folder.c", line 1457: Syntax error before or at: ->
UX:acomp: WARNING: "folder.c", line 1457: warning: parameter mismatch: 2 declare
d, 0 defined
UX:acomp: ERROR: "folder.c", line 1458: Syntax error before or at: ->
UX:acomp: WARNING: "folder.c", line 1458: warning: declaration missing specifier
s: assuming "int"
UX:acomp: ERROR: "folder.c", line 1458: identifier redeclared: folder_delete
UX:acomp: ERROR: "folder.c", line 1462: syntax error, probably missing ",", ";"
or "="
UX:acomp: ERROR: "folder.c", line 1464: undefined symbol: new_foldername
UX:acomp: ERROR: "folder.c", line 1464: undefined symbol: cntxt
UX:acomp: WARNING: "folder.c", line 1464: warning: improper pointer/integer comb
ination: arg #1
UX:acomp: WARNING: "folder.c", line 1464: warning: improper pointer/integer comb
ination: arg #2
UX:acomp: ERROR: "folder.c", line 1465: cannot recover from previous errors
*** Error code 1 (bu21)

make: fatal error.

Links to executables are in bin directory:
size: bin/pine: cannot open
bin/mtest: 145425 + 19952 + 4184 = 169561
bin/imapd: 144317 + 20288 + 12188 = 176793
bin/pico: 94161 + 25216 + 24068 = 143445
Done

-----------

any ideas?

-justin m. collins
<[email-masked]>

---

From: [email-masked] (Tom Strickland Jr)
Date: 15 Jul 1994 04:02:32 GMT

justin collins ([email-masked]) wrote:
: HELP ME!!!!!

: I am trying to build pine for Unixware 1.1.1 and I keep getting the
: following error.  I tried to find the syntax errors in the code but
: even retyping it didn't work (I do know C, and I could not find 
: anything wrong).

: any ideas?

Pine on Unixware Summary

	How to compile:

	Make the following changes to the pine/osdep/os-sv4.h file:
	1. remove the comment on  the line that has #define ANSI
	2. comment out the line that defines const (#define const ) 
	3. change the line for sendmail location to /usr/ucblib/sendmail
	4. Change the defines so that pine/pico will use TERMINFO instead
	   of TERMCAP.
	5. USE the BUILD script build sv4    trying to make pine alone
		does not work well.
	6. move the binaries and give proper permissions.

	Other Notes:
	While you are in the os-sv4.h file check to make sure this is 
	setup the way you want it. 

	I am still using the default mail setup with unixware and I did 
	make the change on page 8 of the unixware release notes (ie add -r).

	SYSTEM:  unixware version 1.1 installed from cd with SDK and 
	TCP/IP, but nothing special.  So hope this helps the others who
	sent mail and asked to report my results.

	Thanks to those a who helped!  
 
The only other note I have to add is this:  I cant remember if I used gcc 
or the SDK to compile, but I think is was SDK.  Clean the distribution 
before you compile.  I have found it best to build the entire set from 
the begining.  I think make clean will clean up for you, but I have 
compiled to many things inthe last couple weeks I cant remember.

Good luck.

BTW, gcc installs easily, you just ahve to follow all the steps.

--
<TOM>

[email-masked]

Computer advice is free.               As long as it doesn't cost anything.