阅读:3704回复:3
(已解决)wince5.0下的bsp移植到wince6.0时eboot的问题,哪位大虾帮帮助
我在将wince5.0下的2440的bsp移植到wince6.0时,修改了eboot,在编译时出现下面的错误,希望各位大虾帮帮忙,这个错误是什么原因产生的,该怎样解决。谢谢了
BUILD: [01:0000000067:ERRORE] smflash_lib.lib(fmd.obj) : error LNK2001: unresolved external symbol __security_cookie BUILD: [01:0000000068:ERRORE] fulllibc.lib(armsecgs.obj) : error LNK2001: unresolved external symbol __security_cookie BUILD: [01:0000000069:ERRORE] main.obj : error LNK2019: unresolved external symbol __security_cookie referenced in function SetIP BUILD: [01:0000000070:ERRORE] eboot.lib(tftp.obj) : error LNK2001: unresolved external symbol __security_cookie BUILD: [01:0000000071:ERRORE] eboot.lib(dhcp.obj) : error LNK2001: unresolved external symbol __security_cookie BUILD: [01:0000000072:ERRORE] eboot.lib(edbg.obj) : error LNK2001: unresolved external symbol __security_cookie BUILD: [01:0000000073:ERRORE] fulllibc.lib(armsecgs.obj) : error LNK2019: unresolved external symbol __report_gsfailure referenced in function __gsfailure BUILD: [01:0000000074:ERRORE] fulllibc.lib(armsecgs.obj) : error LNK2019: unresolved external symbol __security_cookie_complement referenced in function __gsfailure BUILD: [01:0000000075:ERRORE] F:\WINCE600\platform\smdk2440a\target\ARMV4I\retail\eboot.exe : fatal error LNK1120: 3 unresolved externals BUILD: [01:0000000080:ERRORE] EDITBIN : fatal error LNK1104: cannot open file 'F:\WINCE600\platform\smdk2440a\target\ARMV4I\retail\eboot.exe' 只要添加一个库文件gsnull.lib就可以了。 $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\oal_memory_s3c2440a.lib \ $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\oal_cache_s3c2440a.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_kitl.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_log.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blnk.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blcommon.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blmemory_arm.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\bootpart.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\eboot.lib \ $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\dm9000dbg.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ne2kdbg.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ddk_io.lib \ $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\smflash_lib.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\gsnull.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fulllibc.lib |
|
沙发#
发布于:2008-11-06 12:23
$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\mincrypt.lib \
$(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blcommon_secure.lib \ 之类的库 |
|
板凳#
发布于:2008-11-06 16:51
谢谢俄wenzai兄
|
|
地板#
发布于:2008-11-06 16:57
加上这两个库还是不行啊,这是我的source文件:
TARGETLIBS= \ $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\oal_memory_s3c2440a.lib \ $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\oal_cache_s3c2440a.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_kitl.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_log.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blnk.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blcommon.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blmemory_arm.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\bootpart.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\eboot.lib \ $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\dm9000dbg.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ne2kdbg.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\ddk_io.lib \ $(_TARGETPLATROOT)\lib\$(_CPUINDPATH)\smflash_lib.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\mincrypt.lib \ $(_PLATCOMMONLIB)\$(_CPUINDPATH)\oal_blcommon_secure.lib \ $(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\fulllibc.lib 那些库需要修改 谢谢 |
|