Thousands of assembly-code errors trying to build pine
Timur Tabi <[email protected]>
| Newsgroups | gmane.mail.pine.general |
|---|---|
| Organization | Freescale |
| Message-ID | <[email protected]> |
I just downloaded pine, and I'm trying to build it, but I'm getting thousands of assembly-code errors. All I'm really interested in is pico, but I know I need to build it all first. ld0169-tx32$ ./build lrh make args are CC=cc lrh /usr/lib/libldap.so not found File /usr/share/ssl/certs/factory.pem is missing This might indicate that CA certs did not get properly installed. If you get certificate validation failures in Pine, this might be the reason for them. Including SSL functionality Making c-client library, imapd, and ipopd eval make CC=cc SSLTYPE=nopwd SPECIALS=SSLDIR=/usr/share/ssl lrh make sslnopwd make[1]: Entering directory `/home/b04825/Install/pine4.64/imap' make[1]: `sslnopwd' is up to date. make[1]: Leaving directory `/home/b04825/Install/pine4.64/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 tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=lnp \ SPECIALS="GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock" \ EXTRACFLAGS=" -I/usr/kerberos/include" make[1]: Entering directory `/home/b04825/Install/pine4.64/imap' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-I/usr/kerberos/include'\ EXTRALDFLAGS=''\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=nopwd IP=4\ GSSDIR=/usr/kerberos SSLDIR=/usr/share/ssl SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib LOCKPGM=/usr/sbin/mlock make[2]: Entering directory `/home/b04825/Install/pine4.64/imap/c-client' make build EXTRACFLAGS='-I/usr/kerberos/include' EXTRALDFLAGS='' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 `cat SPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -fno-omit-frame-pointer -O2" \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory `/home/b04825/Install/pine4.64/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 cc > CCTYPE echo -g -fno-omit-frame-pointer -O2 '-I/usr/kerberos/include' > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMAILSPOOL=\"/var/spool/mail\" \ -DANONYMOUSHOME=\"/var/spool/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"/usr/sbin/mlock\" > OSCFLAGS echo -lpam -ldl > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.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 mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE echo lnx > OSTYPE ./drivers mbox imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy ./mkauths md5 pla log make[4]: Entering directory `/home/b04825/Install/pine4.64/imap/c-client' echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS make[4]: Leaving directory `/home/b04825/Install/pine4.64/imap/c-client' ln -s os_lnx.h osdep.h ln -s os_lnx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip4_unix.c ip_unix.c sh -c '(test -f /usr/include/sys/statvfs.h -a lnx != sc5 -a lnx != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c' Standard password authentication ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/openssl -DSSL_CERT_DIRECTORY=\"/usr/share/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/usr/share/ssl/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from osdep.c:41: env_unix.c: In function `mm_blocknotify': env_unix.c:1631: warning: cast to pointer from integer of different size env_unix.c:1634: warning: cast from pointer to integer of different size env_unix.c:1634: warning: cast from pointer to integer of different size /tmp/ccbtcIZC.s: Assembler messages: /tmp/ccbtcIZC.s:21: Error: suffix or operands invalid for `push' /tmp/ccbtcIZC.s:28: Error: suffix or operands invalid for `movq' /tmp/ccbtcIZC.s:32: Error: `-24(%rbp)' is not a valid 32 bit base/index expression /tmp/ccbtcIZC.s:34: Error: suffix or operands invalid for `movq' /tmp/ccbtcIZC.s:38: Error: bad register name `%r12' /tmp/ccbtcIZC.s:40: Error: bad register name `%r13' /tmp/ccbtcIZC.s:44: Error: bad register name `%r12' /tmp/ccbtcIZC.s:54: Error: bad register name `%r13' /tmp/ccbtcIZC.s:60: Error: suffix or operands invalid for `movq' /tmp/ccbtcIZC.s:65: Error: bad register name `%r13' /tmp/ccbtcIZC.s:67: Error: bad register name `%r12' ... followed by thousands more lines like these. uname -a says: Linux ld0169-tx32 2.4.21-32.EL #1 Fri Apr 15 21:18:42 EDT 2005 x86_64 unknown I know I have a build environment, because I was able to build a simple hello-world program. However, I am using a new computer that I did not configure, and I don't have root access, so I might be missing some package. _______________________________________________ Pine-info mailing list [email protected] http://mailman1.u.washington.edu/mailman/listinfo/pine-info