[ns] ns-allinone-2.28 on MacOS X (Tiger)

RJ Atkinson rja at extremenetworks.com
Thu Jun 9 14:29:46 PDT 2005



Hi,

      When trying to install ns-allinone-2.28 on MacOS X (Tiger),
the installation process fails.  I've scanned the list archives
for the past couple of months without seeing anything obviously
applicable, so I thought maybe this was worth mentioning.  Since
I am running MacOS 10.4.latest, it seems possible that something
in the 10.4.x release has changed in a way that causes the ns
build process to fail.

      While it would have been nice to have ns on my Mac, I'm likely
just to install and run ns on some other kind of system, since that
is the low erg approach.  That said, if anyone has ideas about what
might resolve the issue and would like me to test those ideas,
please drop me a note. :-)


The ns-allinone-2.28 build fails with this information:

./install
...
(many lines of output deleted here)
...
g++  -o ns \
          common/tclAppInit.o  tools/random.o tools/rng.o tools/
ranvar.o common/misc.o common/timer-handler.o common/scheduler.o con
/usr/bin/ld: warning multiple definitions of symbol _abort
common/tclAppInit.o definition of _abort in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libm.dylib
(abort.So) definition of _abort
/usr/bin/ld: warning multiple definitions of symbol _random
tools/random.o definition of _random in section (__TEXT,__text)
/usr/lib/gcc/powerpc-apple-darwin8/4.0.0/../../../libm.dylib
(random.So) definition of _random
/usr/bin/ld: Undefined symbols:
XCPQueue::XCP_MAX_INTERVAL
XCPQueue::XCP_MIN_INTERVAL
XCPQueue::BETA_
XCPQueue::ALPHA_
XCPQueue::BWIDTH
XCPQueue::GAMMA_
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Ns make failed!



And for reference, in case the compiler version or OS version matter,
below are the outputs of gcc -v and then uname -a:

$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5026.obj~19/src/configure --
disable-checking --prefix=/usr --mandir=/share/man --enable-
Thread model: posix
gcc version 4.0.0 (Apple Computer, Inc. build 5026)

$ uname -a
Darwin dragonfly 8.1.0 Darwin Kernel Version 8.1.0: Tue May 10
18:16:08 PDT 2005; root:xnu-792.1.5.obj~4/RELEASE_PPC Power Macintosh
powerpc


Yours,

Ran
rja at extremenetworks.com




More information about the Ns-users mailing list