Quote:
Originally Posted by Anisha Kaul
You mean this line is in the make file somewhere?
Does zbr.h exist in the desired directory? Check it manually.
Secondly, you can run GDB only when there are no compilation errors.
|
I want to add a routing protocol in ns-2.34.So I set up a file named ZBR.There is seven files in the ZBR,such as zbr.cc,zbr.h,zbr_packet.h,zbr_rqueue.cc and so on.And I have through the process of make clean,make depend,make.
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!