[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Compilation error on ns2.1b8



Dear All,
When I compile ns2.1b8 on my window machine, I got the following error:

LINK : warning LNK4031: no subsystem specified; CONSOLE assumed
trace.o : error LNK2001: unresolved external symbol "public: __thiscall
BaseTrace::BaseTrace(void)" (??0BaseTrace@@QAE@XZ)
ns.exe : fatal error LNK1120: 1 unresolved external

After some troubleshooting, I found that the file basetrace.cc was not being
compiled. That could be the reason why the external reference could not be
resolved. Can someone pls advise me if you had the same encounter.

I check through the source in ns2.1b7 and also did not find that
"basetrace.o". After checked through the source in "basetrace.cc", I found
out that there are differences between the two versions and that the absence
of "basetrace.o" will not cause any linking error.

Pls help.

Thanks,
kian moh