2016-09-26 1 views
0

tinyos-2.1.2/apps/tests/tkn154에서 예제 응용 프로그램을 컴파일하려고합니다. 응용 프로그램은 telosb 및 micaz motes (make telosb 또는 make micaz 사용)에 대해 오류없이 컴파일합니다.TOSSIM 용 tkn154 테스트 응용 프로그램 컴파일시 오류가 발생했습니다.

그러나 'make micaz sim'을 사용하여 TOSSIM 시뮬레이션을 위해 컴파일하는 동안 여러 가지 문제가 발생합니다. 누구든지 오류의 위치를 ​​알려주십시오.

감사와 관련,


터미널 출력 :

에서 mkdir -p simbuild/micaz simbuild의 오브젝트 파일을 배치 이/micaz 쓰기 XML 스키마 파일을 이의를 TestAssociateAppC를 컴파일 을 app.xml하기 sim.o ncc -c -shared -fPIC -o simbuild/micaz/sim.o -g -O0 -tossim -fnesc-nido-tosnodes = 1000 -fnesc-simulate -fnesc-nido-motenumber = sim_node() -fnesc -gcc = gcc -Wall -Wshadow -Wnesc-all -target = micaz -fnesc-cfile = simbuild/micaz/app.c -board = mic asb -DDEFINED_TOS_AM_GROUP = 0x22 --param max-inline-insns-single = 100000 -I/opt/tinyos-2.1.2/apps/tests/tkn154/nonbeacon-enabled/TestAssociate/device/.. -DIDENT_APPNAME = \ "TestAssociateAp \ "-DIDENT_USERNAME = \"kbhargava \ "-DIDENT_HOSTNAME = \"정밀도 \ "-DIDENT_USERHASH = 0x78c52cfbL -DIDENT_TIMESTAMP = 0x57e996e9L -DIDENT_UIDHASH = 0xe5bdc59eL -I/opt/tinyos-2.1.2/tos/lib/mac/tkn154 -I /opt/tinyos-2.1.2/tos/lib/mac/tkn154/dummies -I/opt/tinyos-2.1.2/tos/lib/mac/tkn154/interfaces/MCPS -I/opt/tinyos-2.1.2/tos/lib/mac/tkn154/interfaces/MLME -I/opt/tinyos-2.1.2/tos/lib/mac/tkn154/interfaces/개인 -I/opt/tinyos-2.1.2/tos/lib/mac/tkn154/interfaces/public -I/opt/tinyos-2.1.2/tos/platforms/micaz/mac/tkn154 -I/opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154 -I/opt /tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/timer -I/opt/tinyos-2.1.2/tos/chips/cc2420_tkn154 -Wno-nesc-data-race TestAssociateAppC.nc -fnesc-dump = 구성 요소 -fnesc-dump = 변수 -fnesc-dump = 상수 -fnesc-dump = typedefs -fnesc-dump = interfa cedefs -fnesc - 덤프 = 파일에서 태그 -fnesc - 덤프 = app.xml 는 /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:62, 에서 TestAssociateAppC.nc에서 포함 : 39 : 인터페이스에서 Timestamp': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/Timestamp.nc:67: warning: declaration of 시간 '그림자 전역 선언 /usr/include/time.h:192 : 경고 : 그림자가있는 선언 위치 /opt/tinyos-2.1.2/tos/lib/mac/에서 파일에 있음 tkn154/TKN154NonBeaconEnabledP.nc : 97 /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:68에서 , TestAssociateAppC.nc:39에서 : 성분 DataP': /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DataP.nc: In function MCPS_DATA.request에서 ': /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DataP.nc:103 : union에는라는 구성원이 없습니다.3210 ieee154 ' 파일에서 /opt/tinyos-2.1.2/tos/lib/mac/tkn154/TKN154NonBeaconEnabledP.nc:98, /opt/tinyos-2.1.2/tos/platforms/telosb/mac/에 있습니다. tkn154/Ieee802154NonBeaconEnabledC.nc : 68 TestAssociateAppC.nc:39에서 : 성분 PibP': /opt/tinyos-2.1.2/tos/lib/mac/tkn154/PibP.nc: In function Packet.clear '물 : /opt/tinyos-2.1.2/tos/lib/mac/tkn154/PibP.nc:566 : 유니온 ieee154' /opt/tinyos-2.1.2/tos/lib/mac/tkn154/PibP.nc:567: union has no member named ieee154 ' /opt/tinyos-2.1.2/tos/lib/mac/tkn154/PibP.nc:568 : union의 구성원은 ieee154' /opt/tinyos-2.1.2/tos/lib/mac/tkn154/PibP.nc: In function Packet.payloadLength': /opt/tinyos-2.1이라는 구성원이 없습니다. 2/tos/lib/mac/tkn154/PibP.nc : 573 : union에는 ieee154' /opt/tinyos-2.1.2/tos/lib/mac/tkn154/PibP.nc: In function이라는 이름의 구성원이 없습니다. Packet.setPayloadLength ': /opt/tinyos-2.1.2/tos/lib/mac/tkn154/PibP.nc:578 : 노조에는이라는 회원이 없습니다.DispatchUnslottedCsmaP ' /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DispatchUnslottedCsmaP.nc : 기능 updateState': /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DispatchUnslottedCsmaP.nc:255: warning: declaration of 다음으로는'글로벌 선언을 /opt/tinyos-2.1.2/tos/lib/tossim/ 그림자 더미.C : 71 :주의 : 음영 선언 /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DispatchUnslottedCsmaP.nc의 위치 : 기능 tryTransmit': /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DispatchUnslottedCsmaP.nc:328: warning: declaration of 다음 '에서 글로벌 선언을 /opt/tinyos-2.1.2/ 그림자 tos/lib/tossim/heap.c : 71 : 경고 : 그림자가있는 선언의 위치 /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DispatchUnslottedCsmaP.nc : 함수에서 다음 그림자 전역 선언 /opt/tinyos-2.1.2/tos/lib/tossim/heap.c : 71 : 경고 : 그림자가있는 선언의 위치 /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DispatchUnslottedCsmaP.nc : 함수에서 trySwitchOff': /opt/tinyos-2.1.2/tos/lib/mac/tkn154/DispatchUnslottedCsmaP.nc:357: warning: declaration of 다음 그림자 전역 선언 /opt/tinyos-2.1.2/tos/lib/tossim/heap.c:71 : 경고 : 그림자가있는 선언 위치 /opt/tinyos-2.1.2/tos/에서 파일에 있음 작은 조각/ cc2420_tkn154/CC2420TKN154P.nc : 39, /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc:64, /opt/tinyos-2.1.2/tos/platforms/telosb/mac/에서 tkn154/Ieee802154NonBeaconEnabledC.nc : 91, TestAssociateAppC.nc:39에서 : C 파일에서 : /opt/tinyos-2.1.2/tos/chips/cc2420/CC2420.h : /옵션/TinyOS의 : 최상위 레벨에서 -2.1.2/tos/chips/cc2420/CC2420.h : 132 : 구문 오류 : nx_bool' /opt/tinyos-2.1.2/tos/chips/cc2420/CC2420.h:132: warning: no semicolon at end of struct or union /opt/tinyos-2.1.2/tos/chips/cc2420/CC2420.h:133: syntax error before ack ' /opt/tinyos-2.1.2/tos/chips/cc2420/CC2420.h:134 : timesync' /opt/tinyos-2.1.2/tos/chips/cc2420/CC2420.h:143: syntax error before 이전 구문 오류} ' /opt/tinyos-2.1.2/tos/chips/cc2420/CC2420.h:143 : 경고 : 기본값은 int' in declaration of입니다. cc2420_metadata_t' /opt/tinyos-2.1.2/tos/chips/cc2420/CC2420.h : 143 : 경고 : 데이터 정의 형식이나 저장 클래스가 없음 파일에 /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154P.nc:65, /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C에 포함되어 있음 .nc : 64 /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:91, 에서 TestAssociateAppC.nc:39에서 : 인터페이스 CC2420Tx': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420Tx.nc:52: warning: declaration of 소인 '에서 글로벌 선언 그림자 /opt/tinyos-2.1.2/tos/chips/cc2420/CC2420.h:135 : 경고 : 그림자가있는 선언의 위치 구성 요소 CC2420TKN154P': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154P.nc: In function waitBackoffDoneUnslottedCsma ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/ CC2420TKN154P.nc:524 : 경고 : 선언 dummy' shadows global declaration /opt/tinyos-2.1.2/tos/lib/tossim/sim_noise.c:283: warning: location of shadowed declaration /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154P.nc: In function waitBackoffDoneSlottedCsma ': /opt/tinyos -2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154P.nc : 646 : 경고 : 경고 : 그림자 선언의 위치 /opt/tinyos 경고 : 그림자 선언의 위치 /usr/include/time.h:192 : 경고 : -2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154P.nc : 901 : 경고 : time' shadows global declaration /usr/include/time.h:192: warning: location of shadowed declaration In file included from /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:72, from /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc:83, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:91, from TestAssociateAppC.nc:39: In component CC2420ControlP '의 선언 : /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:58 : 인터페이스 CC2420Ram 찾았습니다 /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:59 : 인터페이스 CC2420 레지스터가 없습니다. /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:67 : interface CC2420Strobe를 찾을 수 없음 /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc : 함수 CC2420Power.startOscillator': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:203: interface has no command or event named에서 ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC242 0ControlP.nc:207 : 인터페이스에 아무런 명령이나 이벤트가 없습니다 strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:209: interface has no command or event named ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:215 : 인터페이스에 명령이나 이벤트가 없습니다 write' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc: In function CC2420Power.stopOscillator' : /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:236 : 인터페이스에 명령 또는 이벤트가 없습니다. strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc: In function CC2420Power.rxOn ': /opt/tinyos-2.1.2/tos/chips/ cc2420_tkn154/CC2420ControlP.nc : 248 ': 기능 CC2420Power.rfOff': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:261: interface has no command or event named 스트로브 /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc' /opt/tinyos-2.1 인터페이스 strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:249: interface has no command or event named 스트로브라는 어떠한 명령 또는 이벤트가 없다 .2/tos/chips/cc2420_tkn154/CC2420ControlP.nc : 함수에서 CC2420Power.flushRxFifo': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:269: warning: declaration of 더미 '그림자 전역 선언 /opt/tinyos-2.1.2/tos/lib/tossim/sim_noise.c:283 : 경고 : 섀도 잉 선언의 위치 /opt/tinyos-2.1.2/tos/ 칩/cc2420_tkn154/CC2420ControlP.nc : 278 : 인터페이스에 read' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:283: interface has no command or event named 스트로보 ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:284 :이라는 명령이나 이벤트가없는 명령 또는 이벤트가 없습니다. CC2420Config.sync ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:399 : 인터페이스에 명령 또는 이벤트가 없습니다 strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc: In function CC2420Power.rssi': /opt/tinyos-2.1.2/ tos/chips/cc2420_tkn154/CC2420ControlP.nc : 425 : 인터페이스에 명령 또는 이벤트가 없습니다. read' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc: In function InterruptCCA.fired ': /opt/tinyos-2.1.2/tos/chips/cc2 420_tkn154/CC2420ControlP.nc : 451 : 인터페이스에 명령이 없습니다. write' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc: In function writeFsctrl ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:468 : 인터페이스에 명령 또는 이벤트가 없습니다. write' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc: In function writeMdmctrl0 ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:481 : 인터페이스에 명령 또는 이벤트가 없습니다. write' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc: In function writeId': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154 /CC2420ControlP.nc:511 : 인터페이스에 write' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:515: interface has no command or event named이라는 명령이나 이벤트가 없습니다. ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc : 함수 writeTxPower': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlP.nc:519: interface has no command or event named에 쓰기' 파일에는/opt/tinyos-2.1.2/tos/platforms/micaz/chips/cc2420/HplCC2420InterruptsC.nc : 39, /opt/tinyos-2.1.2/tos/chips/cc2420_t kn154/CC2420ControlTransmitC.nc : 88, /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc:83, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/ tkn154/Ieee802154NonBeaconEnabledC.nc : 91, TestAssociateAppC.nc:39에서 : 경고 : 파일에서 그림자 선언 의 위치/옵션에서 포함 인터페이스 GpioCapture': /opt/tinyos-2.1.2/tos/interfaces/GpioCapture.nc: At top level: /opt/tinyos-2.1.2/tos/interfaces/GpioCapture.nc:61: warning: declaration of 시간은 ' 가 /usr/include/time.h:192 글로벌 선언을 그림자 /tinyos-2.1.2/tos/platforms/micaz/chips/cc2420/HplCC2420InterruptsC.nc:47, from /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:88, /opt /tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc:83, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaco nEnabledC.nc:91, TestAssociateAppC.nc:39에서 : 구성 요소 Atm128GpioCaptureC': /opt/tinyos-2.1.2/tos/chips/atm128/timer/Atm128GpioCaptureC.nc:71: warning: declaration of 시간은 '글로벌 선언을 그림자 /usr/include/time.h:192 : 경고 : 파일에서 그림자 선언 의 위치는/옵션/TinyOS의에서 포함 -2.1.2/tos/chips/atm128/timer/HplAtm128Timer1C.nc : 53, from /opt/tinyos-2.1.2/tos/platforms/micaz/chips/cc2420/HplCC2420InterruptsC.nc:48, /opt /tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:88, /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc:83, /opt/tinyos-2.1에서 .2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc : 91, 에서 TestAssociateAppC.nc:39 : 구성 요소 HplAtm128Timer1P': /opt/tinyos-2.1.2/tos/chips/atm128/timer/HplAtm128Timer1P.nc:215: warning: declaration of time '그림자 전역 선언 /usr/include/time.h:192 : 경고 : 섀도 잉 된 선언의 위치 /opt/tinyos-2.1.2/tos/platforms/micaz/chips/cc2420/HplCC2420InterruptsC에서 파일에 있음. NC : 53, /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:88에서 , /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc:83에서 , /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:91, 에서 TestAssociateAppC.nc:39에서 : 성분 HplAtm128InterruptPinP': /opt/tinyos-2.1.2/tos/chips/atm128/pins/HplAtm128InterruptC.nc:62: component arguments must be constants In component HplAtm128InterruptPinP '물 : /opt/tinyos-2.1. 2/tos/chips/atm128/pins/HplAtm128InterruptC.NC : 63 : 구성 요소 인수 '구성 요소 HplAtm128InterruptPinP': /opt/tinyos-2.1.2/tos/chips/atm128/pins/HplAtm128InterruptC.nc:64: component arguments must be constants In component HplAtm128InterruptPinP에서 상수 해야합니다 : /opt/tinyos-2.1.2/tos/chips/atm128/pins/HplAtm128InterruptC.nc:65 : 구성 요소 인수 구성 요소 HplAtm128InterruptPinP': /opt/tinyos-2.1.2/tos/chips/atm128/pins/HplAtm128InterruptC.nc:66: component arguments must be constants In component HplAtm128InterruptPinP에서 상수 해야합니다 ' /opt/tinyos-2.1.2/tos/chips/atm128/pins/HplAtm128InterruptC.nc:67 : 구성 요소 인수가 구성 요소 HplAtm128InterruptPinP': /opt/tinyos-2.1.2/tos/chips/atm128/pins/HplAtm128InterruptC.nc:68: component arguments must be constants In component HplAtm128InterruptPinP에서 상수 해야한다' /opt/tinyos-2.1.2/tos/ 칩/atm128/pins/HplAtm128InterruptC.nc : 69 : 구성 요소 인수는 상수 여야합니다. /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc:83에서 파일에 포함 된/opt/tinyos- 2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc : 91,TestAssociateAppC.nc:39에서: '구성 요소 CC2420ControlTransmitC': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:91: component CC2420SpiC not found /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:91: component CC2420SpiC에서이/옵션/tinyos-에서 /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:113, 에서 포함 된 파일에서 일반적인 아니다 2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc : 83, /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.91, from TestAssociateAppC.nc:39 : 구성 요소 CC2420TransmitP': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:65: interface ChipSpiResource not found /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:66: interface CC2420Fifo not found /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:80: interface CC2420Receive not found /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: In function CC2420Tx.loadTXFIFO에서 ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:164 : 인터페이스 strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:167: interface has no command or event named 쓰기라는 이름의 명령이나 이벤트가 없습니다' /opt/tinyos-2.1을. 2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc : 최상위 레벨 : /opt/tinyos-2.1.2 /tos/chips/cc2420_tkn154/CC2420TransmitP.nc:173 : writeDone' is not in interface TXFIFO ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc : 기능 TXFIFO.writeDone': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:178: interface has no command or event named 쓰기에서' /opt/tinyos-2.1.2 /tos/chips/cc2420_tkn154/CC2420TransmitP.nc:182 : 인터페이스에 명령어 또는 이벤트가 없습니다. write' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: In function CC2420Tx.send ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:203 : 인터페이스가 있습니다. 어떤 명령이나 이벤트 이름 strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:203: interface has no command or event named 스트로브 없다 ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:211 : 인터페이스 strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: At top level: /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:245: warning: declaration of 시간라는 이름의 명령이나 이벤트가 없습니다'글로벌 선언 는/usr/포함/시간 그림자 .h : 192 : 경고 : 그림자가있는 선언의 위치 /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc : 함수에서sfd ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:320 : 인터페이스에 sfd_dropped' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: In function CC2420Tx.modify라는 명령이나 이벤트가 없습니다': /opt/tinyos-2.1.2/tos/ 칩/cc2420_tkn154/CC2420TransmitP.nc : 336 : 인터페이스에 'ChipSpiResource' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: In function ChipSpiResource.releasing'이 (가) write' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: At top level: /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:351:이라는 명령이나 이벤트가 없습니다. /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc : 353 : 인터페이스에 명령 또는 이벤트가 없습니다. abortRelease' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: At top level: /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:363: '인터페이스에 없음 CC2420Receive' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: In function BackoffAlarm.fired': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:386 : 인터페이스에 명령이나 이벤트가 없습니다. strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: In function signalDone ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:413 : interface ha s 명령 또는 이벤트가 없습니다 attemptRelease' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc: At top level: /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TransmitP.nc:417: readDone '인터페이스에 없습니다 TXFIFO' In file included from /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveC.nc:51, from /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:141, from /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420TKN154C.nc:83, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:91, from TestAssociateAppC.nc:39: In component CC2420ReceiveP': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:214 : 경고 : 선언 : time' shadows global declaration /usr/include/time.h:192: warning: location of shadowed declaration /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:214: sfd '인터페이스에 없습니다 /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:288 : 인터페이스 continueRead' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:321: interface has no command or event named를라는 이름의 명령이나 이벤트가 없습니다 CC2420Receive' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:224:는 '인터페이스 RXFIFO' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc: In function RXFIFO.readDone에없는'인터페이스 CC2420Receive' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:262: readDone에없는 'sfd_dropped 계속 읽기 ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:337 : 인터페이스에 명령 또는 이벤트가 없습니다. continueRead' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:364: interface has no command or event named' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/ CC2420ReceiveP.nc : 최상위 레벨 : /opt/tinyos-2.1.2/TOS/칩/cc2420_tkn154/CC2420ReceiveP.nc : 391 : writeDone' is not in interface RXFIFO ' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc : 함수 flush': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:457: interface has no command or event named 스트로브' /opt/tinyos-2.1. 2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc : 458 : 인터페이스에 명령어 또는 이벤트가 없습니다. strobe' /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc: In function 수신 ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveP.nc:474 : 인터페이스가 없습니다. 명령 또는 이벤트 beginRead' In component CC2420ReceiveC ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveC.nc : 최상위 레벨 : /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveC. nc : 52 : 구성 요소 CC2420SpiC' is not generic /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveC.nc:69: no match /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveC.nc:70: cannot find RXFIFO ' ... /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ReceiveC.nc:75 :를 찾을 수 없습니다.3210 CC2420ControlTransmitC ': /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:92 : 일치하지 않음 /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:93 : 찾을 수 없습니다 SRXON' ... /opt/tinyos-2.1.2/tos/chips/cc2420_tkn154/CC2420ControlTransmitC.nc:139: cannot find SACKPEND ' 파일에서 /opt/tinyos-2.1.2/tos/platforms/mica/Alarm32khz32C.nc:24 : /opt/tinyos-2.1.2/tos/platforms/mica/MicaTimer.h에 포함되어 있습니다. : 121 : 2 : 오류 : #error "알 수없는 클럭 속도. MHZ는 1, 2, 4 또는 8 중 하나로 정의되어야합니다. " /opt/tinyos-2.1.2/tos/platforms/mica/Alarm32khz32C.nc:24에서 파일에 포함 된/opt/tinyos-1의 2.1.2/tos/platforms/telosb/mac/tkn154/timer/Alarm62500hz32C.nc : 8, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:92, from TestAssociateAppC.nc:39 : C 파일의 경우 : /opt/tinyos-2.1.2/tos/platforms/mica/MicaTimer.h:126 : MHZ' undeclared here (not in a function) /opt/tinyos-2.1.2/tos/platforms/mica/MicaTimer.h:126: enumerator value for PLATFORM_MHZ '정수가 아님 /opt/tinyos- 2.1.2/tos/platforms/mica/Alarm32khz32C.nc : 32, /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/timer/Alarm62500hz32C.nc:8, /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonB TestAssociateAppC.nc:39에서 eaconEnabledC.nc:92, : 구성 요소 AlarmOne16C': /opt/tinyos-2.1.2/tos/platforms/mica/AlarmOne16C.nc:30: syntax error before 톤 '파일에서 는/옵션에서 /opt/tinyos-2.1.2/tos/platforms/mica/AlarmOne16C.nc:34, 에서 포함 /tinyos-2.1.2/tos/platforms/mica/Alarm32khz32C.nc:32, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/timer/Alarm62500hz32C.nc:8, 에서 TestAssociateAppC.nc:39에서 /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:92, : 성분 InitOneP': /opt/tinyos-2.1.2/tos/platforms/mica/InitOneP.nc:24: MICA_PRESCALER_ONE 이어 '파일에 (함수에서 생략) 여기 미표시 /opt/tinyos-2.1.2/tos/platforms/mica/Alarm32khz32C.nc:32, from /opt/tinyos-2.1.2/tos/platfo에 있습니다. rms/telosb/mac/tkn154/timer/Alarm62500hz32C.nc : 8, /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.92, from TestAssociateAppC.nc:39 : /opt/tinyos-2.1을 : 구성 요소 AlarmOne16C': /opt/tinyos-2.1.2/tos/platforms/mica/AlarmOne16C.nc:35: 톤 는 'Alarm' In file included from /opt/tinyos-2.1.2/tos/platforms/mica/Counter32khz32C.nc:28, from /opt/tinyos-2.1.2/tos/platforms/mica/Alarm32khz32C.nc:32, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/timer/Alarm62500hz32C.nc:8, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:92, from TestAssociateAppC.nc:39: In component CounterOne16C를 찾을 수 없습니다 /opt/tinyos-2.1.2/tos/platforms/mica/AlarmOne16C.nc:41 (함수가 아닌) 여기에 신고되지 않은' .2/tos/platforms/mica/CounterOne16C.nc : 24 : TOne' /opt/tinyos-2.1.2/tos/platforms/mica/CounterOne16C.nc:29: 앞에 구문 오류가 있습니다. 여기에 선언되지 않았습니다. (기능에 포함되지 않음) /opt/tinyos-2.1.2/tos/platforms/mica/CounterOne16C.nc:31 : 찾을 수 없습니다 Counter' In file included from /opt/tinyos-2.1.2/tos/platforms/mica/Alarm32khz32C.nc:32, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/timer/Alarm62500hz32C.nc:8, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:92, from TestAssociateAppC.nc:39: In component Counter32khz32C ': /opt/tinyos-2.1.2/tos/platforms/mica/Counter32khz32C.nc:29 : TOne' undeclared here (not in a function) /opt/tinyos-2.1.2/tos/platforms/mica/Counter32khz32C.nc:30: MICA_DIVIDE_ONE_FOR_32KHZ_LOG2'undecla 여기 빨간색 (기능이 아님) /opt/tinyos-2.1.2/tos/platforms/mica/Counter32khz32C.nc:31 : counter_one_overflow_t' undeclared here (not in a function) /opt/tinyos-2.1.2/tos/platforms/mica/Counter32khz32C.nc:34: no match In file included from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/timer/Alarm62500hz32C.nc:8, from /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/Ieee802154NonBeaconEnabledC.nc:92, from TestAssociateAppC.nc:39: In component Alarm32khz32C ': /opt/tinyos-2.1.2/tos/platforms/mica/ Alarm32khz32C.nc:33 : TOne' undeclared here (not in a function) /opt/tinyos-2.1.2/tos/platforms/mica/Alarm32khz32C.nc:34: MICA_DIVIDE_ONE_FOR_32KHZ_LOG2 '(함수가 아님) /opt/tinyos-2.1.2/tos/platforms/mica/Alarm32khz32C에서 선언되지 않았습니다.nc : 37 : 일치하지 않음 /opt/tinyos-2.1.2/tos/platforms/telosb/mac/tkn154/timer/Alarm32khzTo62500hzTransformC.nc:53:2 : 경고 : #warning "경고 : MAC 타이밍이 표준을 준수하지 않습니다! " make : *** [sim-exe] 오류 1

