On 6/9/06, Cristina Marisol Ortiz De La Roche <[EMAIL PROTECTED]> wrote: > > > > Hi everyone!!! > > I'm trying simulate MPEG4 traffic with the file MPEG4_traffic.cc from Ashraf > Matrawy (page http://www.sce.carleton.ca/~amatrawy/mpeg4/). I have done > everything that was in the readme file, but when i simulate the traffic, ns-2 > doesn't find the file. The error is: invalid command name > "Application/Traffic/MPEG4". > I dont't know if i'm doing something wrong with the makefile (because i am not > an expert). > > Someone has already work with this file??? > > Thanks a lot for a helpful information!!!! > > Best regards, > Cristina >
Hi, i'm currently using this MPEG4 traffic source without any problem. You have to put mpeg4_traffic.cc in ns-allinone-2.29/ns-2.29/tools and add the following line in your Makefile that you can find in the ns-allinone-2.29/ns-2.29 directory: tools/mpeg4_traffic.o \ pay attention to the last backslash, it's important and another important thing is put this line under the OBJ_CC. Ok reasuming: - put mpeg4_traffic.cc in the tools directory - edit the Makefile searching for OBJ_CC and adding this line: tools/mpeg4_traffic.o \ - run the command make from the same directory of the Makefile That's it. -- Daniele