[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pile compile problem



Thanks for the help,

I have checked the build depends and from what i can tell everything
is there...checked with apt-get build-dep pine as you pointed out.

Sorry for the somewhat large mail because of the log but this seemed
better than sending it as an attachment.
there seems to be a problem with some pointers but i'm not sure
if those are responsible for the whole thing failing

Cheers,
Willem


./build "'SSLTYPE=unix'" CC="gcc" BASECFLAGS="-O2" \
        OPTIMIZE="-O2" DEBUG="-g" \
        LDAPLIBS="-lldap -llber" slx
make args are ''SSLTYPE=unix'' 'CC=gcc' 'BASECFLAGS=-O2' 'OPTIMIZE=-O2' 'DEBUG=-g' 'LDAPLIBS=-lldap -llber' slx

Including LDAP functionality
Making c-client library, imapd, and ipopd
eval make SSLTYPE=unix CC=gcc BASECFLAGS=-O2 OPTIMIZE=-O2 DEBUG=-g LDAPLIBS=-lldap -llber SPECIALS= slx
make[1]: Entering directory `/usr/src/pine-4.44/imap'
Applying an process to sources...
tools/an "ln -s" src/c-client c-client
tools/an "ln -s" src/ansilib c-client
tools/an "ln -s" src/charset c-client
tools/an "ln -s" src/osdep/unix c-client
tools/an "ln -s" src/mtest mtest
tools/an "ln -s" src/ipopd ipopd
tools/an "ln -s" src/imapd imapd
ln -s tools/an .
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix EXTRASPECIALS='' BUILDTYPE=slx
make[2]: Entering directory `/usr/src/pine-4.44/imap'
Building c-client for slx...
echo `cat SPECIALS`  > c-client/SPECIALS
cd c-client;make slx EXTRACFLAGS=''\
 EXTRALDFLAGS=''\
 EXTRADRIVERS='mbox'\
 EXTRAAUTHENTICATORS=''\
 PASSWDTYPE=std SSLTYPE=unix\

make[3]: Entering directory `/usr/src/pine-4.44/imap/c-client'
You are building for libc6/glibc versions of Secure Linux
If you want libc5 versions you must use sl5 instead!
If you want libc4 versions you must use sl4 instead!
make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix `cat SPECIALS` OS=slx \
 SIGTYPE=psx CHECKPW=psx CRXTYPE=nfs \
 SPOOLDIR=/var/spool \
 ACTIVEFILE=/var/lib/news/active \
 RSHPATH=/usr/bin/rsh \
#       BASECFLAGS="-g -fno-omit-frame-pointer -O6" \
 BASELDFLAGS="-lcrypt"
make[4]: Entering directory `/usr/src/pine-4.44/imap/c-client'
sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo gcc > CCTYPE
echo -O2 '' > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \
 -DMAILSPOOL=\"/var/mail\" \
 -DANONYMOUSHOME=\"/var/mail/anonymous\" \
 -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \
 -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/etc/mlock\" > OSCFLAGS
echo   > LDFLAGS
echo "ar rc c-client.a mail.o misc.o newsrc.o smanager.o osdep.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o maildir.o privs.o;ranlib c-client.a" > ARCHIVE ./drivers mbox maildir imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy
./mkauths  md5 pla log
make[5]: Entering directory `/usr/src/pine-4.44/imap/c-client'
echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS
make[5]: Leaving directory `/usr/src/pine-4.44/imap/c-client'
ln -s os_slx.h osdep.h
ln -s os_slx.c osdepbas.c
ln -s log_std.c osdeplog.c
ln -s sig_psx.c siglocal.c
ln -s crx_nfs.c crexcl.c
sh -c '(test -f /usr/include/sys/statvfs.h -a slx != sc5 -a slx != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c'
Standard password authentication
ln -s ckp_psx.c osdepckp.c
Building with SSL
ln -s ssl_unix.c osdepssl.c
echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/etc/ssl/certs\" >> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/lib -lssl -lcrypto  >> LDFLAGS
cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c
`cat CCTYPE` -c `cat CFLAGS` mail.c
`cat CCTYPE` -c `cat CFLAGS` misc.c
`cat CCTYPE` -c `cat CFLAGS` newsrc.c
`cat CCTYPE` -c `cat CFLAGS` smanager.c
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
`cat CCTYPE` -c `cat CFLAGS` utf8.c
`cat CCTYPE` -c `cat CFLAGS` siglocal.c
`cat CCTYPE` -c `cat CFLAGS` dummy.c
`cat CCTYPE` -c `cat CFLAGS` pseudo.c
`cat CCTYPE` -c `cat CFLAGS` netmsg.c
`cat CCTYPE` -c `cat CFLAGS` flstring.c
`cat CCTYPE` -c `cat CFLAGS` fdstring.c
`cat CCTYPE` -c `cat CFLAGS` rfc822.c
`cat CCTYPE` -c `cat CFLAGS` nntp.c
`cat CCTYPE` -c `cat CFLAGS` smtp.c
`cat CCTYPE` -c `cat CFLAGS` imap4r1.c
`cat CCTYPE` -c `cat CFLAGS` pop3.c
`cat CCTYPE` -c `cat CFLAGS` unix.c
`cat CCTYPE` -c `cat CFLAGS` mbox.c
`cat CCTYPE` -c `cat CFLAGS` mbx.c
`cat CCTYPE` -c `cat CFLAGS` mmdf.c
`cat CCTYPE` -c `cat CFLAGS` tenex.c
`cat CCTYPE` -c `cat CFLAGS` mtx.c
`cat CCTYPE` -c `cat CFLAGS` news.c
news.c: In function `news_open':
news.c:300: warning: passing arg 3 of `scandir' from incompatible pointer type
`cat CCTYPE` -c `cat CFLAGS` phile.c
`cat CCTYPE` -c `cat CFLAGS` mh.c
mh.c: In function `mh_ping':
mh.c:639: warning: passing arg 3 of `scandir' from incompatible pointer type
mh.c: In function `mh_append':
mh.c:896: warning: passing arg 3 of `scandir' from incompatible pointer type
`cat CCTYPE` -c `cat CFLAGS` mx.c
mx.c: In function `mx_ping':
mx.c:582: warning: passing arg 3 of `scandir' from incompatible pointer type
`cat CCTYPE` -c `cat CFLAGS` maildir.c
maildir.c: In function `maildir_ping_core':
maildir.c:354: warning: passing arg 3 of `scandir' from incompatible pointer type maildir.c:354: warning: passing arg 4 of `scandir' from incompatible pointer type
maildir.c:417: warning: assignment makes pointer from integer without a cast
maildir.c: In function `maildir_flagmsg':
maildir.c:916: warning: assignment makes pointer from integer without a cast
`cat CCTYPE` -c `cat CFLAGS` privs.c
sh -c 'rm -rf c-client.a || true'
ar rc c-client.a mail.o misc.o newsrc.o smanager.o osdep.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbox.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o maildir.o privs.o;ranlib c-client.a
make[4]: Leaving directory `/usr/src/pine-4.44/imap/c-client'
make[3]: Leaving directory `/usr/src/pine-4.44/imap/c-client'
echo slx > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
make[3]: Entering directory `/usr/src/pine-4.44/imap/mtest'
gcc -I../c-client `cat ../c-client/CFLAGS`   -c -o mtest.o mtest.c
gcc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
../c-client/c-client.a(osdep.o)(.text+0x74bf): In function `ssl_onceonlyinit':
: the use of `tmpnam' is dangerous, better use `mkstemp'
mtest.o(.text+0x190a): In function `smtptest':
: the `gets' function is dangerous and should not be used.
../c-client/c-client.a(osdep.o)(.text+0x72de): In function `checkpw':
: undefined reference to `crypt'
../c-client/c-client.a(osdep.o)(.text+0x7398): In function `checkpw':
: undefined reference to `crypt'
collect2: ld returned 1 exit status
make[3]: *** [mtest] Error 1
make[3]: Leaving directory `/usr/src/pine-4.44/imap/mtest'
make[2]: *** [bundled] Error 2
make[2]: Leaving directory `/usr/src/pine-4.44/imap'
make[1]: *** [slx] Error 2
make[1]: Leaving directory `/usr/src/pine-4.44/imap'
make: *** [build-all] Error 2
E: Building failed
PCWILLEM:/usr/src# exit
Script done on Thu Jan 16 15:43:29 2003


At 08:53 16-1-2003 -0500, you wrote:
It's actually the lines right before what's shown that would be most
helpful.  If you can reproduce the error, please post again starting
a little higher.

You may want to check that you have all the Buil-Depends installed for
pine before waiting for another failed compile, and you can do this the
easy way:
apt-get build-dep pine

HTH,



Reply to: