🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
1 messages
1 total messages Started by Floyd James Tue, 19 Apr 1994 00:13
problem compiling trn 3.4.1 on a 3b2
#8579
Author: 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

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads