Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
1)myevalvid2.rar >> myevalvid/ : The code builds OK.
Add myevalvid : cp -a myevalvid/ ns-allinone-2.28/ns-2.28/
1st i am comming to myevalvid directory by writting cd myevalvid2/myevalvid ,
then in this directory i am typing cp -a myevalvid/ ns-allinone-2.28/ns-2.28/
i got error like
cp: cannot stat `myevalvid/': No such file or directory
actually in which palce i will type cp -a myevalvid/ ns-allinone-2.28/ns-2.28/,i am not getting.
pls tell me.
2)Use the new Makefile.in : Attached as myevalvid-Makefile.in.txt :
Rename to Makefile.in, and : cp -a Makefile.in ns-allinone-2.28/ns-2.28/
here i have downloaded myevalvid -Makefile.in.txt,then i have to rename it as Makefile.in
then in which place i will write cp -a Makefile.in ns-allinone-2.28/ns-2.28/
i am confused.pls guide.
3)cd ns-allinone-2.28/ns-2.28/ && make clean && ./configure && make
sir by comming to myevalvid directory.then by writing ns-myevalvid be_a01.tcl
but after that i deleted
rd_a01 and sd_a01 and st_a01 files
then error is comming like
couldn't open "st_a01": no such file or directory
"open $original_file_name r"
invoked from within
"set original_file_id [open $original_file_name r]"
(file "be_a01.tcl" line 35)
but when i am putting st_a01 file in myevalvid folder
then by comming to myevalvid directory.then by writing ns-myevalvid be_a01.tcl
sir i have not deleted sd,rs,st files.
i have all the files.
and i also got
sir i just used the example given inside evalvid.
in which way i will know what video i have transmitted?
common/packet.cc: In member function ‘virtual void CommonHeaderClass::export_offsets()’:
common/packet.cc:118:26: error: cast from ‘packet_t*’ to ‘int’ loses precision [-fpermissive]
common/packet.cc:119:25: error: cast from ‘int*’ to ‘int’ loses precision [-fpermissive]
common/packet.cc:120:24: error: cast from ‘int*’ to ‘int’ loses precision [-fpermissive]
common/packet.cc:121:26: error: cast from ‘int*’ to ‘int’ loses precision [-fpermissive]
make: *** [common/packet.o] Error 1
I have read a couple of posts which said I needed to change int type to intptr_t or size_t or long etc. I tried them all but it still gives me the same error.
Could anyone please tell me what is wrong and how to rectify this error.
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
# 39, @johnli.
Which OS are you using ? Like Fedora 18 - 32bit, Ubuntu 12.10 - 32bit etc.
And which compiler is used for ns-2.28 ?
(Example 'Makefile' line 37 : CPP = g++-4.1 ).
About the modified headers : common/packet.h, common/agent.h,
and the modified program , common/agent.cc :
Please attach the three files to a new post as packet.h.txt, agent.h.txt, agent.cc.txt.
Attachments : The 'Paper clip tool' in the "Advanced Editor".
( Or : Upload the three files to 'Google Docs'.)