Go to previous topic
Go to next topic
Last Post 02 May 2006 11:45 AM by  Anonymous
WinCE build problem
 5 Replies
Author Messages
chowdhsm
New Member
New Member
Posts:


--
02 May 2006 08:51 AM
    I am new to Platform Builder. I am attempting to build the OS but running into the following build error:

    During compile time:

    C:\Wince500\Platform\LoCE\src\inc\card_engine.h(71) : fatal error C1189 #error : "UNKNOWN CARD ENGINE! Fix environment variable and sources.cmn"

    During Link Step:

    LINK : fatal error LNK1181 cannot open input file obj\ARMV4I\retail\ddk_bus.obj

    Please note: I have defined the environment variable "CARD_ENGINE_PAX270_10" and set it's value to 1 in Platform Builder's "Platform->Settings" Enviorenment Tab.

    Can some one please help me resolve tis issue.
    Anonymous
    Posts:


    --
    02 May 2006 10:13 AM
    Hello,

    Have you gone through the Windows CE BSP Quickstart Guide yet? I would recommend this as a starting point for getting a basic Windows CE image up and running.

    http://www.logicpd.com/do...3/70000142_Rev_G.pdf
    chowdhsm
    New Member
    New Member
    Posts:


    --
    02 May 2006 11:17 AM
    Aaron,

    Thanks for your response. To answer your question, I have gone through the guide you have mentioned. Obviously, I am missing some thing. As I mentioned before, I have set the enviorenmnet variable needed for the target platform. Am I missing something else? Please note, the BSP along with all the driver support needed for this build has been installed properly and they do appear in the Catalog->Third Party as indicated in the reference document.

    I would appreciate futher help to resolve the issue.

    Thanks,
    Anonymous
    Posts:


    --
    02 May 2006 11:19 AM
    Hello,

    By default you shouldn't need to set any environment variables. Was there a reason why you were doing this?
    chowdhsm
    New Member
    New Member
    Posts:


    --
    02 May 2006 11:37 AM
    At the begining when I started the build I did not set the environment variable "CARD_ENGINE_PAX270_10". I ran into the compilation problem as noted in my original posting. When I inspected the file "..\src\inc\card_engine.h" file, I noticed the fider file had several proprocessor definitions. Since none was defined, the compilation fall into the elase block where the particular error "UNKNOWN CARD ENGINE!.....".
    So, I thought setting the above environment variable should cure the problem. Please also refer the file PLATFORM\LoCE\sources.cmn towards the bottom. This file is looking for the enviorenment variable "CARD_ENGINE_PAX270_10"

    Thanks,
    Anonymous
    Posts:


    --
    02 May 2006 11:45 AM
    Hello,

    Do you have the kernel installed and added to your image? This environment variable is installed and set by adding the kernel to your image so you shouldn't be setting it manually.

    I would recommend undoing any modifications that you've already done to the LoCE BSP source code.

    Thanks,


    ---