답변

0
For linux systems try: 

Linux Installation 

Download JDK and put it in /usr/java directory 
sudo chown <output of whoami> -R /usr/java/jdk1.8.0_111/ 
sudo nano /etc/bash.bashrc 
export JAVA_HOME=/usr/java/jdk1.8.0_111 
export PATH=$JAVA_HOME/bin:$PATH 

sudo apt-get install update 
sudo apt-get upgrade 
sudo apt-get install git-core 
sudo apt-get install tinyos-tools 
sudo apt-get install tinyos-source 
sudo apt-get install automake 
sudo apt-get install avr-libc 
sudo apt-get install gcc-msp430 
sudo git clone /opt/git://github.com/tinyos/tinyos-main.git 
sudo chown <output of whoami> -R tinyos-main/ 
cd tinyos-main/tools/ 
./Bootstrap 
./configure 
make 
sudo make install 

For MacoS: 

Install JDK 
Install homebrew 
Install macports 
Install Xcode 

sudo port install gcc49   
sudo port select gcc      
sudo port select gcc mp-gcc49 
sudo port install msp430-gcc 
sudo port install msp430-libc 
sudo port install avr-libc 
brew install nesc 
cd /opt/ 
sudo git clone git://github.com/tinyos/tinyos-main.git 
cd tinyos-main/tools 
sudo ./Bootstrap 
sudo ./configure 
sudo make 
sudo make install 
관련 문제