Subject: Problem compiling 3.89 on a sun

From: Matt Simmons <[email-masked]>
Date: Thu, 9 Dec 1993 02:14:54 -0600 (CST)

I edit out the debug flags as usual, and when I try to compile, i get the 
attached error messages.... What am I doing wrong?

Devoted    _n______________________________________________  _________________
Teri      /   \|[]|""  \    |[]|   |[]|   |[]|   |[]|    / || \    |[]|   |[]|
Polo    ,(_____|  |()_()\___|  |___|  |___|  |___|  |___/  ||  \___|  |___|  |
Fan    <_______|__|_(_)_____|__|___|__|___|__|___|__|______||______|__|___|__|
=========\   Walt Disney World Monorail System             ||
LCA  _____\________________________________________________||_________________
  __/ This highway's in perfect shape.  Quick!         Thank god I'm not a
_/ Break it so we can 'fix' it! -- IDOT Motto              F. I. P. =)

make args are "CC=cc"

Making c-client library and mtest
cc   -target sun4 -c  mtest.c
"./mail.h", line 123: syntax error at or near type word "char"
"./mail.h", line 123: unknown size
"./mail.h", line 140: syntax error at or near type word "char"
"./mail.h", line 140: unknown size
"./mail.h", line 427: syntax error at or near type word "char"
"./mail.h", line 427: unknown size
"mtest.c", line 398: body_types undefined
*** Error code 1
make: Fatal error: Command failed for target `mtest.o'

Making Imapd
cd ../c-client;make
cc   -target sun4 -c  mtest.c
"./mail.h", line 123: syntax error at or near type word "char"
"./mail.h", line 123: unknown size
"./mail.h", line 140: syntax error at or near type word "char"
"./mail.h", line 140: unknown size
"./mail.h", line 427: syntax error at or near type word "char"
"./mail.h", line 427: unknown size
"mtest.c", line 398: body_types undefined
*** Error code 1
make: Fatal error: Command failed for target `mtest.o'
Current working directory /tmp/mine/pine3.89/imap/non-ANSI/c-client
*** Error code 1
make: Fatal error: Command failed for target `C-CLIENT'

Making Pico
rm -f osdep.c
cp os_unix.c osdep.c
rm -f osdep.h
cp os_unix.h osdep.h
cc -c -Dsun -DJOB_CONTROL -ldl -O attach.c

---

From: Mark Crispin <[email-masked]>
Date: Thu, 9 Dec 1993 03:26:19 -0800 (PST)

It looks as if you may have inadvertantly edited out the -Dconst= in the
CFLAGS in the c-client makefile.sun.

Please check this.  The CFLAGS should be: -g -Dconst=

---

From: Matt Simmons <[email-masked]>
Date: Thu, 9 Dec 1993 13:36:19 -0600 (CST)

> Please check this.  The CFLAGS should be: -g -Dconst=
Yes, that's what I did... thanks...