Coldfire EWL_C Build Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Coldfire EWL_C Build Error

Jump to solution
823 Views
wcc3
Contributor II

I need to rebuild the Coldfire v2 library to change the settings.  So I switched on three things in {stuff}\Coldfire_Support\ewl\EWL_C\include\coldfire\ansi_prefix.CF.h, imported the project from {stuff}\Coldfire_Support\ewl into  CW10.2, and hit the Build button.

 

It built that way under 10.1, but not so much this time.  The build leaves the following warning in the Problems view:

 

Invalid project path:  Duplicate path entries found (/coldfire_lib/EWL_C [Output path]), path: [/coldfire_lib/EWL_C].

 

The Console view shows:

 

**** Build of configuration CF_EWL_C for project coldfire_lib ****

 

C:\Freescale\CW MCU v10.2\gnu\bin\make -f EWL_C.CF.mak -j16 all cleanobj

make -f EWL_C.CF.mak TARGET=v1/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v1/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v2/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v2/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v2/pi/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v2/pi/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v3/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v3/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v3/pi/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v3/pi/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/pi/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/pi/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/fpu/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/fpu/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/fpu/pi/libc

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/fpu/pi/libc.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v1/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v1/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v2/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v2/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v2/pi/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v2/pi/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v3/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v3/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v3/pi/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v3/pi/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/pi/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/pi/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/fpu/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/fpu/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/fpu/pi/libc99

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/fpu/pi/libc99.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v1/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v1/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v2/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v2/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v2/pi/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v2/pi/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v3/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v3/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v3/pi/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v3/pi/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/pi/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/pi/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/fpu/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/fpu/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make -f EWL_C.CF.mak TARGET=v4/fpu/pi/libm

make[1]: Entering directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

make[1]: `../lib/v4/fpu/pi/libm.a' is up to date.

make[1]: Leaving directory `C:/Freescale/CW MCU v10.2/MCU/ColdFire_Support/ewl/EWL_C'

if exist EWL_C.CF_CmdLineData rd /s /q EWL_C.CF_CmdLineData

C:\Freescale\CW MCU v10.2\gnu\bin\make: Do not specify -j or --jobs if sh.exe is not available.

C:\Freescale\CW MCU v10.2\gnu\bin\make: Resetting make for single job mode.

 

Nothing appears to get built.  No file dates change in {Stuff}/ColdFire_Support/wel/lib/v2 and its subdirectory.

 

What am I doing wrong?

Labels (1)
0 Kudos
1 Solution
475 Views
wcc3
Contributor II

If I Clean the coldfire_lib project before building it, it builds well enough to work.

 

Did notice that the variable __COLDFIRE__ doesn't get defined.  That means I have to change the switches in the ansi_parms.h file rather than the more obvious ones in the coldfire/ansi_prefix.CF.h file, but it does work.

View solution in original post

0 Kudos
1 Reply
476 Views
wcc3
Contributor II

If I Clean the coldfire_lib project before building it, it builds well enough to work.

 

Did notice that the variable __COLDFIRE__ doesn't get defined.  That means I have to change the switches in the ansi_parms.h file rather than the more obvious ones in the coldfire/ansi_prefix.CF.h file, but it does work.

0 Kudos