Thread View: news.software.nn
2 messages
2 total messages
Started by Shawn Hayes
Mon, 25 May 1992 01:57
NN build problems on HP 9000/400 8.0
Author: Shawn Hayes
Date: Mon, 25 May 1992 01:57
Date: Mon, 25 May 1992 01:57
25 lines
1645 bytes
1645 bytes
I'm trying to build nn6.4 (with all 16 patches applied) on a HP 9000/433
with HP/UX 8.0. I'm getting some errors that I hope someone can help
me with. The error is when building term.c. A partial list of the errors
reported is.
term.c line 210: incomplete struct/union 'termio' does no contain member
'c_cc'
term.c line 210: 'VINTR' undefined
term.c line 210: type error in array expression
term.c line 210: operand for the indirection operator '*' should have
non-void pointer type
I've set up the Makefile with the machine type m-hp9000.h and a system
of s-hpux.h. I've also tried system type s-hpux7-0.h with the same result.
If anyone has had exposure to this problem I'd love to hear of a fix.
Shawn Hayes
--
The opinions expressed are not necessarily those of the University of
North Carolina at Chapel Hill, the Campus Office for Information
Technology, or the Experimental Bulletin Board Service.
internet: bbs.oit.unc.edu or 152.2.22.80
Re: NN build problems on HP 9000/400 8.0
Author: Michael T Pins
Date: Wed, 27 May 1992 03:58
Date: Wed, 27 May 1992 03:58
54 lines
2472 bytes
2472 bytes
Shawn.Hayes@bbs.oit.unc.edu (Shawn Hayes) writes: >I'm trying to build nn6.4 (with all 16 patches applied) on a HP 9000/433 >with HP/UX 8.0. I'm getting some errors that I hope someone can help >me with. The error is when building term.c. A partial list of the errors >reported is. >term.c line 210: incomplete struct/union 'termio' does no contain member > 'c_cc' >term.c line 210: 'VINTR' undefined >term.c line 210: type error in array expression >term.c line 210: operand for the indirection operator '*' should have > non-void pointer type >I've set up the Makefile with the machine type m-hp9000.h and a system >of s-hpux.h. I've also tried system type s-hpux7-0.h with the same result. >If anyone has had exposure to this problem I'd love to hear of a fix. HP-UX doesn't include termio.h in curses.h, as they have both a termio.h and a termios.h. The following patch makes nn portable to HP-UX: The patch in term.c makes the code more portable, allowing compilation on recent versions of HP-UX, and other SysV variants. diff -cb ../nn2/term.c ./term.c *** ../nn2/term.c Sun May 24 16:32:47 1992 --- ./term.c Mon May 11 20:41:31 1992 *************** *** 56,61 **** --- 56,64 ---- #ifdef USE_TERMINFO #include <curses.h> + # ifndef VINTR + # include <termio.h> /* some systems (hpux) don't include this in curses.h */ + # endif /* VINTR */ #ifndef auto_left_margin #include <term.h> #endif /* !auto_left_margin */ -- ***************************************************************************** * Michael Pins | Internet: amigapd@isca.uiowa.edu * * ISCA's Amiga Librarian | #include <std.disclaimer> * *****************************************************************************
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