none
Failure in Building Windows Compact 7 - OS Design RRS feed

  • Question

  • Hi~

    I am facing difficulties building an OS Design for the CE device.

    I got the following errors when I try to get a Build done.

    BUILD: [01:0000000154:ERRORE] Error(s) in directory "C:\WINCE700\platform\CeWin\SRC\DRIVERS\RTOSVNET\". {log="C:\WINCE700\build.log(37074)"}
    BUILD: [01:0000000155:ERRORE] c:\wince700\platform\cewin\src\drivers\rtosvnet\rteversion.h : error C2220: warning treated as error - no 'object' file generated {log="C:\WINCE700\build.log(37075)"}
    BUILD: [01:0000000160:ERRORE] NMAKE : fatal error U1077: 'C:\WINCE700\sdk\bin\i386\x86\cl.EXE' : return code '0x2' {log="C:\WINCE700\build.log(37080)"}
    BUILD: [01:0000000162:ERRORE]  clean TargetCompilePass  -nologo BUILDMSG=Stop.  BUILDROOT=C:\WINCE700\platform\CeWin CLEANBUILD=1 NOLINK=1 NOPASS0=1 failed - rc = 2 {log="C:\WINCE700\build.log(37082)"}
    BLDDEMO: ERROR: There were errors building CEBASE. {log="C:\WINCE700\build.log(37114)"}

    Wednesday, March 27, 2013 3:00 AM

