🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4391

Problem compiling trn-3.0 on SGI-Indigo (Irix 4.0.5f)

#4391
From: Bard Grimsmo
Date: Tue, 08 Jun 1993 11:11
50 lines
3763 bytes
I normally trn compiles easily on my SGI-Indigo (Irix 4.0.5f), however
compiling trn-3.0, I get the following error:

cc -c -O -DLANGUAGE_C final.c
accom: Error: final.c, line 92: member of structure or union required
        ((bizarre=0),_tty.sg_flags = _res_flg, stty(_tty_ch, &_tty)) ;
       --------------------------^
accom: Error: final.c, line 92: operands of = have 1) incompatible types or 2) disallowed type(s)
        ((bizarre=0),_tty.sg_flags = _res_flg, stty(_tty_ch, &_tty)) ;
       --------------------------------------^
accom: Error: final.c, line 231: member of structure or union required
        ((bizarre=0),_tty.sg_flags = _res_flg, stty(_tty_ch, &_tty)) ;
       
       --------------------------^
accom: Error: final.c, line 231: operands of = have 1) incompatible types or 2) disallowed type(s)
        ((bizarre=0),_tty.sg_flags = _res_flg, stty(_tty_ch, &_tty)) ;
       
       --------------------------------------^
accom: Error: final.c, line 241: member of structure or union required
                (gtty(_tty_ch, &_tty), _res_flg = _tty.sg_flags) ;
       -------------------------------------------------------^
accom: Error: final.c, line 241: operands of = have 1) incompatible types or 2) disallowed type(s)
                (gtty(_tty_ch, &_tty), _res_flg = _tty.sg_flags) ;
       --------------------------------------------------------^
accom: Error: final.c, line 248: member of structure or union required
                ((bizarre=1),_tty.sg_flags &= ~0000010 , stty(_tty_ch, &_tty)) ;                         
       ----------------------------------^
accom: Error: final.c, line 248: operands of &= have 1) incompatible types or 2) disallowed type(s)
                ((bizarre=1),_tty.sg_flags &= ~0000010 , stty(_tty_ch, &_tty)) ;                         
       ------------------------------------------------^
accom: Error: final.c, line 249: member of structure or union required
                ((bizarre=1),_tty.sg_flags |= CBREAK, stty(_tty_ch,&_tty)) ;                     
       ----------------------------------^
accom: Error: final.c, line 249: CBREAK undefined
                ((bizarre=1),_tty.sg_flags |= CBREAK, stty(_tty_ch,&_tty)) ;                     
       ---------------------------------------------^
accom: Error: final.c, line 249: operands of |= have 1) incompatible types or 2) disallowed type(s)
                ((bizarre=1),_tty.sg_flags |= CBREAK, stty(_tty_ch,&_tty)) ;                     
       ---------------------------------------------^
make: *** [final.o] Error 

Help is much appreciated!

Bard
-- 
B�rd Grimsmo     |Mail: SINTEF/Varmeteknikk         |Home: Schives Gate 7
Research Engineer|      7034 Trondheim, Norway      |      N-7030 Trondheim
SINTEF Division  |Phone: +47 7 592505               |      Norway
Termodynamics    |Fax:   +47 7 944513               |Home phone: +47 7 523801
(Termodata Co-op)|E-mail: Bard.Grimsmo@termo.unit.no|MIME-Mail is welcome
Technical Details
Message-ID: <1993Jun8.111138.10842@ugle.unit.no>
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!newsserver.jvnc.net!howland.reston.ans.net!torn!nott!bnrgate!bnr.co.uk!pipex!sunic!ugle.unit.no!termo.unit.no!bgitv

Show Full Headers
Complete Article Headers
Message-ID: <1993Jun8.111138.10842@ugle.unit.no>
Subject: Problem compiling trn-3.0 on SGI-Indigo (Irix 4.0.5f)
Date: Tue, 08 Jun 1993 11:11:38 +0000
From: bgitv@termo.unit.no (Bard Grimsmo)
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!newsserver.jvnc.net!howland.reston.ans.net!torn!nott!bnrgate!bnr.co.uk!pipex!sunic!ugle.unit.no!termo.unit.no!bgitv
Newsgroups: news.software.readers
Sender: news@ugle.unit.no (NetNews Administrator)
Reply-To: Bard.Grimsmo@termo.unit.no
Organization: SINTEF, The Norwegian Institute of Technology
Lines: 50