Subject: Compile Problem on Dynix V3.2.0

From: Henry Kuo <[email-masked]>
Date: Sat, 12 Feb 1994 21:54:49 -0800 (PST)

Hi! Everyone:

I got some compile problem on Dynix V3.2.0.  I don't know how to correct
them.  I hope I can get some help!  Thanks!!

----------------------------------------------------

make args are "CC=cc"

Making c-client library and mtest
`mtest' is up to date.

Making Imapd
	cd ../c-client;make
`mtest' is up to date.
	cc -I../c-client `cat ../c-client/CFLAGS` -o imapd imapd.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`

Making Pico

Making Pine.
	cc -DDYN -O   -c addrbook.c &13946
	cc -DDYN -O   -c addrutil.c &13948
	cc -DDYN -O   -c adrbklib.c &13950

13948: *** Error code 1

13946: *** Error code 1

13950: *** Error code 1

Links to executables are in bin directory:
size: bin/pine not found
text	data	bss	dec	hex
221184	32768	13364	267316	41434	bin/mtest
212992	32768	21524	267284	41414	bin/imapd
131072	28672	20668	180412	2c0bc	bin/pico
Done

---

From: Jim Davis <[email-masked]>
Date: Sun, 13 Feb 1994 10:15:24 -0700 (MST)

> them.  I hope I can get some help!  Thanks!!

There were a lot of compilation problems when I tried building 3.89 on our
3.2.0 system.  Since 3.07 (or thereabouts) compiled and ran fine I assume
that 3.89 should be okay without too much work.  I was hoping to have done
it myself by now, but for my sins I've been stuck with Solaris support and
haven't had time to work on it. 
--
Jim Davis               | "He can eat an entire case of pudding cups."
[email-masked]   |   -- Clifford Spleenhurfer

---

From: Henry Kuo <[email-masked]>
Date: Sun, 13 Feb 1994 10:51:33 -0800 (PST)

> haven't had time to work on it. 

I don't have problem to get imapd, mtest, and pico.  I got my first
compile error on pine.  I added /usr/types.h in os-dyn.h and the program
ran thourgh.  Then the  second problem is the fpos_t was undefined.  I
added typedef unsigned long fpos_t; in the source which needed this variable.
Afterwards, I got something like redeclaration of formal parameter, ptr. I
don't quite understand that.  Finally I gave up! I hope some one  could
give me a hand.

-------------------------------------------------------------
Making c-client library and mtest
`mtest' is up to date.

Making Imapd
cd ../c-client;make
`mtest' is up to date.

Making Pico

Making Pine.
cc -DDYN -O   -c os.c &22592
"os.c", line 615: warning: illegal pointer combination, op =
"os.c", line 644: warning: illegal pointer/integer combination, op =
"os.c", line 680: warning: illegal pointer combination, op =
"os.c", line 1181: syntax error
"os.c", line 1183: redeclaration of formal parameter, ptr
"os.c", line 1183: incomplete or misplaced function definition
"os.c", line 1184: syntax error
"os.c", line 1190: redeclaration of formal parameter, stream
"os.c", line 1190: redeclaration of formal parameter, ptr
"os.c", line 1192: syntax error
"os.c", line 1194: redeclaration of formal parameter, ptr
"os.c", line 1194: incomplete or misplaced function definition
"os.c", line 1195: syntax error

22592: *** Error code 1
Make: .  Stop.