2004-05-31 09:10 PM
2004-05-24 07:32 PM
we are working with ST7 Visual Debug for EMU3 (Ver. 2.5.4).
when starting REBUILD the command 'gmake' results in this error message: Starting ''rebuild all'' process: gmake rebuild -f CBA_pro.mak gmake -f CBA_pro.mak clean gmake[1]: Entering directory `C:/sw/Rev28_3 Kask+DSK2 Bug/config' delete object files ... if exist ..\object\*.o del .\object\*.o C:\DOKUME~1\FLORIA~1.FOR\LOKALE~1\Temp\make39442.sh: 2: Syntax error: end of file unexpected (expecting ''then'') gmake[1]: *** [clean] Error 2 gmake[1]: Leaving directory `C:/sw/Rev28_3 Kask+DSK2 Bug/config' gmake: *** [rebuild] Error 2 Build failed. We do not get this error if the object folder is cleaned up by hand and BUILD is started. ANy idea where this error comes from? thx for your support! rgds Michael2004-05-25 01:19 AM
Hi Mike,
Could you attach your makefile? Also, instead of using 'if exists', why not preceed the delete command with - ? eg -del .\object\*.o The - operator instructs gmake to ignore any errors. Marty.2004-05-31 09:10 PM
I am related to the user ''mike'', so please view my post as it were from him.
I tried the makefile changes suggested by marty, but without success. The new error message is: Starting ''rebuild all'' process: gmake clean -f cba_pro.mak delete object files ... del ..\object\*.o process_begin: CreateProcess((null), del ..\object*.o, ...) failed. make (e=2): Das System kann die angegebene Datei nicht finden. gmake: [clean] Error 2 (ignored) gmake -f CBA_pro.mak CBA_pro.s19 gmake[1]: Entering directory `C:/sw/Rev28_4/config' Linking object files ... generate elf format file ... generate s19 file... gmake[1]: Leaving directory `C:/sw/Rev28_4/config' Build succeeded. Is there anything wrong with my system path variables? The project path is ok. I have attached my makefile, perhaps this helps. Thanks in advance, Florian ________________ Attachments : CBA_pro.mak : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0EV&d=%2Fa%2F0X0000000bW8%2FWmkINioYavoNBefGufNtb5P2YTzvnK4Ahc8Fb7M0BJU&asPdf=false