当前位置: 代码迷 >> Brew >> vs2008+brew mp+codesourcery生成mod文件,该如何处理
  详细解决方案

vs2008+brew mp+codesourcery生成mod文件,该如何处理

热度:1567   发布时间:2013-02-26 00:00:00.0
vs2008+brew mp+codesourcery生成mod文件
设置成Physical模式,设置好编译器为codesourcery。build的结果:

------ Build started: Project: game, Configuration: Debug ------
cmd.exe /C cs-make.exe "V=armgcc_Debug" install "MOD_INSTALL_DIR=../" "MIF_INSTALL_DIR=../" "BREWMPSDK=C:\Qualcomm\BREWMP~1\PLATFO~1\102~1.267\platform" "BREWMP_PLATFORM=C:\Qualcomm\BrewMPSDK\Platforms\1.0.2.267\platform" >"c:\Users\DiaoXuecq\Documents\Visual Studio 2008\Projects\gameoflive\game\make.log" 2>&1 
"arm-none-eabi-g++" -Wl,--entry=AEEMod_Load -Wl,--emit-relocs -Wl,--default-script=C:/Qualcomm/BREWMP~1/TOOLSE~1.116/bin/elf2mod/src/gnu/elf2mod.x -nostartfiles -o armgcc_Debug/game.elf armgcc_Debug/AEEAppGen.o armgcc_Debug/AEEModGen.o armgcc_Debug/game.o
c:/codesourcery/sourceryg++lite/bin/../lib/gcc/arm-none-eabi/4.4.1\libgcc.a(unwind-arm.o): In function `get_eit_entry':
unwind-arm.c:(.text+0x7e0): undefined reference to `__exidx_start'
unwind-arm.c:(.text+0x7e4): undefined reference to `__exidx_end'
c:/codesourcery/sourceryg++lite/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/lib\libc.a(lib_a-abort.o): In function `abort':
abort.c:(.text+0xc): undefined reference to `_exit'
c:/codesourcery/sourceryg++lite/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/lib\libc.a(lib_a-signalr.o): In function `_getpid_r':
signalr.c:(.text+0x4): undefined reference to `_getpid'
c:/codesourcery/sourceryg++lite/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/lib\libc.a(lib_a-signalr.o): In function `_kill_r':
signalr.c:(.text+0x2c): undefined reference to `_kill'
c:/codesourcery/sourceryg++lite/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/lib\libc.a(lib_a-sbrkr.o): In function `_sbrk_r':
sbrkr.c:(.text+0x18): undefined reference to `_sbrk'
collect2: ld returned 1 exit status
cs-make.exe: *** [armgcc_Debug/game.mod] Error 1
------ Build failed: Project: game ------


我以管理员身份登录,build又说没有defines.min(Makefile文件第13行)

------解决方案--------------------------------------------------------
我也遇到类似问题,有谁解决了请说一下啊。
------解决方案--------------------------------------------------------
动态模块加载的问题
  相关解决方案