[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] (no subject)




Hello,

I want to compile nam, but I am getting the following error? Can anybody
help?
Ibrahim.


/home/ibrahim/ns-allinone-2.1b7a/nam-1.0a9
ibrahim on sola 787 > make
rm -f nam
c++   -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 gen/version.o gen/nam_tcl.o  -R../tclcl-1.0b10
-L/home/ibrahim/ns-allinone-2.1b7a/tclcl-1.0b10 -ltclcl -R../otcl-1.0a6
-L/home/ibrahim/ns-allinone-2.1b7a/otcl-1.0a6 -lotcl -R../tk8.3.2/unix
-L/home/ibrahim/ns-allinone-2.1b7a/tk8.3.2/unix -ltk8.3
-R/home/ibrahim/ns-allinone-2.1b7a/tcl8.3.2/lib
-L/home/ibrahim/ns-allinone-2.1b7a/tcl8.3.2/lib -ltcl8.3 -lXext -lX11
-lsocket -lnsl -lintl -ldl -ldl -lm -ldl
nam_stream.o: In function
`NamStreamCompressedFile::NamStreamCompressedFile(char const *)':
nam_stream.o(.text+0x5c8): undefined reference to `gzopen'
nam_stream.o: In function `NamStreamCompressedFile::gets(char *, int)':
nam_stream.o(.text+0x638): undefined reference to `gzgets'
nam_stream.o: In function `NamStreamCompressedFile::get_char(void)':
nam_stream.o(.text+0x64c): undefined reference to `gzgetc'
nam_stream.o: In function `NamStreamCompressedFile::seek(long, int)':
nam_stream.o(.text+0x688): undefined reference to `gzseek'
nam_stream.o(.text+0x6a0): undefined reference to `gzread'
nam_stream.o(.text+0x6b4): undefined reference to `gztell'
nam_stream.o(.text+0x6c0): undefined reference to `gzseek'
nam_stream.o: In function `NamStreamCompressedFile::tell(void)':
nam_stream.o(.text+0x6d4): undefined reference to `gztell'
nam_stream.o: In function `NamStreamCompressedFile::close(void)':
nam_stream.o(.text+0x6e8): undefined reference to `gzclose'
nam_stream.o: In function `NamStreamCompressedFile::eof(void)':
nam_stream.o(.text+0x700): undefined reference to `gzeof'
nam_stream.o: In function `NamStreamCompressedFile::read(char *, int)':
nam_stream.o(.text+0x71c): undefined reference to `gzread'
collect2: ld returned 1 exit status
make: *** [nam] Error 1