[Ns-developers] ns-2.31 release candidates for test
Francesco Gringoli
francesco.gringoli at ing.unibs.it
Fri Mar 2 05:14:38 PST 2007
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
Then I linked nam with static tcl/tk in ns-allinone:
$: g++ -o nam \
tkcompat.o \
tkUnixInit.o \
xwd.o \
netview.o \
netmodel.o \
edge.o \
packet.o \
node.o \
main.o \
trace.o \
queue.o \
drop.o \
animation.o \
agent.o \
feature.o \
route.o \
transform.o \
paint.o \
state.o \
monitor.o \
anetmodel.o \
random.o \
rng.o \
view.o \
graphview.o \
netgraph.o \
tracehook.o \
lan.o \
psview.o \
group.o \
editview.o \
tag.o \
address.o \
animator.o \
wnetmodel.o \
nam_stream.o \
enetmodel.o \
testview.o \
parser.o \
trafficsource.o \
lossmodel.o \
queuehandle.o \
gen/version.o \
gen/nam_tcl.o \
../tcl8.4.14/unix/libtcl8.4.a \
../tk8.4.14/unix/libtk8.4.a \
../tcl8.4.14/unix/libtclstub8.4.a \
-L/Users/gringoli/Work/ns-tutto/ns-allinone-2.31/tclcl-1.19 -ltclcl \
-L/Users/gringoli/Work/ns-tutto/ns-allinone-2.31/otcl-1.13 -lotcl \
-L/Users/gringoli/Work/ns-tutto/ns-allinone-2.31/lib \
-L/Users/gringoli/Work/ns-tutto/ns-allinone-2.31/lib \
-L/usr/lib -lz -L/usr/X11R6/lib -lXext -lX11 -lm -L. -lhack
Regards,
FG
On Mar 2, 2007, at 02:06, Tom Henderson wrote:
> Tom Henderson wrote:
>> The below URL contains release candidates for four packages
>> (ns-2.31, otcl-1.13, tclcl-1.19, and nam-1.13) plus a
>> corresponding allinone package. I would like to solicit some
>> additional testing from people with other platforms or
>> configurations.
>> http://www.nsnam.org/ns-2/release/
>> Already tested platforms (passing ns-2 validation):
>> ---------------------------------------------------
>> i) Fedora Core 5, x86
>> ii) OS X 10.4.8, Xcode 2.4, ppc
>> How to test:
>> ------------
>> 1) for the four individual packages, build them in this order:
>> - otcl
>> - tclcl
>> - ns-2
>> - nam-1
>> using the usual "./configure, make" process
>> 2) in ns-allinone-2.31 package, untar it and run the "install" script
>> Known issues:
>> -------------
>> Validation still may fails for certain tests (wireless-tdma, red
>> are usual suspects) on certain platforms
>> ns-2 will build and run most validation tests under 64-bit
>> platforms but
>> is not completely 64-bit clean. This has been reported before:
>> http://mailman.isi.edu/pipermail/ns-developers/2005-August/
>> 001872.html
>> Feedback:
>> ---------
>> Either to ns-developers list, or to me directly. Bug reports are
>> good, patches are even better :)
>> I'd like to release these packages around the end of the month,
>> barring any reported problems.
>> Thanks,
>> Tom
>
> Hi all,
> I have received a few reports of people testing these packages:
> - the Sun compiler apparently works now
> - Cygwin reports the usual validation tests failing-- a still open bug
> - a user reported some gcc-4.1.2 issues with Ubuntu Edgy. However,
> I was not able to repeat those personally myself; the ns-allinone
> package installed cleanly on my Ubuntu edgy virtual machine.
>
> If there are no other reports of problems, I'll go ahead and
> release these this weekend.
>
> - Tom
%%%%%%%%%%%%%%%%%%%%%
Francesco Gringoli, PhD - Assistant Professor
Dept. of Electrical Engineering for Automation
University of Brescia
via Branze, 38
25123 Brescia
ITALY
Ph: ++39.030.3715843
FAX: ++39.030.380014
WWW: http://www.ing.unibs.it/~gringoli
%%%%%%%%%%%%%%%%%%%%%
More information about the Ns-developers
mailing list