Thread View: news.software.readers
2 messages
2 total messages
Started by Bruno Boettcher
Tue, 17 Jun 1997 00:00
TRN4 compile problem on linux axp
Author: Bruno Boettcher
Date: Tue, 17 Jun 1997 00:00
Date: Tue, 17 Jun 1997 00:00
171 lines
4491 bytes
4491 bytes
hello, since i didn't get the trn4-test58.tar.gz compiled on my Ppro, i gave a try on our linux-alpha server... Configure didn't found most of the functions, didn't get the symols for libc extracted, reporting failure of nm (it works well for my purposes...) and stops compilation really soon: cc -c -O -I/usr/local/include final.c final.c: In function `stop_catcher': final.c:318: `CBREAK' undeclared (first use this function) final.c:318: (Each undeclared identifier is reported only once final.c:318: for each function it appears in.) make: *** [final.o] Error 1 Any idea? Below an excerpt of the messages from the Configure run.... using GNU cc 2.7.2.1 Checking for optional libraries... No -lmalloc. Found -lresolv (shared). No -lsocket. No -lnet. No -lhdb. No -lbbn. No -lstr. No -lnls. Found -lnsl (shared). No -lintl. No -lx. No -lucb. nm didn't seem to work right. Trying ar instead... ar: /usr/lib/libc.so: File format not recognized ar didn't seem to work right. Maybe this is a Cray...trying bld instead... ./Configure: bld: command not found ./Configure: bld: command not found ar: /lib/libresolv.so.2: File format not recognized ./Configure: bld: command not found ar: /lib/libnsl.so.1: File format not recognized Ok. gettimeofday() NOT found. ftime() NOT found. getwd() NOT found. getcwd() NOT found. No getpwent() found -- will use getpw() instead. Termcap library found. No ndir library found--using ./ndir.c. memcmp() NOT found. memcpy() NOT found. memset() NOT found. mkdir() NOT found. No jobs library found. (That's okay, we all have our faults.) Checking to see if your C compiler groks the void type... Yup, it does. rdchk() NOT found. rename() NOT found. sigblock() NOT found. sighold() NOT found. strcasecmp() NOT found. Using <string.h> instead of <strings.h>. No index() or strchr() found! strftime() NOT found. strstr() NOT found. No trace of 'union wait' in <sys/wait.h>... Your wait() should be happy with a plain 'int' pointer. vfork() NOT found. Hmm... Your C compiler and pre-processor define these symbols: __alpha __alpha__ __linux__ __unix __unix__ linux unix Your C pre-processor also defines the following ones: __STDC__ Your C compiler further defines the following cpp variables: LANGUAGE_C _LONGLONG __ELF__ __GNUC_MINOR__=7 __GNUC__=2 __LANGUAGE_C __LANGUAGE_C__ __linux cpu=alpha machine=alpha system=linux tcsetattr() NOT found. <sgtty.h> found. <stdlib.h> found. <sys/dir.h> found. <sys/filio.h> NOT found. <sys/ioctl.h> found. <sys/ndir.h> NOT found. Testing to see if we should include <time.h>, <sys/time.h> or both. I'm now running the test program.... Succeeded with -DI_SYSTIME -DS_TIMEVAL We'll include <sys/time.h>. <sys/wait.h> found. <unistd.h> found. <utime.h> found. ============ the complete make run: 15:35:36 erm6:~/trn4$ make cc -c -O -I/usr/local/include addng.c cc -c -O -I/usr/local/include art.c cc -c -O -I/usr/local/include artio.c cc -c -O -I/usr/local/include artsrch.c cc -c -O -I/usr/local/include autosub.c cc -c -O -I/usr/local/include backpage.c cc -c -O -I/usr/local/include bits.c cc -c -O -I/usr/local/include cache.c cc -c -O -I/usr/local/include charsubst.c cc -c -O -I/usr/local/include datasrc.c cc -c -O -I/usr/local/include decode.c cc -c -O -I/usr/local/include edit_dist.c cc -c -O -I/usr/local/include env.c cc -c -O -I/usr/local/include final.c final.c: In function `stop_catcher': final.c:318: `CBREAK' undeclared (first use this function) final.c:318: (Each undeclared identifier is reported only once final.c:318: for each function it appears in.) make: *** [final.o] Error 1 -- ciao bboett@erm1.u-strasbg.fr ============================================================== bboett@erm1.u-strasbg.fr
Re: TRN4 compile problem on linux axp
Author: Torbjorn Lindgren
Date: Sat, 28 Jun 1997 00:00
Date: Sat, 28 Jun 1997 00:00
37 lines
1881 bytes
1881 bytes
Olaf Titz <olaf@bigred.inka.de> wrote: >Bruno Boettcher <bboett@yoda.u-strasbg.fr> wrote: >> Below an excerpt of the messages from the Configure run.... >>... >> nm didn't seem to work right. Trying ar instead... >> ar: /usr/lib/libc.so: File format not recognized > >On a Linux ELF system, you have to tell the metaconfig Configure >scripts (used by trn and perl) to fetch names from /usr/lib/libc.a, >not from /usr/lib/libc.so whose symbols the supported invocations of >nm and ar can't read. Huh? It worked fine on the Linux ELF-i386 system I tried it on, it seemed to have no problem extracting the symbols from libc.so (no warning/error messages, and lots of messages about found symbols). It would be if the Linux AXP-ELF version of nm was broken somehow, but then it sounds more like it's some kind of version mismatch (to old binutils is the only thing I can think of that would give this problem thought, and then you should have other problems). I used trn4-test58, which has been the current test version for quite a while now, since 14 May in fact! The machine in question is a RedHat-i386 4.2 system, and has binutils 2.7.0.2 installed. -- Torbj�rn Lindgren E-mail: tl@funcom.com If Santa ever DID deliver presents on Christmas Eve, he's dead now.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads