Hello,
I am running Cygwin 1.5.23 on Windows XP. I managed to install NS-2 v2.29
without any problems. I have now deleted my NS-2 v2.29 directories, re-created
them from the original tarball, and installed the nrlns2Extender-2.29a1
patches, which contain the following:
* NRL-OLSR
* NRL-SMF
* Protolib
* MGEN
* NORM
* MDP
* MAS
* Agentj (with timers)
* P2PS
The patches included several modifications to my NS Makefile. As a result,
"make ns" no longer successfully compiles NS. This may be unrelated, but in
addition to installing the patches, it was also necessary to create a
libjvm.dll.a file using dlltool in Cygwin. The error that I am getting is as
follows:
protolib/ns/nsProtoSimAgent.o: In function `NsProtoSimAgent':
protolib/ns/nsProtoSimAgent.cpp:8: undefined reference to
`_ZN5AgentC2E8packet_t'
protolib/ns/nsProtoSimAgent.cpp:9: undefined reference to `_ZN5AgentD2Ev'
protolib/ns/nsProtoSimAgent.cpp:9: undefined reference to `_Unwind_Resume'
protolib/ns/nsProtoSimAgent.cpp:8: undefined reference to
`_ZN5AgentC2E8packet_t'
protolib/ns/nsProtoSimAgent.cpp:9: undefined reference to `_ZN5AgentD2Ev'
protolib/ns/nsProtoSimAgent.cpp:9: undefined reference to `_Unwind_Resume'
protolib/ns/nsProtoSimAgent.o: In function `~NsProtoSimAgent':
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_ZN5AgentD2Ev'
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_Unwind_Resume'
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_ZN5AgentD2Ev'
protolib/ns/nsProtoSimAgent.cpp:15: undefined reference to `_ZdlPv'
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_ZN5AgentD2Ev'
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_Unwind_Resume'
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_ZN5AgentD2Ev'
protolib/ns/nsProtoSimAgent.cpp:15: undefined reference to `_ZdlPv'
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_ZN5AgentD2Ev'
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_Unwind_Resume'
protolib/ns/nsProtoSimAgent.cpp:13: undefined reference to `_ZN5AgentD2Ev'
protolib/ns/nsProtoSimAgent.cpp:15: undefined reference to `_ZdlPv'
protolib/ns/nsProtoSimAgent.o: In function
`_ZN15NsProtoSimAgent7commandEiPKPKc':
protolib/ns/nsProtoSimAgent.cpp:21: undefined reference to `strcmp'
protolib/ns/nsProtoSimAgent.cpp:29: undefined reference to `stderr'
protolib/ns/nsProtoSimAgent.cpp:29: undefined reference to `fprintf'
protolib/ns/nsProtoSimAgent.cpp:33: undefined reference to `strcmp'
protolib/ns/nsProtoSimAgent.cpp:43: undefined reference to
`_ZN5Agent7commandEiPKPKc'
...and so on.
I could provide my NS2 Makefile.in if that would help.
Thanks,
Steve