adding a new protocol
I have created a SDL protocol and i would like to add in the protocol to my linux machine, but this error came out.
i followed http://www.isi.edu/nsnam/ns/tutorial/ PHP Code:
|
It's been a while since I've been working with ns, but I'd guess there is a declaration of DataBus in one of the .h files missing ... Check also the Tcl file if it's ok.
|
I haven't used ns ever, however, looking at the errors I suspect that in that tutorial in section VII you missed the step where you add your object file, where you implement the DataBus object, to the Makefile.
|
is there any steps on how to resolve this?
this is quite urgent thanks |
http://www.isi.edu/nsnam/ns/tutorial/ is the front page.
You will have to specify the chapter, like e.g. VIII or XI. And / or : right click on the index = left column, and "Copy Link Location" for the chapter, and show it, like : examples http://www.isi.edu/nsnam/ns/tutorial...pt2.html#first http://www.isi.edu/nsnam/ns/tutorial...pt4.html#first And please attach your code(s), or upload it to a pastebin site, + provide a link to the file location. .. |
3 Attachment(s)
http://www.isi.edu/nsnam/ns/tutorial/nsnew.html i tried to add the SDL protocol using this
i have attached my files in here, kindly advice thanks |
Simple data link (SDL) protocol
http://www.google.com/webhp#hl=en&su...e96c95c947f3f0 http://www.isi.edu/nsnam/ns/tutorial/nsnew.html , chapter VII.2. : QUOTE : .. "But first of all, some other files have to be edited before ns can be recompiled." .. |
okie... wad is the files that is needed to be edited? could you advice?
i have added the steps in http://www.isi.edu/nsnam/ns/tutorial/nsnew.html but i cant compile thanks =) |
In your SD_APP_HDR.h you declare DataBus as external (defined by another cpp module). Do you know which library or cpp file defines this global variable? When you find that, add it to the things to be linked by the make file.
|
VII.2 , please read the line coming right after this text :
Quote:
http://www.isi.edu/nsnam/ns/tutorial/nsnew.html#third |
All times are GMT -5. The time now is 10:06 AM. |