[Tinyos-help] Compile Problem

Jose Moreno Jose_Moreno at HMC.Edu
Fri Feb 22 16:45:00 PST 2008


Hello,
So we're trying to compile tenet from source. However, we seem to be having trouble with tinyos. We are providing the errors that we are receiving when we try to make micaz. If you have any insight in any of the following errors we would love to hear them. We are using the CVS tree for tinyos and are compiling tenet's source from CVS also. If you have any questions, please do not hesitate to ask.

BFSNet
Harvey Mudd College

takashi at saito:~/tenet/mote/apps$ make micaz
BaseStation....
    compiling BaseStation to a micaz binary
In file included from /home/takashi/tinyos-1.x/tos/platform/mica2/CC1000RadioC.nc:89,
                 from /home/takashi/tinyos-1.x/tos/platform/mica2/RadioCRCPacket.nc:42,
                 from RadioComm.nc:65,
                 from GenericComm.nc:72,
                 from NewQueuedSend.nc:61,
                 from BaseStation.nc:71:
In component `HPLCC1000M':
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc: In function `HPLCC1000.init':
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:54: implicit declaration of function `TOSH_MAKE_CC_CHP_OUT_INPUT'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:55: implicit declaration of function `TOSH_MAKE_CC_PALE_OUTPUT'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:56: implicit declaration of function `TOSH_MAKE_CC_PCLK_OUTPUT'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:57: implicit declaration of function `TOSH_MAKE_CC_PDATA_OUTPUT'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:58: implicit declaration of function `TOSH_SET_CC_PALE_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:59: implicit declaration of function `TOSH_SET_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:60: implicit declaration of function `TOSH_SET_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc: In function `HPLCC1000.write':
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:82: implicit declaration of function `TOSH_CLR_CC_PALE_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:86: implicit declaration of function `TOSH_SET_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:88: implicit declaration of function `TOSH_CLR_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:89: implicit declaration of function `TOSH_CLR_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:90: implicit declaration of function `TOSH_SET_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:93: implicit declaration of function `TOSH_SET_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:94: implicit declaration of function `TOSH_CLR_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:95: implicit declaration of function `TOSH_SET_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:97: implicit declaration of function `TOSH_SET_CC_PALE_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:105: implicit declaration of function `TOSH_CLR_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc: In function `HPLCC1000.read':
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:137: implicit declaration of function `TOSH_CLR_CC_PALE_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:141: implicit declaration of function `TOSH_SET_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:143: implicit declaration of function `TOSH_CLR_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:144: implicit declaration of function `TOSH_CLR_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:145: implicit declaration of function `TOSH_SET_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:148: implicit declaration of function `TOSH_CLR_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:149: implicit declaration of function `TOSH_CLR_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:150: implicit declaration of function `TOSH_SET_CC_PCLK_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:152: implicit declaration of function `TOSH_MAKE_CC_PDATA_INPUT'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:153: implicit declaration of function `TOSH_SET_CC_PALE_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:159: implicit declaration of function `TOSH_READ_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:168: implicit declaration of function `TOSH_MAKE_CC_PDATA_OUTPUT'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:169: implicit declaration of function `TOSH_SET_CC_PDATA_PIN'
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc: In function `HPLCC1000.GetLOCK':
/home/takashi/tinyos-1.x/tos/platform/mica2/HPLCC1000M.nc:178: implicit declaration of function `TOSH_READ_CC_CHP_OUT_PIN'
In file included from /home/takashi/tinyos-1.x/tos/platform/mica2/RadioCRCPacket.nc:42,
                 from RadioComm.nc:65,
                 from GenericComm.nc:72,
                 from NewQueuedSend.nc:61,
                 from BaseStation.nc:71:
In component `CC1000RadioC':
/home/takashi/tinyos-1.x/tos/platform/mica2/CC1000RadioC.nc: At top level:
/home/takashi/tinyos-1.x/tos/platform/mica2/CC1000RadioC.nc:105: `TOS_ADC_CC_RSSI_PORT' undeclared here (not in a function)
In file included from ../../lib/FramerM.nc:63,
                 from /home/takashi/tinyos-1.x/tos/system/UARTFramedPacket.nc:53,
                 from UARTForwardComm.nc:65,
                 from GenericComm.nc:72,
                 from NewQueuedSend.nc:61,
                 from BaseStation.nc:71:
In C file:
/home/takashi/tinyos-1.x/tos/platform/avrmote/crc.h:31: redefinition of `crcTable'
/home/takashi/tinyos-1.x/tos/platform/avrmote/crc.h:31: previous declaration of `crcTable'
/home/takashi/tinyos-1.x/tos/platform/avrmote/crc.h:66: redefinition of `crcByte'
/home/takashi/tinyos-1.x/tos/platform/avrmote/crc.h:66: previous declaration of `crcByte'
In file included from BaseStation.nc:71:
In component `NewQueuedSend':
NewQueuedSend.nc:63: component CC2420RadioC not found
NewQueuedSend.nc:81: cannot find `MacControl'
In file included from BaseStation.nc:78:
In component `ServiceM':
ServiceM.nc:56: interface CC2420Control not found
ServiceM.nc: In function `ServiceRequestReceive.receive':
ServiceM.nc:147: interface has no command or event named `SetRFPower'
ServiceM.nc:148: interface has no command or event named `GetRFPower'
In file included from ../../lib/timesync/TimeStampingC.nc:59,
                 from ../../lib/timesync/TimeSyncC.nc:53,
                 from BaseStation.nc:89:
In component `CC2420TimeStampingM':
../../lib/timesync/CC2420TimeStampingM.nc: At top level:
../../lib/timesync/CC2420TimeStampingM.nc:52: interface HPLCC2420RAM not found
../../lib/timesync/CC2420TimeStampingM.nc: In function `RadioSendCoordinator.startSymbol':
../../lib/timesync/CC2420TimeStampingM.nc:130: interface has no command or event named `write'
../../lib/timesync/CC2420TimeStampingM.nc: At top level:
../../lib/timesync/CC2420TimeStampingM.nc:163: `readDone' is not in interface `HPLCC2420RAM'
../../lib/timesync/CC2420TimeStampingM.nc:166: `writeDone' is not in interface `HPLCC2420RAM'
In file included from ../../lib/timesync/TimeStampingC.nc:71,
                 from ../../lib/timesync/TimeSyncC.nc:53,
                 from BaseStation.nc:89:
In component `HPLCC2420M':
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc:46: interface HPLCC2420 not found
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc:103: `cmd' is not in interface `HPLCC2420'
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc:128: `write' is not in interface `HPLCC2420'
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc:159: `read' is not in interface `HPLCC2420'
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc: In function `signalRAMRd':
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc:184: interface has no command or event named `readDone'
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc: At top level:
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc:192: `read' is not in interface `HPLCC2420RAM'
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc: In function `signalRAMWr':
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc:198: interface has no command or event named `writeDone'
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc: At top level:
/home/takashi/tinyos-1.x/tos/platform/micaz/HPLCC2420M.nc:208: `write' is not in interface `HPLCC2420RAM'
In component `TimeStampingC':
../../lib/timesync/TimeStampingC.nc:81: cannot find `RadioSendCoordinator'
../../lib/timesync/TimeStampingC.nc:82: cannot find `RadioReceiveCoordinator'
In component `BaseStation':
BaseStation.nc:133: no match
make[1]: *** [build/micaz/main.exe] Error 1
make: *** [micaz] Error 1


More information about the Tinyos-help mailing list