Dear Sir, I am Using Tinyos-1.x in Linux platform. When i run make pc command for running TestTinySec(or any) application then it runs perfectly but when i run the command make mica2 then its gives warnings and Errors as bellow.......
................... .............................lots of warnings............ /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc: In function `StdControl.init': /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc:237: implicit declaration of function `PRG_RDB' /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc: In function `SetTransmitMode': /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc:294: implicit declaration of function `PRG_RDB' /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc: In function `WakeupTimer.fired': /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc:376: implicit declaration of function `PRG_RDB' /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc: In function `StdControl.start': /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc:426: implicit declaration of function `PRG_RDB' /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc:438: implicit declaration of function `PRG_RDB' /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc: In function `SpiByteFifo.dataReady': /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc:642: implicit declaration of function `PRG_RDB' /opt/tinyos-1.x/tos/platform/mica2/CC1000RadioIntTinySecM.nc:680: implicit declaration of function `PRG_RDB' /opt/tinyos-1.x/tos/platform/mica2/CC1000ControlM.nc: In function `CC1000Control.TunePreset': /opt/tinyos-1.x/tos/platform/mica2/CC1000ControlM.nc:381: implicit declaration of function `PRG_RDB' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc: In function `StdControl.stop': /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:87: implicit declaration of function `cbi' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc: In function `ADC.init': /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:96: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc: In function `ADC.setSamplingRate': /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:104: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:106: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc: In function `ADC.samplePort': /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:124: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:126: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc: In function `ADC.sampleAgain': /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:133: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc: In function `__vector_21': /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:145: implicit declaration of function `inw' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:147: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/platform/mica2/HPLADCM.nc:148: implicit declaration of function `cbi' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc: In function `__vector_17': /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:54: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:55: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc: In function `SpiByteFifo.readByte': /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:71: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc: In function `SpiByteFifo.enableIntr': /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:76: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:77: implicit declaration of function `cbi' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc: In function `SpiByteFifo.disableIntr': /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:83: implicit declaration of function `cbi' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:84: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc: In function `SpiByteFifo.initSlave': /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:95: implicit declaration of function `cbi' /opt/tinyos-1.x/tos/platform/mica2/HPLSpiM.nc:97: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/system/TimerM.nc: In function `Timer.start': /opt/tinyos-1.x/tos/system/TimerM.nc:102: implicit declaration of function `inp'/opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `Clock.setInterval': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:88: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `Clock.getInterval': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:98: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `Clock.setIntervalAndScale': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:123: implicit declaration of function `cbi' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:124: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:129: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `Clock.readCounter': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:135: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `Clock.setCounter': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:139: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `Clock.intDisable': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:143: implicit declaration of function `cbi' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `Clock.intEnable': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:146: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `Clock.setRate': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:153: implicit declaration of function `cbi' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:155: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:158: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc: In function `__vector_15': /opt/tinyos-1.x/tos/platform/mica/HPLClock.nc:172: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc: In function `getPowerLevel': /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc:65: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc: In function `doAdjustment': /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc:87: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc:97: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc:98: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc: In function `PowerManagement.adjustPower': /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc:106: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc:109: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLPowerManagementM.nc:110: implicit declaration of function `sbi' /opt/tinyos-1.x/tos/lib/TinySec/TinySecM.nc: In function `interruptDisable': /opt/tinyos-1.x/tos/lib/TinySec/TinySecM.nc:208: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc: In function `UART.init': /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc:66: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc: In function `UART.stop': /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc:83: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc: In function `__vector_18': /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc:91: implicit declaration of function `inp' /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc: In function `UART.put': /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc:106: implicit declaration of function `outp' /opt/tinyos-1.x/tos/platform/mica2/HPLUART0M.nc:107: implicit declaration of function `sbi' make: *** [build/mica2/main.exe] Error 1 Sir it is very urgent to solve this problem.pls help me out. Thank you. NIlkanth.
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
