Hi All,

I am porting a Samsung BSP from Windows CE 5.0 to Windows CE 6.0.
I followed all the steps mentioned in MSDN to separate the Kernel, OAL
and KITL.
While building Oal.exe the following errors were displayed:

BUILD: [00:0000000725:PROGC ] Building LINK Pass in C:
\WINCE600\PLATFORM\SMDK2442\Src\Oal\OalExe\ directory.
BUILD: [01:0000000738:PROGC ] Linking C:\WINCE600\platform
\SMDK2442\target\ARMV4I\debug\oal.exe
BUILD: [01:0000000755:ERRORE] oal_rtc_s3c2440a.lib(rtc.obj) : error
LNK2001: unresolved external symbol g_oalLogMask
BUILD: [01:0000000756:ERRORE] oal_ioctl_s3c2440a.lib(reboot.obj) :
error LNK2001: unresolved external symbol g_oalLogMask
BUILD: [01:0000000763:ERRORE] oal.lib(init.obj) : error LNK2001:
unresolved external symbol CEProcessorType
BUILD: [01:0000000764:ERRORE] oal_timer_s3c2440a.lib(timer.obj) :
error LNK2001: unresolved external symbol pQueryPerformanceCounter
BUILD: [01:0000000765:ERRORE] oal_timer_s3c2440a.lib(timer.obj) :
error LNK2001: unresolved external symbol pQueryPerformanceFrequency

Do I have to include any additional library files in my BSP sources?
Has anyone encountered a similar error?

Thanks in Advance.
Treadstone

Re: Problem faced while porting BSP to WinCE 6.0 by Treadstone

Treadstone
Wed Apr 11 09:31:40 CDT 2007

Hi All,

Figured out the solution for this one. And thought this might aid
someone who might face a similar error.
1.
The g_oalLogMask has been replaced by dpCurSettings.ulZoneMask in 6.0.
Compare your oal_log.h file from your BSP with the oal_log.h in the
Platform\Common\Src\Inc folder and make the changes wherever the
g_oalLogMask variable has been used.
2. For resolving the CEProcessor type error, I had to comment out the
extern DWORD CEProcessor in Init.c
3. And for the pQueryPerformance error, I resolved it by adding
oemglobal.h and nkexports.h (and commented out nkxp.h) in oal.h of my
BSP.

Regards,
Treadstone


On Apr 10, 1:46 pm, "Treadstone" <u.bhar...@gmail.com> wrote:
> Hi All,
>
> I am porting a Samsung BSP from Windows CE 5.0 to Windows CE 6.0.
> I followed all the steps mentioned in MSDN to separate the Kernel, OAL
> and KITL.
> While building Oal.exe the following errors were displayed:
>
> BUILD: [00:0000000725:PROGC ] Building LINK Pass in C:
> \WINCE600\PLATFORM\SMDK2442\Src\Oal\OalExe\ directory.
> BUILD: [01:0000000738:PROGC ] Linking C:\WINCE600\platform
> \SMDK2442\target\ARMV4I\debug\oal.exe
> BUILD: [01:0000000755:ERRORE] oal_rtc_s3c2440a.lib(rtc.obj) : error
> LNK2001: unresolved external symbol g_oalLogMask
> BUILD: [01:0000000756:ERRORE] oal_ioctl_s3c2440a.lib(reboot.obj) :
> error LNK2001: unresolved external symbol g_oalLogMask
> BUILD: [01:0000000763:ERRORE] oal.lib(init.obj) : error LNK2001:
> unresolved external symbol CEProcessorType
> BUILD: [01:0000000764:ERRORE] oal_timer_s3c2440a.lib(timer.obj) :
> error LNK2001: unresolved external symbol pQueryPerformanceCounter
> BUILD: [01:0000000765:ERRORE] oal_timer_s3c2440a.lib(timer.obj) :
> error LNK2001: unresolved external symbol pQueryPerformanceFrequency
>
> Do I have to include any additional library files in my BSP sources?
> Has anyone encountered a similar error?
>
> Thanks in Advance.
> Treadstone