Subject: build lnx

From: [email-masked] (Joost Erik van Baal)
Date: Tue, 28 Apr 1998 10:47:03 +0200 (MET DST)

Hi,

I downloaded pine_3.96L-7. When I want to build it with the command ``build
lnx'', I get output on STDERR as you can see at the bottom of this posting.

I've read the FAQ and searched the archives, but still haven't got a clue on
how to obtain my binaries. Does anyone over here have?

				Thanks,

					Bye,

						Joost

-------------------------------------------------------------------------
mtest.o: In function `prompt':
/home/vanbaal/pine-3.96L.orig/imap/ANSI/c-client/mtest.c:460: the `gets' function is dangerous and should not be used.
c-client.a(osdep.o): In function `server_login':
/home/vanbaal/pine-3.96L.orig/imap/ANSI/c-client/log_std.c:52: undefined reference to `crypt'
make[3]: *** [mtest] Error 1
make[2]: *** [lnx] Error 2
make[1]: *** [build] Error 2
make: *** [lnx] Error 2
osdep.c: In function `errstr':
osdep.c:1341: conflicting types for `sys_errlist'
/usr/include/stdio.h:221: previous declaration of `sys_errlist'
make: *** [osdep.o] Error 1
os.c:1039: conflicting types for `sys_errlist'
/usr/include/stdio.h:221: previous declaration of `sys_errlist'
os.c: In function `post_reap':
os.c:1740: warning: passing arg 2 of `waitpid' from incompatible pointer type
make: *** [os.o] Error 1
size: bin/pine: No such file or directory
size: bin/mtest: No such file or directory
size: bin/imapd: No such file or directory
size: bin/pico: No such file or directory
size: bin/pilot: No such file or directory

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

on STDOUT I get this:

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

make args are "CC=cc "

Making c-client library, mtest and imapd
make build SYSTYPE=ANSI OS=lnx
make[1]: Entering directory `/home/vanbaal/pine-3.96L.orig/imap'
echo lnx > OSTYPE
rm -rf systype
ln -s ANSI systype
cd ANSI/c-client; make lnx
make[2]: Entering directory `/home/vanbaal/pine-3.96L.orig/imap/ANSI/c-client'
make mtest OS=lnx EXTRADRIVERS="" \
	STDPROTO=bezerkproto MAILSPOOL=/var/spool/mail \
	ACTIVEFILE=/usr/lib/news/active NEWSSPOOL=/var/spool/news \
	RSHPATH=/usr/bin/rsh CFLAGS="-g -O -DNFSKLUDGE "
make[3]: Entering directory `/home/vanbaal/pine-3.96L.orig/imap/ANSI/c-client'
./drivers  imap nntp pop3 mh tenex mtx mmdf bezerk news phile dummy
rm -f CCTYPE CFLAGS LDFLAGS osdep.h
echo cc > CCTYPE
echo -g -O -DNFSKLUDGE  > CFLAGS
echo   > LDFLAGS
ln -s os_lnx.h osdep.h
cc -g -O -DNFSKLUDGE    -c mtest.c -o mtest.o
cc -g -O -DNFSKLUDGE  -o mtest mtest.o c-client.a 
make[3]: Leaving directory `/home/vanbaal/pine-3.96L.orig/imap/ANSI/c-client'
make[2]: Leaving directory `/home/vanbaal/pine-3.96L.orig/imap/ANSI/c-client'
make[1]: Leaving directory `/home/vanbaal/pine-3.96L.orig/imap'

Making Pico and Pilot
cc -c  -g -Dlnx -DPOSIX -DJOB_CONTROL -DMOUSE osdep.c

Making Pine.
cc   -g -DDEBUG  -DLNX -DSYSTYPE=\"LNX\" -DMOUSE   -c os.c -o os.o

Links to executables are in bin directory:
Done