Subject: Can't compile pine
To: None <port-mac68k@NetBSD.ORG>
From: larry kollar <lekollar@nyx.net>
List: port-mac68k
Date: 02/08/1998 22:41:40
I downloaded pine through the pkgsrc system & attempted to compile (through
the pkgsrc make).  It needs a library file, c-client.a, that just doesn't
want to work.  I tried making it on its own, and here's what I got:

(directory is .../pkgsrc/mail/pine/work/pine3.96/imap/ANSI/c-client)

======

larry: {26} make neb
make mtest OS=neb EXTRADRIVERS=""  STDPROTO=bezerkproto MAILSPOOL=/var/mail  ACTIVEFILE=/var/db/news/activ
e NEWSSPOOL=/var/news  RSHPATH=/usr/bin/rsh CFLAGS="-g -O -pipe -DNFSKLUDGE "  LDFLAGS="-lcrypt"
./drivers  imap nntp pop3 mh tenex mtx mmdf bezerk news phile dummy
rm -f CCTYPE CFLAGS LDFLAGS osdep.h
echo gcc > CCTYPE
echo -g -O -pipe -DNFSKLUDGE  > CFLAGS
echo -lcrypt  > LDFLAGS
ln -s os_neb.h osdep.h
gcc -g -O -pipe -DNFSKLUDGE   -c mail.c
gcc -g -O -pipe -DNFSKLUDGE   -c bezerk.c
gcc -g -O -pipe -DNFSKLUDGE   -c mtx.c
gcc -g -O -pipe -DNFSKLUDGE   -c tenex2.c
gcc -g -O -pipe -DNFSKLUDGE   -c mbox.c
gcc -g -O -pipe -DNFSKLUDGE   -c mh.c
gcc -g -O -pipe -DNFSKLUDGE   -c mmdf.c
gcc -g -O -pipe -DNFSKLUDGE   -c imap2.c
gcc -g -O -pipe -DNFSKLUDGE   -c pop3.c
gcc -g -O -pipe -DNFSKLUDGE   -c news.c
gcc -g -O -pipe -DNFSKLUDGE   -c nntpcunx.c
gcc -g -O -pipe -DNFSKLUDGE   -c phile.c
gcc -g -O -pipe -DNFSKLUDGE   -c dummy.c
gcc -g -O -pipe -DNFSKLUDGE   -c smtp.c
gcc -g -O -pipe -DNFSKLUDGE   -c nntp.c
gcc -g -O -pipe -DNFSKLUDGE   -c misc.c
gcc -g -O -pipe -DNFSKLUDGE  -DSTDPROTO=bezerkproto -DMAILSPOOL=\"/var/mail\"  \
-DACTIVEFILE=\"/var/db/news/active\" -DNEWSSPOOL=\"/var/news\"  -DRSH=\"rsh\" \
-DRSHPATH=\"/usr/bin/rsh\"   -c os_neb.c
mv os_neb.o osdep.o
gcc -g -O -pipe -DNFSKLUDGE   -c sm_unix.c
gcc -g -O -pipe -DNFSKLUDGE   -c newsrc.c
rm -f c-client.a
ar rc c-client.a mail.o bezerk.o mtx.o tenex2.o mbox.o mh.o mmdf.o imap2.o pop3.o  news.o nntpcunx.o phile
.o dummy.o smtp.o nntp.o rfc822.o misc.o  osdep.o sm_unix.o newsrc.o
ranlib c-client.a
gcc -g -O -pipe -DNFSKLUDGE   -c mtest.c
gcc -g -O -pipe -DNFSKLUDGE  -o mtest mtest.o c-client.a -lcrypt
ld: c-client.a: malformatted __.SYMDEF
*** Error code 1

Stop.
*** Error code 1

Stop.
larry: {27} file c-client.a
c-client.a: current ar archive random library

======

So what's a "malformatted __.SYMDEF" and how can I make it happy?

	Larry Kollar (please send responses to kollar@stc.net)