Article View: news.software.nn
Article #2767Re: NN build problems on HP 9000/400 8.0
From: 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> * *****************************************************************************
Technical Details
Message-ID:
<mtpins.706939106@icaen.uiowa.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!ns-mx!icaen.uiowa.edu!mtpinsReferences:
<1992May25.015707.9660@samba.oit.unc.edu>Show Full Headers
Complete Article Headers
Message-ID: <mtpins.706939106@icaen.uiowa.edu> Subject: Re: NN build problems on HP 9000/400 8.0 Date: Wed, 27 May 1992 03:58:26 +0000 From: mtpins@icaen.uiowa.edu (Michael T Pins) References: <1992May25.015707.9660@samba.oit.unc.edu> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!sparky!uunet!zaphod.mps.ohio-state.edu!hobbes.physics.uiowa.edu!ns-mx!icaen.uiowa.edu!mtpins Newsgroups: news.software.nn Sender: news@ns-mx.uiowa.edu Distribution: na Lines: 54