🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #5065

Re: TRN 3.1 compilation errors on Sun SPARC

#5065
From: Wayne Davison
Date: Tue, 27 Jul 1993 18:44
31 lines
1668 bytes
According to Chuck Fisher <chas@netcom!ncselxsi!mtdiablo>:
> I downloaded the trn 3.1 patch from ftp.uu.net and successfully
> applied it to my trn 3.0 base.  I'm running on a SPARCstation 1+ on
> SunOS 4.1.  I ran Configure and then when I started a make, got a
> number of compiler warnings and then finally a error which aborted the
> make.

It would be useful to have mentioned (summarized?) the warnings and
especially the error.  Just as a totally off-the-wall, I'm-trying-to-
read-your-mind guess, try the following patch, which fixes a bug with
getenv() not getting declared when a system does not have stdlib.h:

Index:common.h
@@ -63,4 +63,5 @@
 char	*malloc();
 char	*realloc();
+char	*getenv();
 #endif
 
@@ -754,5 +755,4 @@
 char	*index();
 char	*rindex();
-char	*getenv();
 char	*strcat();
 char	*strcpy();

And if you're getting warnings about index/rindex calls, try adding
the define -DSUPPLIMENT_STRING_H to your ccflags line in config.sh.
-- 
Wayne Davison
davison@borland.com
Technical Details
Message-ID: <CAu6q3.FJM@borland.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.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!borland.com!davison
References: <1993Jul27.142548.19895@netcom!ncselxsi!mtdiablo>

Show Full Headers
Complete Article Headers
Message-ID: <CAu6q3.FJM@borland.com>
Subject: Re: TRN 3.1 compilation errors on Sun SPARC
Date: Tue, 27 Jul 1993 18:44:26 GMT
From: davison@borland.com (Wayne Davison)
References: <1993Jul27.142548.19895@netcom!ncselxsi!mtdiablo>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!borland.com!davison
Newsgroups: news.software.readers
Organization: Borland International
Lines: 31