John Guthrie - 2000-06-01

(by the way, if I am misusing this forum, please let me know)

I am trying to build xPine on a linux/intel/RedHat 6.1 system and am having trouble with the make. It looks to me like the typedef for MAILSTREAM is unresolved, so nothing compiles very well. My admittedly low-knowledge search for it myself comes up empty as well. Am I alone here in ineptitude?

Here is the start of the log, up to where it really goes apeshit with errors:
make args are CC=cc

Making c-client library, mtest and imapd
make CC=cc slx
make build EXTRACFLAGS="" EXTRALDFLAGS="" EXTRADRIVERS="mbox" EXTRAAUTHENTICATORS="" PASSWDTYPE=std GSSDIR=/usr/local OS=slx
make[1]: Entering directory `/usr/local/pine/src/imap'
Rebuilding c-client for slx...
touch c-client/EXTRASPECIALS
cd c-client;make all CC=`cat CCTYPE` CFLAGS="`cat CFLAGS`" `cat EXTRASPECIALS`
make[2]: Entering directory `/usr/local/pine/src/imap/c-client'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/pine/src/imap/c-client'
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[2]: Entering directory `/usr/local/pine/src/imap/mtest'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/pine/src/imap/mtest'
cd ipopd;make
make[2]: Entering directory `/usr/local/pine/src/imap/ipopd'
make[2]: Nothing to be done for `ipopd'.
make[2]: Leaving directory `/usr/local/pine/src/imap/ipopd'
cd imapd;make
make[2]: Entering directory `/usr/local/pine/src/imap/imapd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/pine/src/imap/imapd'
make[1]: Leaving directory `/usr/local/pine/src/imap'

Making Pico and Pilot
make CC=cc -f makefile.lnx
cc   -g -DDEBUG  -Dlnx -DJOB_CONTROL -DPOSIX -DMOUSE   -c main.c -o main.o
In file included from ../c-client/env_unix.h:42,
                 from ../c-client/osdep.h:51,
                 from os.h:43,
                 from headers.h:31,
                 from main.c:38:
../c-client/env.h:51: parse error before `*'
../c-client/env.h:51: warning: data definition has no type or storage class
In file included from ../c-client/osdep.h:51,
                 from os.h:43,
                 from headers.h:31,
                 from main.c:38:
../c-client/env_unix.h:58: parse error before `*'
../c-client/env_unix.h:58: parse error before `*'
../c-client/env_unix.h:58: warning: data definition has no type or storage class
../c-client/env_unix.h:61: parse error before `*'
In file included from ../c-client/osdep.h:54,
                 from os.h:43,
                 from headers.h:31,
                 from main.c:38: