🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4420

Compiling trn-3.0 on Solaris 2.2

#4420
From: Tom Limoncelli
Date: Wed, 09 Jun 1993 16:24
26 lines
1649 bytes
This is on a SparcLX running Solaris 2.2 with Sun's unbundled C
compiler (version 2.0.1).

When I compile trn-3.0, I get the following error:

worf[tal]% make
cc -c -O final.c
"final.c", line 250: undefined symbol: ECHO
"final.c", line 251: undefined symbol: CBREAK
cc: acomp failed for final.c
*** Error code 1
make: Fatal error: Command failed for target `final.o'
worf[tal]% 

I modified the source to include sgtty.h, but the compiler seems to
intercept that and include its own version, one without ECHO, CBREAK,
etc. defined.

Any suggestions?  (besides "switch to gcc")

Tom
-- 
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"People are not pigs, they'll eat anything!"   -ambiguous Slavic saying
Disclaimer:  I do not speak for Mentor Graphics.
             I can't even do the accent.
Technical Details
Message-ID: <1v52r3$2vs@worf.Warren.MENTORG.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!sdd.hp.com!saimiri.primate.wisc.edu!caen!uunet!news.mentorg.com!sdl!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1v52r3$2vs@worf.Warren.MENTORG.COM>
Subject: Compiling trn-3.0 on Solaris 2.2
Date: Wed, 09 Jun 1993 16:24:03 +0000
From: tal@Warren.MENTORG.COM (Tom Limoncelli)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!ux1.cso.uiuc.edu!sdd.hp.com!saimiri.primate.wisc.edu!caen!uunet!news.mentorg.com!sdl!not-for-mail
Newsgroups: news.software.readers,comp.unix.solaris
Organization: Mentor Graphics -- IC Group, Warren, NJ, USA
Lines: 26
Distribution: inet
NNTP-Posting-Host: worf.warren.mentorg.com
X-Newsreader: NN version 6.4.19 #2