阅读:2041回复:2
srand(),rand()在EBOOT中使用出问题了
在EBOOT中使用了RAND()SRAND()后编译时没问题,但连接时就有下面的错误了。
//******************************************************* BUILD: [01:0000001147:PROGC ] Linking C:\WINCE500\platform\smdk2440a\target\ARMV4I\retail\eboot.exe BUILD: [01:0000001164:ERRORE] fulllibc.lib(corecrt.obj) : error LNK2019: unresolved external symbol TlsSetValue referenced in function GetCRTStorage BUILD: [01:0000001165:ERRORE] fulllibc.lib(corecrt.obj) : error LNK2019: unresolved external symbol xxx_MapPtrToProcess referenced in function GetCRTStorage BUILD: [01:0000001166:ERRORE] fulllibc.lib(corecrt.obj) : error LNK2019: unresolved external symbol xxx_PerformCallBack4 referenced in function GetCRTStorage BUILD: [01:0000001167:ERRORE] fulllibc.lib(corecrt.obj) : error LNK2019: unresolved external symbol LocalAlloc referenced in function GetCRTStorage BUILD: [01:0000001168:ERRORE] fulllibc.lib(corecrt.obj) : error LNK2019: unresolved external symbol xxx_GetOwnerProcess referenced in function GetCRTStorage BUILD: [01:0000001169:ERRORE] fulllibc.lib(corecrt.obj) : error LNK2019: unresolved external symbol TlsGetValue referenced in function GetCRTStorage BUILD: [01:0000001170:ERRORE] C:\WINCE500\platform\smdk2440a\target\ARMV4I\retail\eboot.exe : fatal error LNK1120: 6 unresolved externals //******************************************************* <stdlib.h>,<stdio.h>都有包进去啊。 高手解答一下啊! |
|
沙发#
发布于:2007-12-24 21:22
|
|
|
板凳#
发布于:2007-12-24 22:21
多谢,
|
|