Re: boot loader build error

From: K. S. Huang (ks_huang_at_alphanetworks.com.remove.this)
Date: 07/29/04


Date: Thu, 29 Jul 2004 21:30:38 +0800

What is the RELEASETYPE of the dm320\DRIVERS\CEDDK\DDK_BUS\sources ??
if the RELEASETYPE=PLATFORM the .lib file should be under
dm320\lib\armv4i\retail

The SetLastError is implemented in the kernel it self.
But all of the kernel function will have a SC_ prefix
So instead of linking the coredll.lib into your kernel, you may use the
SC_SetLastError.

you could add
#define WINCEMACRO 1
in your oemioctl.c to let all of the SetLasrError redirect into kernel
itself.

"Sujith" <sujithss@hotmail.com> 撰寫於郵件新聞
:#3aPdvVdEHA.592@TK2MSFTNGP11.phx.gbl...
> hi,
> i manually copied the files from the public\common\oak\lib, to
> my lib\armv4i\retail, the problem solved.....
>
> but why it was not coming automatically?
> also, when i try to build the kernal library, i am getting an error, like
>
e:\wince420\platform\dm320\kernel\buildexe\kernkitlprof\hal.lib(oemioctl.obj
> ) :
> error LNK2019: unresolved external symbol SetLastError referenced in
> function OEMIoControl
> but i am able to build the hal.lib file successfully.
> still i am getting the error.
> Regards
> Sujith
>
> "K. S. Huang" <ks_huang@AlphaNetworks.com_remove.this> wrote in message
> news:%23MR2BYVdEHA.3732@TK2MSFTNGP11.phx.gbl...
> > after you build the
> > dm320\DRIVERS\CEDDK\DDK_BUS (assuem your BSP is cloned from
> ARMINTEGRATOR)
> > there will be a ddk_bus.lib under dm320\lib\armv4i\retail, if not you
'll
> > need to exam the build.log file under dm320\DRIVERS\CEDDK\DDK_BUS
> > to see what's going on.
> >
> > "Sujith" <sujithss@hotmail.com> 撰寫於郵件新聞
> > :OdmHM0UdEHA.2752@TK2MSFTNGP12.phx.gbl...
> > > hi,
> > > thanks for the replay.
> > > i build it. still i am getting the same error.
> > > also, when i try to build the hal.lib, i am getting an error, like
> > >
> >
>
e:\wince420\platform\dm320\kernel\buildexe\kernkitlprof\hal.lib(oemioctl.obj
> > > ) :
> > > error LNK2019: unresolved external symbol SetLastError referenced in
> > > function OEMIoControl
> > > why ? the include section contains the windows.h include also., the
> actual
> > > header is
> > > Header: Winbase.h.
> > > Link Library: Coredll.lib.
> > > still i am getting the error.
> > >
> > > Regards
> > > Sujith
> > > "K. S. Huang" <ks_huang@AlphaNetworks.com_remove.this> wrote in
message
> > > news:uAyGzKUdEHA.3528@TK2MSFTNGP12.phx.gbl...
> > > > you need to build the ARMINTEGRATOR\DRIVERS\CEDDK\DDK_BUS first to
> > > generate
> > > > the ddk_bus.lib
> > > >
> > > > "Sujith" <sujithss@hotmail.com> 撰寫於郵件新聞
> > > > :u3incDUdEHA.2664@TK2MSFTNGP09.phx.gbl...
> > > > > hi,
> > > > > when i try to build the eboot which is given as a part of
> > > > > ARMINTEGRETOR BSP, i am getting an error.
> > > > > how do i correct it?
> > > > >
> > > > > BUILD: Linking e:\wince420\platform\dm320\eboot directory
> > > > > NMAKE : U1073: don't know how to make
> > > > > 'E:\WINCE420\platform\DM320\LIB\ARMV4I\retail\DDK_BUS.LIB'
> > > > > BUILD: NMAKE.EXE -i -c BUILDMSG=Stop.
> > > > > LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= failed - rc = 2
> > > > >
> > > > > Thanks in advance
> > > > > Regards
> > > > > Sujith
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>



Relevant Pages

  • Re: boot loader build error
    ... That worked, both the ddk_bud.lib and SetLastError, both. ... > The SetLastError is implemented in the kernel it self. ... > But all of the kernel function will have a SC_ prefix ... > in your oemioctl.c to let all of the SetLasrError redirect into kernel ...
    (microsoft.public.windowsce.platbuilder)
  • Re: boot loader build error
    ... That worked, both the ddk_bud.lib and SetLastError, both. ... > The SetLastError is implemented in the kernel it self. ... > But all of the kernel function will have a SC_ prefix ... > in your oemioctl.c to let all of the SetLasrError redirect into kernel ...
    (microsoft.public.windowsce.embedded)
  • Re: boot loader build error
    ... if the RELEASETYPE=PLATFORM the .lib file should be under ... The SetLastError is implemented in the kernel it self. ... But all of the kernel function will have a SC_ prefix ...
    (microsoft.public.windowsce.embedded)
  • [PATCH 6/6] syslets: add both 32bit and 64bit x86 syslet support
    ... The syslet thread creation routines create a new thread which executes ... a kernel function and then returns to userspace instead of exiting. ... this can just juggle pointers to transfer the fpu state. ...
    (Linux-Kernel)
  • RE: how do you call userspace syscalls (e.g. sys_rename) from inside kernel
    ... In the past I looked in to open, read and write a file from a kernel ... But problem I faced using the kernel function was that it ... how do you call userspace syscalls from ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)