QUOTE
rm -f nam
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 -L/Applications/ns-allinone-2.30/tclcl-1.18 -ltclcl -L/Applications/ns-allinone-2.30/otcl -lotcl -L/Applications/ns-allinone-2.30/lib -ltk8.4 -L/Applications/ns-allinone-2.30/lib -ltcl8.4 -L/usr/X11R6/lib -lXext -lX11 -lintl -lm
/usr/bin/ld_classic: Undefined symbols:
_TkCreateXEventSource
_gzclose
_gzeof
_gzgetc
_gzgets
_gzopen
_gzread
_gzseek
_gztell
collect2: ld returned 1 exit status
make: *** [nam]Error 1
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 -L/Applications/ns-allinone-2.30/tclcl-1.18 -ltclcl -L/Applications/ns-allinone-2.30/otcl -lotcl -L/Applications/ns-allinone-2.30/lib -ltk8.4 -L/Applications/ns-allinone-2.30/lib -ltcl8.4 -L/usr/X11R6/lib -lXext -lX11 -lintl -lm
/usr/bin/ld_classic: Undefined symbols:
_TkCreateXEventSource
_gzclose
_gzeof
_gzgetc
_gzgets
_gzopen
_gzread
_gzseek
_gztell
collect2: ld returned 1 exit status
make: *** [nam]Error 1
Ok so far I fix some problem. It was not seeing the zlib file. Changing the configure --with-zlib=destination fix that but I still have problem...
QUOTE
rm -f nam
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 -L/Applications/ns-allinone-2.30/tclcl-1.18 -ltclcl -L/Applications/ns-allinone-2.30/otcl -lotcl -L/Applications/ns-allinone-2.30/lib -ltk8.4 -L/Applications/ns-allinone-2.30/lib -ltcl8.4 -L/Applications/ns-allinone-2.30/zlib-1.2.3 -lz -L/usr/X11R6/lib -lXext -lX11 -lintl -lm
/usr/bin/ld_classic: Undefined symbols:
_TkCreateXEventSource
collect2: ld returned 1 exit status
make: *** [nam] Error 1
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 -L/Applications/ns-allinone-2.30/tclcl-1.18 -ltclcl -L/Applications/ns-allinone-2.30/otcl -lotcl -L/Applications/ns-allinone-2.30/lib -ltk8.4 -L/Applications/ns-allinone-2.30/lib -ltcl8.4 -L/Applications/ns-allinone-2.30/zlib-1.2.3 -lz -L/usr/X11R6/lib -lXext -lX11 -lintl -lm
/usr/bin/ld_classic: Undefined symbols:
_TkCreateXEventSource
collect2: ld returned 1 exit status
make: *** [nam] Error 1