🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #34278

TRN4 compile problem on linux axp

#34278
From: Bruno Boettcher
Date: Tue, 17 Jun 1997 00:00
171 lines
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

Technical Details
Message-ID: <5o643v$il@news.u-strasbg.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5o643v$il@news.u-strasbg.fr>
Subject: TRN4 compile problem on linux axp
Date: Tue, 17 Jun 1997 00:00:00 +0000
From: bboett@yoda.u-strasbg.fr (Bruno Boettcher)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 249064262
Organization: Laboratoire ERM/PHASE, ENSPS, ULP Strasbourg.
Newsgroups: news.software.readers