🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Kenneth Fosse Fri, 09 Oct 1992 07:05
Help making nn6.4 on HP9000/835
#3223
Author: Kenneth Fosse
Date: Fri, 09 Oct 1992 07:05
95 lines
6165 bytes
Hi, Netland!

I'm trying to make nn6.4 on a HP9000/835, but the compiler
bombs out on me... I've applied patches 1-16 (source from
dkuug.dk:/pub/nn6.4)
I've copied config.h-dist to config.h, edited it to include
m-hp9000.h and s-hpux7-0.h. I run hpux 8.0, though....

I use HP's own cc (yes I should go get gcc :-) )
CFLAGS is -g  (-O -s gives same result)

make client (or simply make, for that matter) gives me:

[compiling fine until term.c]

cc: "term.c", line 125: error 1574: Unknown size for "norm_tty".
cc: "term.c", line 125: error 1574: Unknown size for "raw_tty".
cc: "term.c", line 210: error 1530: Undefined struct or union.
cc: "term.c", line 210: error 1588: "VINTR" undefined.
cc: "term.c", line 210: error 1528: Subscript expression must combine pointer and integer.
cc: "term.c", line 208: error 1563: Expression in if must be scalar.
cc: "term.c", line 296: error 1588: "B9600" undefined.
cc: "term.c", line 296: error 1521: Incorrect initialization.
cc: "term.c", line 311: error 1588: "B1200" undefined.
cc: "term.c", line 311: error 1521: Incorrect initialization.
cc: "term.c", line 312: error 1588: "B2400" undefined.
cc: "term.c", line 312: error 1521: Incorrect initialization.
cc: "term.c", line 313: error 1588: "B4800" undefined.
cc: "term.c", line 313: error 1521: Incorrect initialization.
cc: "term.c", line 314: error 1588: "B300" undefined.
cc: "term.c", line 314: error 1521: Incorrect initialization.
cc: "term.c", line 367: error 1588: "TCGETA" undefined.
cc: "term.c", line 454: error 1549: Modifiable lvalue required for assignment operator.
cc: "term.c", line 454: error 1530: Undefined struct or union.
cc: "term.c", line 457: error 1530: Undefined struct or union.
cc: "term.c", line 457: error 1588: "BRKINT" undefined.
cc: "term.c", line 457: error 1588: "INLCR" undefined.
cc: "term.c", line 457: error 1588: "ICRNL" undefined.
cc: "term.c", line 457: error 1588: "IGNCR" undefined.
cc: "term.c", line 457: error 1588: "ISTRIP" undefined.
cc: "term.c", line 457: error 1559: Complement operator takes integral operand.
cc: "term.c", line 457: error 1549: Modifiable lvalue required for assignment operator.
cc: "term.c", line 458: error 1530: Undefined struct or union.
cc: "term.c", line 458: error 1588: "IGNBRK" undefined.
cc: "term.c", line 458: error 1588: "IGNPAR" undefined.
cc: "term.c", line 458: error 1549: Modifiable lvalue required for assignment operator.
cc: "term.c", line 459: error 1530: Undefined struct or union.
cc: "term.c", line 459: error 1588: "OPOST" undefined.
cc: "term.c", line 459: error 1559: Complement operator takes integral operand.
cc: "term.c", line 459: error 1549: Modifiable lvalue required for assignment operator.
cc: "term.c", line 460: error 1530: Undefined struct or union.
cc: "term.c", line 460: error 1588: "ISIG" undefined.
cc: "term.c", line 460: error 1588: "ICANON" undefined.
cc: "term.c", line 460: error 1588: "XCASE" undefined.
cc: "term.c", line 460: error 1588: "ECHO" undefined.
cc: "term.c", line 460: error 1588: "NOFLSH" undefined.
cc: "term.c", line 460: error 1559: Complement operator takes integral operand.
cc: "term.c", line 460: error 1549: Modifiable lvalue required for assignment operator.
cc: "term.c", line 463: error 1530: Undefined struct or union.
cc: "term.c", line 463: error 1588: "VEOF" undefined.
cc: "term.c", line 463: error 1528: Subscript expression must combine pointer and integer.
cc: "term.c", line 463: error 1549: Modifiable lvalue required for assignment operator.
cc: "term.c", line 464: error 1530: Undefined struct or union.
cc: "term.c", line 464: error 1588: "VEOL" undefined.
cc: "term.c", line 464: error 1528: Subscript expression must combine pointer and integer.
cc: "term.c", line 464: error 1530: Undefined struct or union.
cc: "term.c", line 464: error 1588: "CBAUD" undefined.
cc: "term.c", line 464: error 1552: First expression of ?: must be arithmetic.
cc: "term.c", line 464: error 1549: Modifiable lvalue required for assignment operator.
cc: "term.c", line 465: error 1530: Undefined struct or union.
cc: "term.c", line 465: error 1527: Incompatible types in cast.
cc: "term.c", line 491: error 1530: Undefined struct or union.
cc: "term.c", line 491: error 1588: "VERASE" undefined.
cc: "term.c", line 491: error 1528: Subscript expression must combine pointer and integer.
cc: "term.c", line 491: error 1527: Incompatible types in cast.
cc: "term.c", line 492: error 1530: Undefined struct or union.
cc: "term.c", line 492: error 1588: "VKILL" undefined.
cc: "term.c", line 492: error 1528: Subscript expression must combine pointer and integer.
cc: "term.c", line 492: error 1527: Incompatible types in cast.
cc: "term.c", line 809: error 1588: "TCSETAW" undefined.
cc: "term.c", line 822: error 1588: "TCSETAW" undefined.
cc: "term.c", line 835: error 1588: "TCSETAW" undefined.
cc: "term.c", line 914: error 1588: "TCFLSH" undefined.
cc: "term.c", line 1025: error 1530: Undefined struct or union.
cc: "term.c", line 1025: error 1588: "VINTR" undefined.
cc: "term.c", line 1025: error 1528: Subscript expression must combine pointer and integer.
cc: "term.c", line 1025: error 1563: Expression in if must be scalar.

