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

NAM Compiling problems with Solaris 2.6



All,

I'm trying to get NAM -1.0a4 to compile in Solaris 2.6 on a Sparc 20,
gcc 2.8.1 and I get the following error.

rm -f xwd.o; gcc -o xwd.o -c -O2 -DTCL_TK  -DNDEBUG -mv8 -msupersparc
-D__svr4__
 -DUSE_SHM -DHAVE_LIBTCLCL1_0B3 -DHAVE_TCLCL_H -DHAVE_LIBOTCL0_96
-DHAVE_OTCL_H
-DHAVE_LIBTK8_0 -DHAVE_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H  -I.
-I../TclCL -I../o
tcl -I/home/menaal/ns-allinone/nam-1/../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 `->'
make: *** [xwd.o] Error 1                                 

It appears that its having problems with the SIZEOF() macro defined in
xmd.h and called by xwd_Window_Dump.  
Is anybody using NAM with Solaris 2.6?  
Is there a compiler flag I need to specify?  Everything else compiled
just fine.


Thanks,

Art Mena
Senior Technology Specialist
Boeing Reusable Space Systems