long error while click BUILD (in external)
1 view (last 30 days)
Show older comments
the ERROR is after i click BUILD: The call to realtime_make_rtw_hook, during the after_make hook generated the following error:
Error executing SSH command: make: Entering directory `/home/pi/untitled_rtt' "gcc" -I"./" -O3 -D"MODEL=untitled" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ON_TARGET_WAIT_FOR_START=1" -D"ONESTEPFCN=0" -D"EXT_MODE=1" -D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"CLASSIC_INTERFACE=0" -D"TID01EQ=0" -D"_USE_TARGET_UDP_=" -D"_RUNONTARGETHARDWARE_BUILD_=" -c ./linuxUDP.c ./ext_svr.c ./ext_work.c ./rtiostream_interface.c ./updown.c ./rtiostream_tcpip.c ./rtiostream_utils.c ./HostLib_Network.c ./HostLib_rtw.c ./ert_main.c ./untitled.c ./untitled_data.c ./ext_svr.c: In function ‘DisconnectFromHost’: ./ext_svr.c:267:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c:267:17: note: each undeclared identifier is reported only once for each function it appears in ./ext_svr.c: In function ‘ForceDisconnectFromHost’: ./ext_svr.c:316:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘ProcessConnectPkt’: ./ext_svr.c:341:13: error: ‘comminitialized’ undeclared (first use in this function) ./ext_svr.c: In function ‘UploadServerWork’: ./ext_svr.c:861:5: error: unknown type name ‘ExtBufMemList’ ./ext_svr.c:878:17: error: request for member ‘nActiveBufs’ in something not a structure or union ./ext_svr.c:879:27: error: request for member ‘nActiveBufs’ in something not a structure or union ./ext_svr.c:880:13: error: unknown type name ‘BufMem’ ./ext_svr.c:880:43: error: request for member ‘bufs’ in something not a structure or union ./ext_svr.c:889:23: error: request for member ‘section1’ in something not a structure or union ./ext_svr.c:890:23: error: request for member ‘nBytes1’ in something not a structure or union ./ext_svr.c:898:23: error: request for member ‘nBytes2’ in something not a structure or union ./ext_svr.c:901:27: error: request for member ‘section2’ in something not a structure or union ./ext_svr.c:902:27: error: request for member ‘nBytes2’ in something not a structure or union ./ext_svr.c:911:37: error: request for member ‘tids’ in something not a structure or union ./ext_svr.c: In function ‘rt_UploadServerWork’: ./ext_svr.c:938:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_ExtModeInit’: ./ext_svr.c:967:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_ExtModeShutdown’: ./ext_svr.c:1345:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_UploadCheckTrigger’: ./ext_svr.c:1380:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_UploadCheckEndTrigger’: ./ext_svr.c:1393:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_UploadBufAddTimePoint’: ./ext_svr.c:1406:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./rtiostream_tcpip.c:210:1: error: unknown type name ‘uint32_T’ ./ert_main.c: In function ‘baseRateTask’: ./ert_main.c:52:29: error: ‘untitled_M’ undeclared (first use in this function) ./ert_main.c:52:29: note: each undeclared identifier is reported only once for each function it appears in ./ert_main.c: In function ‘main’: ./ert_main.c:170:21: error: ‘untitled_M’ undeclared (first use in this function) make: * [linuxUDP.o] Error 1 make: Leaving directory `/home/pi/untitled_rtt'
The build process will terminate as a result.
Caused by: Error executing SSH command: make: Entering directory `/home/pi/untitled_rtt' "gcc" -I"./" -O3 -D"MODEL=untitled" -D"NUMST=1" -D"NCSTATES=0" -D"HAVESTDIO=" -D"ON_TARGET_WAIT_FOR_START=1" -D"ONESTEPFCN=0" -D"EXT_MODE=1" -D"TERMFCN=1" -D"MAT_FILE=0" -D"MULTI_INSTANCE_CODE=0" -D"INTEGER_CODE=0" -D"MT=0" -D"CLASSIC_INTERFACE=0" -D"TID01EQ=0" -D"_USE_TARGET_UDP_=" -D"_RUNONTARGETHARDWARE_BUILD_=" -c ./linuxUDP.c ./ext_svr.c ./ext_work.c ./rtiostream_interface.c ./updown.c ./rtiostream_tcpip.c ./rtiostream_utils.c ./HostLib_Network.c ./HostLib_rtw.c ./ert_main.c ./untitled.c ./untitled_data.c ./ext_svr.c: In function ‘DisconnectFromHost’: ./ext_svr.c:267:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c:267:17: note: each undeclared identifier is reported only once for each function it appears in ./ext_svr.c: In function ‘ForceDisconnectFromHost’: ./ext_svr.c:316:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘ProcessConnectPkt’: ./ext_svr.c:341:13: error: ‘comminitialized’ undeclared (first use in this function) ./ext_svr.c: In function ‘UploadServerWork’: ./ext_svr.c:861:5: error: unknown type name ‘ExtBufMemList’ ./ext_svr.c:878:17: error: request for member ‘nActiveBufs’ in something not a structure or union ./ext_svr.c:879:27: error: request for member ‘nActiveBufs’ in something not a structure or union ./ext_svr.c:880:13: error: unknown type name ‘BufMem’ ./ext_svr.c:880:43: error: request for member ‘bufs’ in something not a structure or union ./ext_svr.c:889:23: error: request for member ‘section1’ in something not a structure or union ./ext_svr.c:890:23: error: request for member ‘nBytes1’ in something not a structure or union ./ext_svr.c:898:23: error: request for member ‘nBytes2’ in something not a structure or union ./ext_svr.c:901:27: error: request for member ‘section2’ in something not a structure or union ./ext_svr.c:902:27: error: request for member ‘nBytes2’ in something not a structure or union ./ext_svr.c:911:37: error: request for member ‘tids’ in something not a structure or union ./ext_svr.c: In function ‘rt_UploadServerWork’: ./ext_svr.c:938:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_ExtModeInit’: ./ext_svr.c:967:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_ExtModeShutdown’: ./ext_svr.c:1345:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_UploadCheckTrigger’: ./ext_svr.c:1380:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_UploadCheckEndTrigger’: ./ext_svr.c:1393:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./ext_svr.c: In function ‘rt_UploadBufAddTimePoint’: ./ext_svr.c:1406:17: error: ‘NUM_UPINFOS’ undeclared (first use in this function) ./rtiostream_tcpip.c:210:1: error: unknown type name ‘uint32_T’ ./ert_main.c: In function ‘baseRateTask’: ./ert_main.c:52:29: error: ‘untitled_M’ undeclared (first use in this function) ./ert_main.c:52:29: note: each undeclared identifier is reported only once for each function it appears in ./ert_main.c: In function ‘main’: ./ert_main.c:170:21: error: ‘untitled_M’ undeclared (first use in this function) make: * [linuxUDP.o] Error 1 make: Leaving directory `/home/pi/untitled_rtt'
0 Comments
Answers (0)
See Also
Categories
Find more on Simulink Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!