NAM compilation problems under Solaris 2.6
Tue, 15 Sep 1998 08:15:57 -0700
When compiling NAM under Solaris 2.6 I received the following error.
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
This appears to be the result with a problem with configure. After a bit of
hacking I have come
up with a fix. For NAM 1.0a5 make the following changes:
Add this to the file xwd.c as line 92 #define SIZEOF(x)
Comment out line 59 of the file config.h. /* typedef signed char
Comment out line 45 in random.cc /* extern "C" int
Then do a 'make' and enjoy!.
Note that the line numbers may be different for other versions of NAM.
I'm using Solaris 2.6 with gcc 2.8.1 on a Sparc 20.
Boeing Reusable Space Systems