LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   An error after installing tcl-debug-2.0 (https://www.linuxquestions.org/questions/linux-newbie-8/an-error-after-installing-tcl-debug-2-0-a-939558/)

aicaicai 04-12-2012 09:05 PM

An error after installing tcl-debug-2.0
 
After I add the routing protocol of ZBR,when I make,there is no error.But,When I install tcl-debug-2.0,after the process of make clean,./configure --with-tcldebug=/home/ns/ns-allinone-2.31/lib/tcldbg2.0/ ,make,there is an error as follows:

trace/cmu-trace.o: In function `hdr_zbr::access(Packet const*)':
cmu-trace.cc:(.text._ZN7hdr_zbr6accessEPK6Packet[hdr_zbr::access(Packet const*)]+0x7): undefined reference to `hdr_zbr::offset_'
collect2: ld 返回 1
make: *** [ns] 错误 1

Please help me.Thank you very much!

Tinkster 04-12-2012 09:56 PM

I know nothing about zbr, or how you installed it, but the error you see is the linker
complaining that it can't see the library/object file ... add a CFLAGS='-L/path/to/zbrlib'
before ./configure and see whether that helps ...


All times are GMT -5. The time now is 11:47 PM.