This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6678: iblconfig编译失败

Part Number: TMS320C6678


将mcsdk_2_01_02_06\tools\boot_loader\ibl\src\util\iblConfig的文件复制出来,进行make之后,弹出以下错误,这是因为什么原因?

D:\iblConfig\build>make
touch input.txt
echo "file_name = ibl.bin" > input.txt
echo "device = " >> input.txt
echo "offset = " >> input.txt
echo "ethBoot-doBootp = " >> input.txt
echo "ethBoot-bootFormat = " >> input.txt
echo "ethBoot-ipAddr = " >> input.txt
echo "ethBoot-serverIp = " >> input.txt
echo "ethBoot-gatewayIp = " >> input.txt
echo "ethBoot-netmask = " >> input.txt
echo "ethBoot-fileName = " >> input.txt
gcc -O2 -DEVM= -DI2C_MAP_ADDR= ./obj/iblConfig.obj ./obj/device.obj -o iblConfig.out
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `./obj/iblConfig.obj' is incompatible with i386:x86-64 output
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `./obj/device.obj' is incompatible with i386:x86-64 output

。。。。

C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./obj/device.obj:device.c:(.text+0x15e8): undefined reference to `_memcpy'
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: ./obj/device.obj:device.c:(.text+0x19cf): more undefined references to `_memcpy' follow
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): in function `main':
C:/M/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain'
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:68: iblConfig.out] Error 1