There is no symbol table can be read, please use the file orders .
When I use GDB to debug the program.For example:
funny@funny:~/ns-allinone-2.34/ns-2.34/zbr$ gdb ns (gdb) zbr.cc:123 There is anerror as fellows: There is no symbol table can be read, please use the file orders . make breakpoint pending on future shared library load. Please help me!Thank you very much! |
You need to compile the desired program with -g option.
|
Quote:
When I carry out:gcc -g zbr.cc -o zbr,there is an error as fellows: fatal error:zbr/zbr.h:there is no this files . (zbr/zbr.h is a header file in zbr.cc) And when I carry out GDB,the error I said last time always exit. Can you tell me the resolution?Thank you very much |
Quote:
Quote:
Secondly, you can run GDB only when there are no compilation errors. |
Quote:
Now I want to carry out a topology structure by a script language named cyl.tcl which use the protocol of ZBR.So I carry out the process as I have said at #1,#3. As some books presented,beforing using GDB we shouls modify the MAKEfile(put CCOPT =-Wall to CCOPT =-Wall -g,put CC=gcc to CC=gcc-g,put CPP=g++ to CC=gcc-g).So I said I have added -g in makefile. I hope you can understang me now.At the same time,I hope you can help me.Thank you very much! |
All times are GMT -5. The time now is 08:57 AM. |