Re: Scotty Solaris build problems

Doug Hughes (doug@eng.auburn.edu)
Wed, 25 Sep 1996 13:59:16 -0500 (CDT)

On Wed, 25 Sep 1996, William B. Gunter wrote:

> I'm trying to compile Scotty and get the following error (after first
> running configure).
>
> crml5r [...tcl/scotty-2.1.4/unix] [346]% make
> cc -c -O -K PIC -I. -I./../tnm/generic -I/usr/local/include
> -DTNMLIB=\"/usr/local/lib/tnm2.1.4\" ./../tnm/generic/tnmInit.c
> "./../tnm/generic/tnmInt.h", line 40: syntax error before or at: *
> "./../tnm/generic/tnmInit.c", line 65: warning: improper pointer/integer
> combination: arg #4
> "./../tnm/generic/tnmInit.c", line 164: warning: improper
> pointer/integer combination: op "="
> "./../tnm/generic/tnmInit.c", line 169: warning: improper
> pointer/integer combination: op "="
> "./../tnm/generic/tnmInit.c", line 177: warning: improper
> pointer/integer combination: op "="
> "./../tnm/generic/tnmInit.c", line 216: warning: improper
> pointer/integer combination: op "="
> "./../tnm/generic/tnmInit.c", line 221: undefined symbol: Tcl_Channel
> "./../tnm/generic/tnmInit.c", line 221: syntax error before or at:
> channel
> "./../tnm/generic/tnmInit.c", line 222: undefined symbol: channel
> "./../tnm/generic/tnmInit.c", line 235: cannot recover from previous
> errors
> cc: acomp failed for ./../tnm/generic/tnmInit.c
> *** Error code 2
> make: Fatal error: Command failed for target `tnmInit.o'
>
> I'm compiling on a sparc1000 running Solaris 2.4. Configure seems to
> run okay.
>

What compiler are you using? It seems like an ANSI vs non-ANSI
thing at first glance. If you don't have Sparcworks compilers, use
gcc.

____________________________________________________________________________
Doug Hughes Engineering Network Services
System/Net Admin Auburn University
doug@eng.auburn.edu