[Ns-developers] Patch #1396036 and problem with current 802.15 module using gcc-3.3/3.4
mahrenho at gmail.com
Wed Jan 25 12:38:03 PST 2006
I took an extensive look on the patch submitted as #1396036 (Code cleanup)
on SF. I tested it using gcc4.0 on x86 and AMD64 and it does not break
anything that was not broken before (some validation tests on AMD64 and a
crude hack in mac/mac-802_11.cc / Mac802_11::hdr_type) but makes it possible
to compile the whole source with -strict option.
I would apply the path, but as it touches files across the whole tree I
would rather have someone else to test it on other platforms first.
During my testing I noticed that it is not possible (at least for me) to
link the current CVS version (without the patch) using g++3.3 and 3.4 (g++-
3.3 (GCC) 3.3.6 (Debian 1:3.3.6-12) / g++-3.4 (GCC) 3.4.5 (Debian 3.4.5-1))
because of an error in wpan/p802_15_4mac.o :
`.gnu.linkonce.t._ZN11taskPending10taskStatusEh' referenced in section
`.rodata' of wpan/p802_15_4mac.o: defined in discarded section
`.gnu.linkonce.t._ZN11taskPending10taskStatusEh' of wpan/p802_15_4mac.o
Can anyone confirm this problem?
More information about the Ns-developers