2003-11-08 05:00 AM
2011-05-17 01:16 AM
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, terry2011-05-17 01:16 AM
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.2011-05-17 01:16 AM
Try also ''C:\Soft'' instead of ''C:/Soft'' ...
Good Luck Alain