🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4074

Re: How do you compile under Solaris 2.1?

#4074
From: ada chan
Date: Mon, 19 Apr 1993 22:50
55 lines
2715 bytes
In article <1993Apr17.001024.17783@protocol.com> kenw@protocol.com (Ken West) writes:
>Does anybody know the write incantation to get nn to compile
>and run under Solaris 2.1.  I've tried most of the the
>obvious things and I get a persistent series of messages
>like the following:
>
>/usr/ucb/cc -Iconf  -O  -c  term.c
>"/usr/ucbinclude/curses.h", line 76: syntax error before or at: '\b'
>"/usr/ucbinclude/curses.h", line 76: warning: old-style declaration; add "int"
>"/usr/ucbinclude/curses.h", line 76: warning: old-style declaration; add "int"
>"/usr/ucbinclude/curses.h", line 76: warning: old-style declaration; add "int"
>"/usr/ucbinclude/curses.h", line 76: warning: old-style declaration; add "int"
>...
>
>Anybody had any luck getting this thing to compile?
>
>Thanks.
>
>----------
>
	(signature deleted)



I'm having a very similar problem.  I am trying to compile nn 6.4.18 under Sun
OS 4.1.2.  I get the messages:

cc -Iconf  -g  -target sun4 -c  term.c
"/usr/include/curses.h", line 42: syntax error at or near constant '\b'
"/usr/include/curses.h", line 44: syntax error at or near constant '\r'
"/usr/include/curses.h", line 47: syntax error at or near constant '\n'
"term.c", line 125: undefined structure or union
"term.c", line 125: undefined structure or union
"term.c", line 210: c_cc undefined
"term.c", line 210: VINTR undefined
"term.c", line 367: TCGETA undefined
"term.c", line 457: c_iflag undefine

	.
	.
	.
The list goes on.

My first problem was that I did not have term.h in /usr/include so the variable
"auto_left_margin" was not defined.  I fixed it by copying a term.h from some-
where else.  I don't know if there are any consequences to doing that or
whether it's related to the above problem.  If anyone has any ideas, I would
appreciate knowing it also.

Thank you.

Ada Chan
UC San Francisco, Library
(415) 476-6867
P.S.  I'm using Stanford U.'s account until I can get our own news set up.
Technical Details
Message-ID: <1993Apr19.225006.11619@leland.Stanford.EDU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!headwall.Stanford.EDU!nntp.Stanford.EDU!alc
References: <1993Apr17.001024.17783@protocol.com>

Show Full Headers
Complete Article Headers
Message-ID: <1993Apr19.225006.11619@leland.Stanford.EDU>
Subject: Re: How do you compile under Solaris 2.1?
Date: Mon, 19 Apr 1993 22:50:06 +0000
From: alc@leland.Stanford.EDU (ada chan)
References: <1993Apr17.001024.17783@protocol.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!headwall.Stanford.EDU!nntp.Stanford.EDU!alc
Newsgroups: news.software.nn
Keywords: nn solaris
Sender: alc@cive.stanford.edu (Ada Chan)
Organization: DSG, Stanford University, CA 94305, USA
Lines: 55