I'm not Matthias, but it's seems that you haven't declared "node_wakeup" "node_sleep" in your mac/mac-tdma.h you can try it. Or "make clean, make depend, make", maybe they are declared somewhere Pei
Message: 3 Date: Wed, 29 Nov 2006 13:02:25 +0100 From: "juan manuel gomez garcia" Subject: Re: [ns] sleep a node To: [email protected] Message-ID: Content-Type: text/plain; charset=iso-8859-1; format=flowed Hi Matthias : I'm investigating the energy consumption in zigbee routing protocol. For that I need that the nodes sleep. Then I found the code of Iyappan. This are the steps that I do: ? Delette the files of ns2. ? Copy the files of Iyappan. ? 'make clean' ? 'make' but the 'make' dont finish because I obtain the next error: mac/mac-tdma.cc: In member function `void MacTdma::radioSwitch(int)': mac/mac-tdma.cc:484: error: `node_wakeup' undeclared (first use this function) mac/mac-tdma.cc:484: error: (Each undeclared identifier is reported only once for each function it appears in.) mac/mac-tdma.cc:494: error: `node_sleep' undeclared (first use this function) make: *** [mac/mac-tdma.o] Error 1 I have not modified anything. What are the changes that you do for Iyappan code run ok? Thank you very much for your help. l f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _________________________________________________________________ Descubre la descarga digital con MSN Music. M?s de un mill?n de canciones. http://music.msn.es/ --------------------------------- Mp3疯狂搜-新歌热歌高速下