All replies

  • Check for the error in C:\Wince700\build.log

    It might gibe some more clue.

    http://msdn.microsoft.com/en-us/library/ksk5k0ta(v=vs.71).aspx

    Regards,

    GSR

    Wednesday, March 27, 2013 3:30 AM
  • Sorry! I am new to here.

    Can I connect you directly by email?

    Wednesday, March 27, 2013 3:37 AM
  • Hi James,

    >>BUILD: [01:0000000155:ERRORE] c:\wince700\platform\cewin\src\drivers\rtosvnet\rteversion.h : error C2220: warning treated as error - no 'object' file generated {log="C:\WINCE700\build.log(37075)"}

    Post the corresponding WARNING which is causing this error.

    With regards,

    Keshava G N



    Keshava G N ( keshavagn@iwavesystems.com ), Member - Technical, iWave Systems ( http://iwavesystems.com )

    Wednesday, March 27, 2013 4:26 AM
  • Please open the build.log and build.err files which is available in C:\WinCE700 

    You can post the log here.

    Forum members will help you if they know about the error that you are facing.

    Regards,

    GSR

    Wednesday, March 27, 2013 4:27 AM
  • The log file is about 2.92MB

    So I upload it to the dropbox

    https://www.dropbox.com/s/tngrbdto6ecww5i/build.log

    Wednesday, March 27, 2013 4:51 AM
  • Please post "c:\wince700\platform\cewin\src\drivers\rtosvnet\rteversion.h" file too.

    Seems like you have used  some non-ascii characters in that header file.


    Keshava G N ( keshavagn@iwavesystems.com ), Member - Technical, iWave Systems ( http://iwavesystems.com )


    • Edited by Keshava GN Wednesday, March 27, 2013 4:58 AM
    Wednesday, March 27, 2013 4:54 AM
  • rteVersion.h

    /* rteVersion.h - Version header for RTE */

    /*
    @n This material is the exclusive property of KUKA Roboter GmbH.
    @n Except as expressly permitted by separate agreement, this material may only
    @n be modified by members of the development department of KUKA Roboter GmbH.
    @n
    @n       Copyright (C) 2010
    @n       KUKA Roboter GmbH, Germany. All Rights Reserved.
    */

    /*******************************************************************************
     * DESCRIPTION

        versions number     0xAABBCCDD
        versions string     "AA.BB.CC.DD"
        version for rc      AA,BB,CC,DD

        AA = major version
        BB = minor version
        CC = servicepack
        DD = build
    */

    /*******************************************************************************
    modification history
    --------------------
    6.03,18aug10,GTt  - KUKA replaced by Acontis
    6.02,02dec08,GTt  - Fix#416 RtosDemoExtender & RtosDemoReset added
    6.01,25nov08,GTt  - Fix#456 detect other RTE products before installation
    6.00,25may08,gtt  - Atsmnet and MP-net defines replaced by RtosVnet
    5.00,05nov07,cer  - Smnet renamed to Vnet
    4.02,23jan07,gtt  - RtosPnp version increased (WMI&DeviceManagement adaptations)
    4.01,16nov06,gtt  - netRtosPnP removed, RtEWinService added, 
                        Version of RtosService+RtosControl+LicenseServer increased
    4.00,08sep06,gtt  - netRtosPnP added
    3.00,26nov04,gtt  - all Tools added (CopySystemResources,LicenseServer,
                                         xxWinKeyGen,xxWomKeyReq,Pci-Tool,Ra-Tool,
                                         SetupCeWinConfig)
    2.00,17nov04,gtt  - added RTOS-Control and RTOS-Service
    1.00,31jan03,SZf  - adjusted for product version 3.0.
    0.00,19jul02,SZf  - written.
    */

    #include "ProductVersion.h"

    #ifndef _INC_RTEVERSION_H
    #define _INC_RTEVERSION_H

    #ifdef __cplusplus
    extern "C" {
    #endif /* __cplusplus */


    /*//////// General Names //////////
    */

    #define COPYRIGHT                       "Copyright ?2009-2012\0"
    #define COPYRIGHT_2                     "Copyright (c) 2009-2012\0"
    #define COMPANY_NAME                    "acontis technologies GmbH\0"
    #define COMPANY_URL                     "www.acontis.com\0"
    #define COMPANY_REG_BASE                "SOFTWARE\\acontis technologies\0"
    #define PROD_NAME_STR                   "Realtime OS\0"
    #define PROD_VERSION_STRING             "V%d.%d.%02d\0"
    #define PROD_REG_BASE                   "SOFTWARE\\acontis technologies\\RtE\\5.1.00\0"
    /*
    #define PROD_REG_BASE                   "SOFTWARE\\acontis technologies\\RtE\\5.1.00\0"
    */

    #if defined( RTE_LICENSE_DEMO )
      #define FILE_COMMENTS                 "Demo Version\0"
    #elif defined( RTE_LICENSE_DEVELOPMENT )
      #define FILE_COMMENTS                 "Development Version\0"
    #elif defined( RTE_LICENSE_RUNTIME )
      #define FILE_COMMENTS                 "Runtime Version\0"
    #else /* RTE_LICENSE_xxx */
      #define FILE_COMMENTS                 "\0"
    #endif /* RTE_LICENSE_xxx */

    #if defined(_DEBUG) || defined(DEBUG) || defined(DBG)
      #define FILE_SPECIALBUILD             "Debug Version\0"
    #else
      #define FILE_SPECIALBUILD             "\0"
    #endif

    /*///////// Tools Files /////////////
    */

    #define RTEWINSERVICE_EXE_VERS          1,2,0,0         /* rc define */
    #define RTEWINSERVICE_EXE_VERS_STR      "1.2.00.00\0"

    #define COPYSYSRESINF_EXE_VERS          2,1,0,0         /* rc define */
    #define COPYSYSRESINF_EXE_VERS_STR      "2.1.00.00\0"

    #define RTOSLICENSESERVER_EXE_VERS      2,1,0,0         /* rc define */
    #define RTOSLICENSESERVER_EXE_VERS_STR  "2.1.00.00\0"
    #define RTOSLICENSESERVER_NAME          "RtosLicenseServer\0"             /* registration name for the service            */
    #define RTOSLICENSESERVER_DISPLAYNAME   "Realtime OS License Server\0"  /* in the service control center displayed name */
    #define RTOSLICENSESERVER_DESCRIPTION   "managing of license issues\0"

    #define RTEKEYGEN_EXE_VERS              2,1,0,0         /* rc define */
    #define RTEKEYGEN_EXE_VERS_STR          "2.1.00.00\0"
    #define RTEKEYGEN_EXE_ABOUT_TXT         "RtE Key Generator Version 2.1.0\0"
    #define RTEKEYGEN_EXE_ABOUT_CPYR        "Copyright ?2009-2012 acontis technologies GmbH\0"

    #define RTEKEYREQ_EXE_VERS              2,2,0,0         /* rc define */
    #define RTEKEYREQ_EXE_VERS_STR          "2.2.00.00\0"
    #define RTEKEYREQ_EXE_ABOUT_TXT         "Licence Key Request 2.2.0\0"

    #define RTOSDEMOEXTENDER_EXE_VERS       1,1,0,0         /* rc define */
    #define RTOSDEMOEXTENDER_EXE_VERS_STR   "1.1.00.00\0"

    #define RTOSDEMORESET_EXE_VERS          1,1,0,0         /* rc define */
    #define RTOSDEMORESET_EXE_VERS_STR      "1.1.00.00\0"

    #define PCITOOL_EXE_VERS                2,1,0,0         /* rc define */
    #define PCITOOL_EXE_VERS_STR            "2.1.00.00\0"

    #define RATOOL_EXE_VERS                 2,3,0,0         /* rc define */
    #define RATOOL_EXE_VERS_STR             "2.3.00.00\0"

    #define RTEMEMORYCLEANUP_EXE_VERS       2,3,0,0         /* rc define */
    #define RTEMEMORYCLEANUP_EXE_VERS_STR   "2.3.00.00\0"

    #define SETUPRTECONFIG_EXE_VERS         2,2,0,0         /* rc define */
    #define SETUPRTECONFIG_EXE_VERS_STR     "2.2.00.00\0"

    #define SETUPTOOLS_DLL_VERS             1,4,0,0         /* rc define */
    #define SETUPTOOLS_DLL_VERS_STR         "1.4.00.00\0"

    #define SETUPTOOLS_EXE_VERS             1,1,0,0         /* rc define */
    #define SETUPTOOLS_EXE_VERS_STR         "1.1.00.00\0"

    #define CEWINRDISP_EXE_VERS             1,1,0,0         /* rc define */
    #define CEWINRDISP_EXE_VERS_STR         "1.1.00.00\0"

    #define RTEDEMODIAG_EXE_VERS            1,2,0,0         /* rc define */
    #define RTEDEMODIAG_EXE_VERS_STR        "1.2.00.00\0"

    /*///////// Uploader Files /////////////
    ////////////////////////////////////////
    */

    #define RTOSTELNET_EXE_VERS             1,3,0,0         /* rc define */
    #define RTOSTELNET_EXE_VERS_STR         "1.3.00.00\0"
    #define RTOSTELNET_EXE_VERS_NO          0x01030000
    #define RTOSTELNET_EXE_VERS_MIN_VMF     0x011C0000
    #define RTOSTELNET_EXE_VERS_MIN_RTOSDRV 0x09030000
    #define RTOSTELNET_FILENAME            "PuTTYtel.exe\0"

    #define RTOSCONTROL_EXE_VERS            7,7,2,0         /* rc define */
    #define RTOSCONTROL_EXE_VERS_STR        "7.7.02.00\0"
    #define RTOSCONTROL_EXE_VERS_NO         0x07070200
    #define RTOSCONTROL_EXE_VERS_MIN_VMF    0x011C0000
    #define RTOSCONTROL_FILENAME        "RtosControl.exe\0"
    #define RTOSCONTROL_CAPTION        "RTOSControl.exe\0"

    #define RTOSSERVICE_EXE_VERS            3,6,1,0         /* rc define */
    #define RTOSSERVICE_EXE_VERS_STR        "3.6.01.00\0"
    #define RTOSSERVICE_EXE_VERS_NO         0x03060100
    #define RTOSSERVICE_EXE_VERS_MIN_VMF    0x011C0000
    #define RTOSSERVICE_NAME                "RtosService\0"           /* registration name for the service            */
    #define RTOSSERVICE_FILENAME        "RtosService.exe\0"
    #define RTOSSERVICE_DISPLAYNAME         "Realtime OS Service\0"   /* in the service control center displayed name */
    #define RTOSSERVICE_DESCRIPTION         "managing of system synchronization issues between RTOS and Windows\0"

    #define UPLOADER_VERS                   7,17,1,0        /* rc define */
    #define UPLOADER_VERS_STR               "7.17.01.00\0"

    #define RTOSLIB_VERS                    7,19,06,0        /* rc define */
    #define RTOSLIB_VERS_STR                "7.19.06.00\0"
    #define RTOSLIB_VERS_NO                 0x07130600
    #define RTOSLIB_VERS_MIN_VMF            0x011C0400
    #define RTOSLIB_VERS_MIN_RTOSDRV        0x09030400


    #define RTOSPNP_DRIVER_VERS             5,4,1,0         /* rc define */
    #define RTOSPNP_DRIVER_VERS_STR         "5.4.01.00\0"
    #define RTOSPNP_DRIVER_VERS_NO          0x05040100
    #define RTOSPNP_DRIVER_VERS_MIN_VMF     0x011C0000

    #define RTOSPNP_INF_VERS                1,5,0,0         /* rc define */
    #define RTOSPNP_INF_VERS_STR            "1.5.00.00\0"
    #define RTOSPNP_INF_VERS_NO             0x01050000

    #define RTOSPNP_INSTALLER_VERS          1,1,1,0         /* rc define */
    #define RTOSPNP_INSTALLER_VERS_STR      "1.1.01.00\0"
    #define RTOSPNP_INSTALLER_VERS_NO       0x01010100


    #define RTOSDRV_DRIVER_VERS             9,3,04,0         /* rc define */
    #define RTOSDRV_DRIVER_VERS_STR         "9.3.04.00\0"
    #define RTOSDRV_DRIVER_VERS_NO          0x09030400
    #define RTOSDRV_DRIVER_VERS_MIN_VMF     0x011C0400

    #define RTOSDRV_INF_VERS                1,3,1,0         /* rc define */
    #define RTOSDRV_INF_VERS_STR            "1.3.01.00\0"
    #define RTOSDRV_INF_VERS_NO             0x01030100

    #define RTOSDRV_INSTALLER_VERS          0,0,0,1         /* rc define */
    #define RTOSDRV_INSTALLER_VERS_STR      "0.0.00.01\0"
    #define RTOSDRV_INSTALLER_VERS_NO       0x00000001


    #define RTOSVNET_DRIVER_VERS            7,8,1,0         /* rc define */
    #define RTOSVNET_DRIVER_VERS_STR        "7.8.01.00\0"
    #define RTOSVNET_DRIVER_VERS_NO         0x07080100
    #define RTOSVNET_DRIVER_VERS_MIN_VMF    0x011C0400

    #define RTOSVNET_INF_VERS               1,2,0,0         /* rc define */
    #define RTOSVNET_INF_VERS_STR           "1.2.00.00\0"
    #define RTOSVNET_INF_VERS_NO            0x01020000

    #define RTOSVNET_INSTALLER_VERS         0,0,0,1         /* rc define */
    #define RTOSVNET_INSTALLER_VERS_STR     "0.0.00.01\0"
    #define RTOSVNET_INSTALLER_VERS_NO      0x00000001


    #define VMF_FMWK_VERSION                0x011C0400      /* MUST BE IDENTICAL TO DEFINE AT vmfInterface.h */
    #define VMF_FMWK_DATA_VERSION           0x01030000      /* version of framework data descriptor */

    #ifdef __cplusplus
    }
    #endif

    #endif  /* _INC_RTEVERSION_H */

    Wednesday, March 27, 2013 4:59 AM
  • Post "ProductVersion.h" to dropbox and mention the link here.

    Because i'm not seeing any error in this file..


    Keshava G N ( keshavagn@iwavesystems.com ), Member - Technical, iWave Systems ( http://iwavesystems.com )


    • Edited by Keshava GN Wednesday, March 27, 2013 5:19 AM
    Wednesday, March 27, 2013 5:18 AM
  • ProductVersion.h

    Link:

    https://www.dropbox.com/s/6s4l5ynsvkddfg5/ProductVersion.h

    Wednesday, March 27, 2013 5:21 AM
  • Hi,

    I compiled by including these files. I'm not seeing any errors/warnings.

    So may be some other problem.


    Keshava G N ( keshavagn@iwavesystems.com ), Member - Technical, iWave Systems ( http://iwavesystems.com )


    • Edited by Keshava GN Wednesday, March 27, 2013 5:28 AM
    Wednesday, March 27, 2013 5:26 AM
  • I followed the CeWin.pdf chapter “3.2 How to make your own CeWin Image (OsDesign)”

    The link of CeWin.pdf

    https://www.dropbox.com/s/gsdy9eayntttnyn/CeWin.pdf



    • Edited by James.Ding Wednesday, March 27, 2013 5:32 AM
    Wednesday, March 27, 2013 5:31 AM
  • Is the OS design project need to connect to  the CE device?

    or,it does not matter with the CE device.

    Wednesday, March 27, 2013 6:41 AM
  • No..

    Keshava G N ( keshavagn@iwavesystems.com ), Member - Technical, iWave Systems ( http://iwavesystems.com )

    Wednesday, March 27, 2013 7:16 AM
  • There are 212 warnings.

    It seems like that I have the problem about linking something, right?

    build.wrn file

    https://www.dropbox.com/s/d6efcuq0xfc1su7/build.wrn


    • Edited by James.Ding Wednesday, March 27, 2013 8:27 AM
    Wednesday, March 27, 2013 8:27 AM