hi ns-users:

It is very simple: Before doing anything, everything works well.
Later I only do: #include <wpan/p802_15_4mac.h>  in aodv.h file. And when I 
do make clean, make, I obtain the errors:

In file included from wpan/p802_15_4phy.h:58,
                 from wpan/p802_15_4mac.h:57,
                 from zaodv/zigbee.cc:9:
mac/wireless-phy.h:129: error: syntax error before 'r'
mac/wireless-phy.h:129: error: missing ';' before right brace
mac/wireless-phy.h: In member function `bool& WirelessPhy::Is_node_on()':
mac/wireless-phy.h:97: error: `node_on_' undeclared (first use this 
function)
mac/wireless-phy.h:97: error: (Each undeclared identifier is reported only 
once
   for each function it appears in.)
mac/wireless-phy.h: In member function `bool WirelessPhy::Is_sleeping()':
mac/wireless-phy.h:98: error: `status_' undeclared (first use this function)
mac/wireless-phy.h: At global scope:
mac/wireless-phy.h:130: error: `bool node_on_' used prior to declaration
mac/wireless-phy.h:131: error: no matching function for call to 
`Sleep_Timer::
   Sleep_Timer()'
mac/wireless-phy.h:56: error: candidates are: Sleep_Timer::Sleep_Timer(const
   Sleep_Timer&)
mac/wireless-phy.h:58: error:
   Sleep_Timer::Sleep_Timer(WirelessPhy*)
mac/wireless-phy.h:132: error: `int status_' used prior to declaration
mac/wireless-phy.h:134: error: syntax error before `private'
mac/wireless-phy.h: In function `EnergyModel* em()':
mac/wireless-phy.h:142: error: `node' undeclared (first use this function)
mac/wireless-phy.h: At global scope:
mac/wireless-phy.h:144: error: `friend' can only be specified inside a class
mac/wireless-phy.h:146: error: syntax error before `}' token
make: *** [aodv/aodv.o] Error 1

Why??. I have not modified anything anymore. Please, help me.
Thank you.

_________________________________________________________________
Descubre la descarga digital con MSN Music. Más de un millón de canciones. 
http://music.msn.es/

Reply via email to