./configure --enable-debug make clean makeNote: After you have done that, the Makefile is initialized again and loose all your changes to Makefile if your did some.
When ns-2 crashes, here are some possible places to check for any causes of errors:
- Scheduler: Event UID not valid!. This is probably associated with timers. If a timer has been called to start again before it expires...
- Segmentation fault. A pointer goes to a wrong place. A pointer is out of bound. Or null pointer value.
- No obvious cause of fault. Program stopped in a place that no obvious coding errors can be found. Try "make clean + make". Sometimes, if *.h file is changed, the cross-included header files needs to be re-compiled into the final program.