Hi all,

I am porting libxeb.dll which is written in C language into Series60 platform.
And my developing environment is based on Code Warrior2.8.3 and s60_sdk_v2_0_CW.

After I modified something such as removing global variables etc., libxeb.dll
can be complied successfully, unfortunately, can't be linked.
Code Warrior printed error messages like the following:

Link Error: Undefined symbol: '__declspec(dllimport) __stdcall(4) EnterCriticalSection (__imp__EnterCriticalSection@4)'
Link Error: referenced from '__InitializeThreadData' in ThreadLocalData.obj (MSL_C_x86.lib)
Link Error: Undefined symbol: '__declspec(dllimport) __stdcall(4) LeaveCriticalSection (__imp_LeaveCriticalSection@4)'
Link Error: referenced from '__InitializeThreadData' in ThreadLocalData.obj (MSL_C_x86.lib)

Link Error: Undefined symbol: '__declspec(dllimport) __stdcall(4) TlsGetValue(__imp__TlsGetValue@4)'
Link Error: referenced from '__GetThreadData' in ThreadLocalData.obj (MSL_C_x86.lib)
Link Error: referenced from '__GetThreadData' in ThreadLocalData.obj (MSL_C_x86.lib)
Link Error: referenced from '__InitializeThreadData' in ThreadLocalData.obj (MSL_C_x86.lib)
Link Error: Undefined symbol: '__declspec(dllimport) __stdcall(0) GetLastError(__imp_GetLastError@0)'
Link Error: referenced from '___msl_write' in file_io.win32.obj (MSL_C_x86.lib)
Link Error: referenced from '___msl_close' in file_io.win32.obj (MSL_C_x86.lib)
Link Error: referenced from '___msl_read' in file_io.win32.obj (MSL_C_x86.lib)

....

Does anyone know how to resolve these problems?
Thanks.

IM:wyehong@hotmail.com
email:wyehong@hotmail.com

OR

google talk: yehong.wang@gmail.com
email:yehong.wang@gmail.com