cancel
Showing results for 
Search instead for 
Did you mean: 

st92141 compile problem

terryhao
Associate II
Posted on November 08, 2003 at 14:00

st92141 compile problem

3 REPLIES 3
terryhao
Associate II
Posted on May 17, 2011 at 10:16

While I compile St92141 for three-phase motor control example. I find

a problem like follows:

Starting ''rebuild all'' process: gmake rebuild -f acmotor.mak

gmake -f acmotor.mak clean

gmake[1]: Entering directory `C:/SOFT'

if exist *.o del *.o

if exist *.u del *.u

if exist *.lis del *.lis

if exist *.map del *.map

if exist *.dep del *.dep

if exist *.hex del *.hex

gmake[1]: Leaving directory `C:/SOFT'

gmake -f acmotor.mak acmotor.dep acmotor.u

acmotor.mak:98: acmotor.dep: No such file or directory

gmake[1]: Entering directory `C:/SOFT'

Generating dependencies ...

gcc9 -MM -I. acmotor.c ADCModul.c core.c IMCModul.c IOModule.c main.c RCCU_Mod.c slip_reg.c UART.c > acmotor.dep

gmake[1]: Leaving directory `C:/SOFT'

gmake[1]: *** Warning: File `acmotor.dep' has modification time in the future (2003-09-15 16:10:02 > 2003-09-15 16:10:00)

gmake[1]: Entering directory `C:/SOFT'

gmake[1]: `acmotor.dep' is up to date.

gmake[1]: Leaving directory `C:/SOFT'

gmake[1]: *** No rule to make target `crtbegin.o', needed by `acmotor.u'. Stop.

gmake: *** [rebuild] Error 2

Build failed.

I don't know how to solve it, could anyone help me!

Best Regards,

terry
maxime2399
Associate II
Posted on May 17, 2011 at 10:16

The problem is probably in your make file.

Verify that all the path are correct.

the startup file crtbegin need to be compiled too: the error sais it's missing.

an other possible error is a difference in case between the make file and the actual file name: put everything in lower case to avoid problems.
alain239955
Associate II
Posted on May 17, 2011 at 10:16

Try also ''C:\Soft'' instead of ''C:/Soft'' ...

Good Luck

Alain