🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Bard Grimsmo Tue, 08 Jun 1993 11:11
Problem compiling trn-3.0 on SGI-Indigo (Irix 4.0.5f)
#4391
Author: 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
Re: Problem compiling trn-3.0 on SGI-Indigo (Irix 4.0.5f)
#4396
Author: Frank Peters
Date: Tue, 08 Jun 1993 16:22
18 lines
1532 bytes
In article <1993Jun8.111138.10842@ugle.unit.no> Bard.Grimsmo@termo.unit.no says:
: 
: 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

The code in Configure that decides whether to use I_TERMIOS or I_SGTTY
can be fooled causing complaints in final.c.

Edit config.h and look for the section that defines I_SGTTY.  Comment
it out and uncomment the previous line (which defines I_TERMIOS) and
make.

This problem also affects Suns running Solaris 2.x.
-- 
Frank Peters  -  UNIX Systems Programmer  -  Mississippi State University
Internet: fwp@CC.MsState.Edu  -  Phone: (601)325-7030  -  FAX: (601)325-8921
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