Coldfire EWL_C Build Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Coldfire EWL_C Build Error

跳至解决方案
1,043 次查看
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?

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
695 次查看
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 项奖励
回复
1 回复
696 次查看
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 项奖励
回复