Problem compiling scotty on hp-ux 9.01

Paul Havinden (paulh@uk.gdscorp.com)
Tue, 26 Nov 1996 16:21:11 +0000

I have been trying to compile scotty 2.1.5 on hp-ux 9.01 and 10.20 and
keep getting the following error:-

cc: "../tnm/generic/tnmIcmp.c", line 118: error 1716: Automatic
aggregate initia
lization is an ANSI feature.
*** Error code 1

I tried using cc -Aa to compile as ANSI but that gives the following
error instead:-

cc -O -Aa -c -O +z -I. -I./../tnm/generic -I/usr/local/include
-DTNMLI
B=\"/usr/local/lib/tnm2.1.5\" ./../tnm/generic/tnmInit.c
cc: "/usr/include/netinet/in.h", line 69: error 1000: Unexpected symbol:
"u_long
".
cc: "/usr/include/netinet/in.h", line 127: error 1000: Unexpected
symbol: "u_sho
rt".
cc: "../tnm/generic/tnmInit.c", line 165: error 1588: "R_OK" undefined.
*** Error code 1

I have installed tcl7.5 and tk4.1 without any (obvious) problems.
Any suggestions as to what might be wrong?

Thanks

Paul

-- 
-----------------------------------------------------------------------
Paul Havinden          | Email: Paulh@uk.gdscorp.com | SMS: +44 410163
410163
Graphic Data Systems   | Tel: +44 1223 371855        |
Cambridge,UK           | Fax: +44 1223 371898        |
-----------------------------------------------------------------------