🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4390

Re: compiling errors: term.c

#4390
From: Peter Wemm
Date: Tue, 06 Jul 1993 09:29
39 lines
2326 bytes
hurd@fraser.sfu.ca (Peter L. Hurd) writes:
>bataller@afya.acs.uwosh.edu (Erik M. Bataller) writes:

>>Hello All,
>>	My compilation has not gone well, I am on a Sun running SunOS 4.1.3 and every time I compile, with either gcc/gcc -traditional/cc it fails and the main place it always chokes is on the term.c file.

>Hi,
>  Let me guess, it can't find term.h, despite the fact that term.h is sitting
>right there in the directory with the rest of the source code?  Happened to
>me about an hour ago, must happen all the time.  I noticed that the include
>is #include <term.h> which to my new-to-unix brain means something other that
>#include "term.h" so I went and  put a path in CFLAGS to -Ipathtosystemsterm.h
>but it reallyseems to want the "term.h" from the distribution, should I go
>and -I the cwd?
>	
>>	Any help would be greatly appreciated.

>Me too

Basically, term.c does two includes:
#include "term.h"   [ from ./term.h ]
...and later....
#ifdef USE_TERMINFO
#include <term.h>   [ from /usr/include/term.h ]
#endif

Now, on SunOS 4.1.x, if you use s-sunos-v.h, then it expects you to
use /usr/5bin/cc to automatically include /usr/5lib and /usr/5include.

If you use /bin/cc, you'll get compile errors.

>>	Thanks.
>>	
>Cheers,
>-P.
--
Peter Wemm : peter@zeus.dialix.oz.au   If it's broke, fix it (The MS-DOS way)
Work phone: +61-9-479-1855    If it aint broke, don't touch it (The Unix way)
Fax: +61-9-479-1134   If we can't fix it, it ain't broke (Maintainer's Motto)
Technical Details
Message-ID: <21bglj$lqm@zeus.dialix.oz.au>
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!dearn!frmop11.cnusc.fr!univ-lyon1.fr!zaphod.crihan.fr!pipex! uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!munnari.oz.au!uniwa!DIALix!zeus!zeus!not-for-mail
References: <21019b$ngg@afya.acs.uwosh.edu> <hurd.741830996@sfu.ca>

Show Full Headers
Complete Article Headers
Message-ID: <21bglj$lqm@zeus.dialix.oz.au>
Subject: Re: compiling errors: term.c
Date: Tue, 06 Jul 1993 09:29:23 +0000
From: peter@zeus.DIALix.oz.au (Peter Wemm)
References: <21019b$ngg@afya.acs.uwosh.edu> <hurd.741830996@sfu.ca>
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!dearn!frmop11.cnusc.fr!univ-lyon1.fr!zaphod.crihan.fr!pipex! uunet!elroy.jpl.nasa.gov!swrinde!network.ucsd.edu!munnari.oz.au!uniwa!DIALix!zeus!zeus!not-for-mail
Newsgroups: news.software.nn
Organization: Karam Pty. Ltd., Perth, Western Australia.
Lines: 39
NNTP-Posting-Host: localhost.dialix.oz.au
X-Newsreader: NN version 6.4.19 #8