Hi everyone,
I'm trying to compile and debug a small piece of code I have written for ns2. I was trying to create a main() function to check if my code works properly, but when I compile it, an error appears: "There is another main function before in tclAppInit file". So, I can't debug that way. I tried creating a new makefile with only the files this main() needs, but it needs almost all the files and it's never-ending. Anyone could help me? I don't know how to do it. I find quite impossible debug the code executing a simulation script. I think I should do it starting from the C level and check that it works ok before start simulating. Any suggestions? Thanks, Jon Suarez
