Magic Mailing List |
|
From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu) Date: Tue Jul 15 2003 - 10:53:09 EDT
Dear Chris, > ...when I run netgen, I get > > loading history file ... 24 events added > Running NetGen Console Functions > error in slave eval: > couldn't load file "/usr/local/cad/lib/netgen/tcl/tclnetgen.so": > /usr/local/cad/lib/netgen/tcl/tclnetgen.so: undefined symbol: va_copy A quick fix is to add, at the top of tclnetgen.c, the line: #define va_copy(a, b) __va_copy(a, b) If this fails to work, you can try #define va_copy(a, b) a = b Some systems define __va_copy() instead of va_copy(); others don't define it at all because the argument assignments are static and a = b won't be dereferenced. Unfortunately, not all systems follow the standard of defining va_copy(). This condition is easy to determine using gnu autoconf, but not with the "make config" scripts. I have moved magic and xcircuit to gnu autoconf, but not yet irsim and netgen. Hopefully I'll get around to that soon, so the problem will just go away (to be replaced by twenty other problems stemming from autoconf!). Regards, Tim
|
|