[Ns-developers] ns-2.31 release candidates for test

Tom Henderson tomh at tomh.org
Sun Mar 4 14:44:42 PST 2007


Francesco Gringoli wrote:
> Hi Tom,
> 
> I built ns on Intel OSX and got "All test output agrees with reference 
> output.". Nice. This is gcc -v output
> 
> --Thread model: posix
> --gcc version 4.0.1 (Apple Computer, Inc. build 5250)
> 
> Building nam fails, instead: I get
> 
> /usr/bin/ld: Undefined symbols:
> _TkCreateXEventSource
> collect2: ld returned 1 exit status
> make: *** [nam] Error 1
> 
> The issue is still in tcl/tk shipped by Apple: nam Makefile tries to 
> link with tcl/tk in /usr/lib. I sorted out this way: first, I created a 
> link to the core osx library inside nam directory:
> 
> $: cd nam-1.13
> $: ln -s 
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 
> libhack.dylib
> 
>
I don't have an Intel OSX box handy.  Can you provide a few more 
details-- is this the allinone package or just nam-1 alone?  If it is 
allinone, can we just add a platform-specific configure directive in the 
nam-1 configure ("--with-tcl=../tcl8.4.14 --with-tk=../tk8.4.14") to use 
the tcl/tk built earlier in the allinone process, and avoid the above link?

Tom


More information about the Ns-developers mailing list