🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #5095

Re: TRN 3.1 compilation errors on Sun SPARC

#5095
From: Steve Robbins
Date: Wed, 28 Jul 1993 03:28
29 lines
2064 bytes
In article <23498q$5eg@cwis.isu.edu>,
Matt McConnell <mccomatt@ba.isu.edu> wrote:
>
>I have had the exact same problem.  I get a number of errors then it aborts
>the make and I had zero problems with trn-3.0 release.  
>
>stderr follows:
>
>"art.c", line 235: warning: illegal combination of pointer and integer, op =
>"art.c", line 263: warning: illegal combination of pointer and integer, op !=
>"art.c", line 277: warning: illegal combination of pointer and integer, op =
>"art.c", line 279: warning: illegal combination of pointer and integer, op ==
>"art.c", line 545: operands of - have incompatible types
>"art.c", line 896: warning: illegal combination of pointer and integer, op ==
>"art.c", line 897: warning: illegal combination of pointer and integer, op !=
>*** Error code 1
>make: Fatal error: Command failed for target `art.o'

I had this same problem.  When I ran Configure, using the sunos_4_1 hints,
it said I should use <string.h> instead of <strings.h>, so I believed it.

Trouble is, index(), which is used in the offending lines, is declared in
<strings.h> not <string.h>.  So rerunning Configure and ignoring the hint
cured the problem.

Steve Z
-- 
                Steve Robbins -- System Administration
Email: steve@mcrcim.mcgill.edu              Phone: 398-8285
Technical Details
Message-ID: <234roh$i73@Thunder.McRCIM.McGill.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.readers.mbox.zip!gmd.de!Germany.EU.net!mcsun!uunet!newsflash.concordia.ca!sifon!mcrcim.mcgill.edu!not-for-mail
References: <1993Jul27.142548.19895@netcom!ncselxsi!mtdiablo> <23498q$5eg@cwis.isu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <234roh$i73@Thunder.McRCIM.McGill.EDU>
Subject: Re: TRN 3.1 compilation errors on Sun SPARC
Date: Wed, 28 Jul 1993 03:28:17 +0000
From: steve@McRCIM.McGill.EDU (Steve Robbins)
References: <1993Jul27.142548.19895@netcom!ncselxsi!mtdiablo> <23498q$5eg@cwis.isu.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.readers.mbox.zip!gmd.de!Germany.EU.net!mcsun!uunet!newsflash.concordia.ca!sifon!mcrcim.mcgill.edu!not-for-mail
Newsgroups: news.software.readers
Organization: Centre for Intelligent Machines
Lines: 29
NNTP-Posting-Host: thunder.mcrcim.mcgill.edu