[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble compiling NAM 1.0a5



Hi,
I am having trouble compiling the latest release (1.0a5) of NAM.  I am
running Solaris 2.6 and using gcc version 2.8.1.  I get the following
error message:

--------------------------------------------------------------------
make
rm -f xwd.o; gcc -o xwd.o -c -O2 -DTCL_TK  -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B5 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A2 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -I.   -I../TclCL -I..
../otcl -I/projects/ccrg3/chris/ns-allinone-2.1b3/nam-1.0a5/../tk8.0/generic
I../tcl8.0/generic xwd.c
xwd.c: In function `xwd_Window_Dump':
xwd.c:279: `sz_' undeclared (first use in this function)
xwd.c:279: (Each undeclared identifier is reported only once
xwd.c:279: for each function it appears in.)
xwd.c:279: parse error before `XWDheader'
xwd.c:328: parse error before `XWDheader'
xwd.c: At top level:
xwd.c:339: parse error before `for'
xwd.c:347: parse error before `1'
xwd.c:347: warning: data definition has no type or storage class
xwd.c:364: parse error before `1'
xwd.c:364: warning: data definition has no type or storage class
xwd.c:377: parse error before `->'
*** Error code 1
make: Fatal error: Command failed for target `xwd.o'

Compilation exited abnormally with code 1 at Wed Sep 30 09:22:40
---------------------------------------------------------------------

The strange thing is, I cannot find any parameter 'sz_'....

Has anyone encountered this? 

Thanks!

Chris