[ns] file not recognized: File format not recognized error

Swalaxmi Pandit swalaxmi at gmail.com
Fri Nov 10 12:35:36 PST 2006


Hi,

After writing the code and saving the file by the name example1a.tcl in the
tcl directory,when I try to run the program by giving the command,
gcc -o example1a example1a.tcl
I am getting the following error:-
example1a.tcl: file not recognized: File format not recognized
collect2: ld returned 1 exit status

What should I do to eliminate this error?

Thanks & Regards,
Swalaxmi


More information about the Ns-users mailing list