none
Doesn't compile no more RRS feed

  • Question

  • Hi all,

    i'm working on the Freescale's BSP for iMX51.

    Today I decided to Clean and rebuild the image but when it start to compile the plaftorm files i receive the error i never had:

    BUILD: [00:0000000010:PROGC ] Scan C:\WINCE600\PLATFORM\MozartPlus\SRC\DRIVERS\CSPDDK\DLL\
    BUILD: [00:0000000011:PROGC ] Saving C:\WINCE600\PLATFORM\MozartPlus\Build.dat.
    BUILD: [00:0000000013:WARNN ] C:\WINCE600\PLATFORM\MozartPlus\SRC\DRIVERS\CSPDDK\DLL\sources(39) : Build.exe does not evaluate IF conditional statements. Conditional statements that affect macro definitions might cause Build.exe to not rebuild modified source code. Refer to the Platform Builder documentation.
    BUILD: [00:0000000014:WARNN ] C:\WINCE600\PLATFORM\MozartPlus\SRC\DRIVERS\CSPDDK\DLL\: Missing source file: C:\WINCE600\platform\common\lib\ARMV4I\retail\ddk_mx51_fsl_v2.lib.
    BUILD: [00:0000000015:WARNN ] C:\WINCE600\PLATFORM\MozartPlus\SRC\DRIVERS\CSPDDK\DLL\: Missing source file: C:\WINCE600\platform\common\lib\ARMV4I\retail\ddk_iomux_to1_mx51_fsl_v2.lib.
    BUILD: [00:0000000021:PROGC ] Building LIB Pass in C:\WINCE600\PLATFORM\MozartPlus\SRC\DRIVERS\CSPDDK\DLL\ directory.
    BUILD: [01:0000000031:ERRORE] NMAKE : U1073: don't know how to make 'C:\WINCE600\platform\common\lib\ARMV4I\retail\ddk_mx51_fsl_v2.def'
    BUILD: [01:0000000033:ERRORE] NMAKE.EXE TargetLibFiles -i -c BUILDMSG=Stop. BUILDROOT=C:\WINCE600\PLATFORM\MozartPlus LINKONLY=1 NOPASS0=1 failed - rc = 2
    BUILD: [00:0000000034:PROGC ]            Files Warnings Errors


    It is looking for file ddk_mx51_fsl_v2.def in the common/lib and, of course, the file is missing.

    Also other modules (such as fec, ..)  do the same. (!?!?!?!?)

    What happen? I never had this error(s) !?!?

    Who is that insert the file(s) in that folder?

    Do I miss anything?
    Thanks


    SteMMo
    Friday, August 26, 2011 2:00 PM

Answers

  • Did you rebuild the freescale libs in the common folder?

    Navigate, in Visual Studio's solution explorer to each of the following folders and build them separately:

    platform/common/src/soc/COMMON_FSL_V3

    platform/common/src/soc/MX51_FSL_V3

    right click on it and choose build,

    Then build your BSP again

     

    more info about building the OS and BSP: http://guruce.com/blogpost/what-to-build-when

     

     


    -- Good luck, Erwin Zwart, Check out my blog: http://GuruCE.com/blog GuruCE Microsoft Embedded Partner http://GuruCE.com Consultancy, training and development services.
    • Marked as answer by SteMMo Monday, August 29, 2011 10:24 AM
    Friday, August 26, 2011 7:49 PM

All replies

  • Did you rebuild the freescale libs in the common folder?

    Navigate, in Visual Studio's solution explorer to each of the following folders and build them separately:

    platform/common/src/soc/COMMON_FSL_V3

    platform/common/src/soc/MX51_FSL_V3

    right click on it and choose build,

    Then build your BSP again

     

    more info about building the OS and BSP: http://guruce.com/blogpost/what-to-build-when

     

     


    -- Good luck, Erwin Zwart, Check out my blog: http://GuruCE.com/blog GuruCE Microsoft Embedded Partner http://GuruCE.com Consultancy, training and development services.
    • Marked as answer by SteMMo Monday, August 29, 2011 10:24 AM
    Friday, August 26, 2011 7:49 PM
  • Thanks, at the beginning I didn't understand why the VS did not compile that files.

    Now, my guess is that the preprocessor has problems to understand the following:

    DIRS=	\
    	COMMON_FSL_V2	\
    	COMMON_FSL_V2_PDK1_6	\
    #	MX25_FSL_V2		\
    #	MX25_FSL_V2_PDK1_6	\
    	MX51_FSL_V2		\
    


    I commented out some dir names to avoid to compile all the folders.

     


    SteMMo
    Monday, August 29, 2011 10:24 AM