我是按照教程的步骤,编译EtherCAT SSC集成到LAN9252 SDK后的程序,用的XC32编译器,编译一直报这个错误,怎么找也找不到原因。求大神指导感激不尽。
不太会发图片,编译后报错如下:
清除已成功 (总时间: 2ms)
make -f nbproject/Makefile-SPI_XC32_PIC32MX795F512L.mk SUBPROJECTS= .build-conf
make[1]: Entering directory 'C:/Users/Administrator/Desktop/test-zhijieyong/new-method/SDK/SSC/PIC32-SPI'
make -f nbproject/Makefile-SPI_XC32_PIC32MX795F512L.mk dist/SPI_XC32_PIC32MX795F512L/production/PIC32-SPI.production.hex
make[2]: Entering directory 'C:/Users/Administrator/Desktop/test-zhijieyong/new-method/SDK/SSC/PIC32-SPI'
ϵͳ�Ҳ���ָ����·����
"C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -DPIC32_STARTER_KIT -DPIC32_HW -DUSE_SPI -I../Common -MMD -MF build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/9252_HW.o.d -o build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/9252_HW.o ../Common/9252_HW.c
ϵͳ�Ҳ���ָ����·����
make[2]: *** [build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/9252_HW.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/coeappl.o] Error 1
"C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -DPIC32_STARTER_KIT -DPIC32_HW -DUSE_SPI -I../Common -MMD -MF build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/coeappl.o.d -o build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/coeappl.o ../Common/coeappl.c
nbproject/Makefile-SPI_XC32_PIC32MX795F512L.mk:237: recipe for target 'build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/9252_HW.o' failed
nbproject/Makefile-SPI_XC32_PIC32MX795F512L.mk:243: recipe for target 'build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/coeappl.o' failed
ϵͳ�Ҳ���ָ����·����
make[2]: *** [build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/ecatappl.o] Error 1
"C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -DPIC32_STARTER_KIT -DPIC32_HW -DUSE_SPI -I../Common -MMD -MF build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/ecatappl.o.d -o build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/ecatappl.o ../Common/ecatappl.c
nbproject/Makefile-SPI_XC32_PIC32MX795F512L.mk:249: recipe for target 'build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/ecatappl.o' failed
ϵͳ�Ҳ���ָ����·����
make[2]: *** [build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/ecatcoe.o] Error 1
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
"C:\Program Files (x86)\Microchip\xc32\v1.20\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -DPIC32_STARTER_KIT -DPIC32_HW -DUSE_SPI -I../Common -MMD -MF build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/ecatcoe.o.d -o build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/ecatcoe.o ../Common/ecatcoe.c
nbproject/Makefile-SPI_XC32_PIC32MX795F512L.mk:255: recipe for target 'build/SPI_XC32_PIC32MX795F512L/production/_ext/2108356922/ecatcoe.o' failed
make[2]: Leaving directory 'C:/Users/Administrator/Desktop/test-zhijieyong/new-method/SDK/SSC/PIC32-SPI'
nbproject/Makefile-SPI_XC32_PIC32MX795F512L.mk:78: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/Users/Administrator/Desktop/test-zhijieyong/new-method/SDK/SSC/PIC32-SPI'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
编译已失败 (退出值2, 总时间: 1s) |