🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8579

problem compiling trn 3.4.1 on a 3b2

#8579
From: Floyd James
Date: Tue, 19 Apr 1994 00:13
37 lines
1641 bytes
I have a 3B2/1000 running SV R 3.2.3, and am having trouble compiling
trn 3.4.1.

The configure file says that my compiler (cc) accepts voids.
But there are problems wi this data type in several routines.


bits.c was complaining about rt-select.h
"./rt-select.h", line 38: syntax error
"./rt-select.h", line 38: cannot recover from earlier errors: goodbye!

The problem code is here:

#define VOIDPTR int

struct sel_item {
    VOIDPTR *ptr;          <<<<<<<<<<
    int line;
    int sel;
};

This is curious because bits.c is not the first routine to call rt-select.h,
and the others pass.

If one redefines void to int here and in the config.h file, the program
compiles.  But then it will not run correctly.
After displaying the list of groups, it will not respond to any keyboard
key except the return key.

Is there a solution to this problem?



			Floyd James
			fjames@csunix.jsums.edu

Technical Details
Message-ID: <9404190014.AA16937@csunix.jsums.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.att.mbox.zip!gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!news.moneng.mei.com!hookup!swrinde!cs.utexas.edu!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <9404190014.AA16937@csunix.jsums.edu>
Subject: problem compiling trn 3.4.1 on a 3b2
Date: Tue, 19 Apr 1994 00:13:52 +0000
From: fjames@csunix.jsums.edu (Floyd James)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.sys.att.mbox.zip!gmd.de!nntp.gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!news.moneng.mei.com!hookup!swrinde!cs.utexas.edu!not-for-mail
Newsgroups: comp.sys.att,news.software.readers
Organization: UTexas Mail-to-News Gateway
Lines: 36
Sender: daemon@cs.utexas.edu
NNTP-Posting-Host: cs.utexas.edu