Re: Problem compiling scotty on hp-ux 9.01

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Tue, 26 Nov 1996 22:15:35 +0100

Paul Havinden <paulh@uk.gdscorp.com> said:

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

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

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

Paul> cc: "/usr/include/netinet/in.h", line 69: error 1000:
Paul> Unexpected symbol: "u_long".

[snip]

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

I would say your compiler is wrong. :-) If in doubt, try using gcc.
The code that causes the problem is changed in the upcoming release
but I can't easily extract a patch for it.
Juergen

-- 
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)