and aborts......
Can someone tell me what I am doing wrong ? Has this been built on
a similar platform ?

Thanks,
Kenneth Fosse, Bergen College of Engineering, Bergen, Norway.
kenneth@bih.no
Re: Help making nn6.4 on HP9000/835
#3226
Author: Michael T Pins
Date: Sat, 10 Oct 1992 07:34
41 lines
2158 bytes
kenneth@hp825.bih.no (Kenneth Fosse) writes:

>Hi, Netland!

>I'm trying to make nn6.4 on a HP9000/835, but the compiler
>bombs out on me... I've applied patches 1-16 (source from
>dkuug.dk:/pub/nn6.4)
>I've copied config.h-dist to config.h, edited it to include
>m-hp9000.h and s-hpux7-0.h. I run hpux 8.0, though....

>I use HP's own cc (yes I should go get gcc :-) )
>CFLAGS is -g  (-O -s gives same result)

>make client (or simply make, for that matter) gives me:


You need to apply the following patch.
It allows nn to compile on a number of machines it doesn't without it,
including recent versions of HP-UX

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>           *
*****************************************************************************
Re: Help making nn6.4 on HP9000/835
#3264
Author: Hinrich Eilts
Date: Fri, 23 Oct 1992 13:14
28 lines
1603 bytes
kenneth@hp825.bih.no (Kenneth Fosse) writes:

>Hi, Netland!

>I'm trying to make nn6.4 on a HP9000/835, but the compiler
>bombs out on me... I've applied patches 1-16 (source from
>dkuug.dk:/pub/nn6.4)
>I've copied config.h-dist to config.h, edited it to include
>m-hp9000.h and s-hpux7-0.h. I run hpux 8.0, though....

>I use HP's own cc (yes I should go get gcc :-) )
>CFLAGS is -g  (-O -s gives same result)

>make client (or simply make, for that matter) gives me:

>[compiling fine until term.c]

>cc: "term.c", line 125: error 1574: Unknown size for "norm_tty".
I had the same problem on HP9000-730, HPUX 8.07. Change term.c by including:
#ifdef _HPUX_8
#include <sys/termio.h>
#endif
and
CC in Makefile: cc -Aa -D_HPUX_SOURCE
and create s-hpux8-0.h by copying s-hpux7-0.h and insertion of
#define _HPUX_8
Good luck
	Hinrich
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