[ns] ns-2.33 re-compilation error
Waleed Tuffaha
tuffaha at gmail.com
Sat Dec 6 09:28:57 PST 2008
Hello,
I was writing an agent in ns-2.33 and it was compiling and working well.
Then I tried to recompile ns-allinone 2.33 with debugging enabled and I got
the following error:
trace/cmu-trace.o: In function `hdr_dgab_pkt::access(Packet const*)':
cmu-trace.cc:(.text._ZN12hdr_dgab_pkt6accessEPK6Packet[hdr_dgab_pkt::access(Packet
const*)]+0x7): undefined reference to `hdr_dgab_pkt::offset_'
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Note that the same code didn't give any errors when I was compiling the
ns-2.33 directory only, but when I ran ./install in the ns-allinone-2.33
directory I got that error.
Does anyone know what causes this error or how to solve it ?
Thanks,
-- Waleed
More information about the Ns-users
mailing list