compiler error in wince compact 7 RRS feed

  • Question

  • Hi All,

    I am using wince compact 7 , imx51 .....

    I am writing one wlan driver from scratch...

    While building the sub project , I am getting an error as

    BUILD: [00:0000000039:PROGC ] Analyzing project dependency information for pass LIB.
    BUILD: [00:0000000040:PROGC ] Starting EXPLIB Pass.
    BUILD: [00:0000000041:PROGC ] Analyzing project dependency information for pass EXPLIB.
    BUILD: [00:0000000045:PROGC ] Building EXPLIB Pass in D:\WINCE700\osdesigns\iMX51_EVK_Mobility\SDIO_TI\WLAN\ directory.
    BUILD: [01:0000000060:ERRORE] Error(s) in directory "D:\WINCE700\osdesigns\iMX51_EVK_Mobility\SDIO_TI\WLAN\". {log="D:\WINCE700\osdesigns\iMX51_EVK_Mobility\SDIO_TI\bldsys.log(44)"}
    BUILD: [01:0000000061:ERRORE] NMAKE : fatal error U1073: don't know how to make 'TargetExpLibFiles' {log="D:\WINCE700\osdesigns\iMX51_EVK_Mobility\SDIO_TI\bldsys.log(45)"}
    BUILD: [01:0000000063:ERRORE] TargetExpLibFiles  -nologo BUILDMSG=Stop.  BUILDROOT=D:\WINCE700\osdesigns\iMX51_EVK_Mobility\SDIO_TI\ LINKONLY=1 NOPASS0=1 failed - rc = 2 {log="D:\WINCE700\osdesigns\iMX51_EVK_Mobility\SDIO_TI\bldsys.log(46)"}

    I saw in msdn as

    " don't know how to make 'targetname'

    The specified target does not exist, and there is no command to execute or inference rule to apply.

    To fix by using the following possible solutions

    1. Check the spelling of the target name.

    2. If targetname is a pseudotarget, specify it as a target in another description block.

    3. If targetname is a macro invocation, be sure it does not expand to a null string."

    But I am not able to find out the exact reason.Please help me to solve this error.

    Thanks in advance,


    Thursday, December 12, 2013 5:56 AM

All replies

  • Rohit,

    Just check in that directory (and other related ones) that "For each sources file, you are copying the makefile".

    Thursday, December 12, 2013 6:47 AM
  • can you give some more clarity...
    Thursday, December 12, 2013 7:31 AM
  • Rohit,

    You put sources file in a directory and add the details of the .c files and what TARGETTYPE you need and other details like INCLUDES etc. For every sources file in a directory, there should be the makefile. The same makefile you can copy to each directory having a sources file.
    Check the sample provided with WinCE.

    Thursday, December 12, 2013 9:20 AM
  • Can you post the sources file ?

    TARGETNAME=wlan             (eg for you)

    --- Misbah

    Senior Design Engineer T.E.S Electroni Solutions (Bangalore-India)

    Monday, December 16, 2013 8:38 AM