Hi, I believe you should read a little more about C++ development before attempting to code ns-2. "undefined reference" is a linker problem (It's only a guess).
Beside, I strongly suggest that you avoid mail Subject like "help me please" since It doesn't say a bit what you need. You should try not to waste people time and ask a detailed question and be very polite. This goes also to a rather LARGE part of the members of this list. Greetings, Ezequiel. --- El mar 12-ene-10, Fahimeh Akbari <fahimeh...@yahoo.com> escribió: De: Fahimeh Akbari <fahimeh...@yahoo.com> Asunto: [ns] Fw: help me please Para: "ns isi.edu" <ns-users@ISI.EDU> Fecha: martes, 12 de enero de 2010, 12:59 pm dearall Hi I write a transport protocol myself (RCRT in WSN) and I forced neede changes according to NS manuals after making ns, i get an error according to this : trace/cmu-trace.o: In function `hdr_rcrtsink::access(Packet const*)': cmu-trace.cc:(.text._ZN12hdr_rcrtsink6accessEPK6Packet[hdr_rcrtsink::access(Packet const*)]+0x7): undefined reference to `hdr_rcrtsink::offset_' trace/cmu-trace.o: In function `hdr_rcrt::access(Packet const*)': cmu-trace.cc:(.text._ZN8hdr_rcrt6accessEPK6Packet[hdr_rcrt::access(Packet const*)]+0x7): undefined reference to `hdr_rcrt::offset_' collect2: ld returned 1 exit status make: *** [ns] Error 1 fakb...@ubuntu:~/ns-allinone-2.28/ns-2.28$ it's so important for me. can you help me, please! regaurds: Fahimeh .Akbari ________________________________ From: Mubashir Rehmani <mshrehm...@gmail.com> To: Fahimeh Akbari <fahimeh...@yahoo.com> Sent: Tue, January 12, 2010 12:22:55 PM Subject: Re: [ns] help me please Hello, Please see this file http://masimum.inf.um.es/nsrt-howto/pdf/nsrt-howto.pdf Regards 2010/1/12 Fahimeh Akbari <fahimeh...@yahoo.com> >>hello every body > >>I write a new protocol in ns and when I make it, I see this error: >>make: *** No rule to make target `rcrt/rcrtsink.o', needed by `ns'. Stop. > >>can anybody help me, pleaaaase!! > >>thanks: fahimeh > > > > > -- Mubashir Husain Rehmani Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/ Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/