From: Dr R. W. <ru...@ru...> - 2001-07-15 10:38:21
|
When rebuilding SDCC I tend to use the sequence: make clean make distclean cvs update on a Solaris or Linux box. This invariably leads to the output: 509 sparc:SDCC_CVS |> cvs update ? sdcc_configure ? as/z80/Makefile.dep ? device/lib/Makefile ? device/lib/Makefile.dep ? packihx/Makefile ? sim/ucsim/avr.src/Makefile ? sim/ucsim/avr.src/Makefile.dep ? sim/ucsim/cmd.src/Makefile ? sim/ucsim/cmd.src/Makefile.dep ? sim/ucsim/doc/Makefile ? sim/ucsim/gui.src/Makefile ? sim/ucsim/gui.src/Makefile.dep ? sim/ucsim/gui.src/serio.src/Makefile ? sim/ucsim/gui.src/serio.src/Makefile.dep ? sim/ucsim/s51.src/Makefile ? sim/ucsim/s51.src/Makefile.dep ? sim/ucsim/sim.src/Makefile ? sim/ucsim/sim.src/Makefile.dep ? sim/ucsim/z80.src/Makefile ? sim/ucsim/z80.src/Makefile.dep ? src/avr/Makefile.dep ? src/ds390/Makefile.dep ? src/izt/Makefile.dep ? src/mcs51/Makefile.dep ? src/pic/Makefile.dep ? src/z80/Makefile.dep ? support/cpp2/auto-host.h ? support/cpp2/config.log ? support/cpp2/Makefile ? support/cpp2/configargs.h ? support/cpp2/config.status ? support/cpp2/cstamp-h U bin/README 510 sparc:SDCC_CVS |> which appears to indicate that some aspect of the cleaning is not happening. (sdcc_configure is a shell script that runs ./configure that we have that saves us from having to remember all the necessary options.) Then to build the sdcc and colleagues, I use: ./configure <...various parameters...> make make install make clean make distclean I really must get around to doing something about the multiple targets for the build but this suffices for now. This sequence is failing for me on Solaris, Linux (RH7.1) and Cygwin. I can highlight the basic problem by looking at at the effect of: ./configure ... make clean On Solaris, Linux (RH7.1) and Cywin 2.0 the configure seems to work fine but makeing does not. On Solaris: 517 sparc:SDCC_CVS |> make clean + Cleaning root of the project... make -f clean.mk clean make[1]: Entering directory `/home/share/SDCC_CVS' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f bin/* rm: bin/CVS: is a directory make[1]: [clean] Error 1 (ignored) make[1]: Leaving directory `/home/share/SDCC_CVS' + Cleaning packages in their directories... for pkg in support/cpp support/cpp2 src as/mcs51 as link doc debugger/mcs51 sim/ucsim device/include device/lib packihx; do\ make PORTS="mcs51 z80 avr ds390 pic izt" -C $pkg clean ;\ done make[1]: Entering directory `/home/share/SDCC_CVS/support/cpp' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../bin/sdcpp make[1]: Leaving directory `/home/share/SDCC_CVS/support/cpp' make[1]: Entering directory `/home/share/SDCC_CVS/support/cpp2' rm -f ../../bin/sdcpp2 *.o core libcpp.a make[1]: Leaving directory `/home/share/SDCC_CVS/support/cpp2' make[1]: Entering directory `/home/share/SDCC_CVS/src' rm -f *core *[%~] *.[oa] *.output rm -f .[a-z]*~ \#* rm -f ../bin/sdcc sdcc for port in mcs51 z80 avr ds390 pic izt ; do\ make -C $port clean ;\ done make[2]: Entering directory `/home/share/SDCC_CVS/src/mcs51' Makefile.dep:594: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/mcs51' make[2]: Entering directory `/home/share/SDCC_CVS/src/z80' Makefile.dep:611: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/z80' make[2]: Entering directory `/home/share/SDCC_CVS/src/avr' Makefile.dep:590: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/avr' make[2]: Entering directory `/home/share/SDCC_CVS/src/ds390' Makefile.dep:590: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/ds390' make[2]: Entering directory `/home/share/SDCC_CVS/src/pic' Makefile.dep:595: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/pic' make[2]: Entering directory `/home/share/SDCC_CVS/src/izt' Makefile.dep:13: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/izt' make[1]: *** [clean] Error 2 make[1]: Leaving directory `/home/share/SDCC_CVS/src' make[1]: Entering directory `/home/share/SDCC_CVS/as/mcs51' Makefile:99: Makefile.dep: No such file or directory gcc -E -I. -I../.. -MM asmain.c aslex.c assym.c assubr.c asnoice.c asexpr.c asdata.c aslist.c asout.c asstore.c i51ext.c i51pst.c i51mch.c i51adr.c lkmain.c lkhead.c lkarea.c lkdata.c lkeval.c lklex.c lksym.c lkrloc.c lklibr.c lklist.c lkihx.c lks19.c lkstore.c lknoice.c >Makefile.dep make[1]: Leaving directory `/home/share/SDCC_CVS/as/mcs51' make[1]: Entering directory `/home/share/SDCC_CVS/as/mcs51' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../asx8051 ../../aslink asx8051 aslink make[1]: Leaving directory `/home/share/SDCC_CVS/as/mcs51' make[1]: Entering directory `/home/share/SDCC_CVS/as' make -C z80 clean make[2]: Entering directory `/home/share/SDCC_CVS/as/z80' rm -rf obj//asdata.o obj//asexpr.o obj//aslex.o obj//aslist.o obj//asmain.o obj//asout.o obj//assubr.o obj//assym.o obj//z80adr.o obj//z80ext.o obj//z80mch.o obj//z80pst.o as obj/ make[2]: Leaving directory `/home/share/SDCC_CVS/as/z80' make[1]: Leaving directory `/home/share/SDCC_CVS/as' make[1]: Entering directory `/home/share/SDCC_CVS/link' make -C z80 clean make[2]: Entering directory `/home/share/SDCC_CVS/link/z80' rm -rf obj//lkarea.o obj//lkdata.o obj//lkeval.o obj//lkhead.o obj//lkihx.o obj//lklex.o obj//lklibr.o obj//lklist.o obj//lkmain.o obj//lkrloc.o obj//lks19.o obj//lksym.o obj//lkgb.o obj//lkgg.o link obj/ make[2]: Leaving directory `/home/share/SDCC_CVS/link/z80' make[1]: Leaving directory `/home/share/SDCC_CVS/link' make[1]: Entering directory `/home/share/SDCC_CVS/doc' # remove intermediate file, not the final pdf's and html's # because these are needed for the distribution rm -rf *.tex *.aux *.dvi *.idx *.ilg *.ind *.log *.toc *~ \#* \ *.ps */*.css */*.pl *.gif core make[1]: Leaving directory `/home/share/SDCC_CVS/doc' make[1]: Entering directory `/home/share/SDCC_CVS/debugger/mcs51' gcc -E -I. -I../.. -I../../support -I../../support/Util -MM sdcdb.c symtab.c simi.c ../../src/SDCCset.c break.c cmd.c ../../src/SDCChasht.c ../../support/Util/SDCCerr.c >Makefile.dep make[1]: Leaving directory `/home/share/SDCC_CVS/debugger/mcs51' make[1]: Entering directory `/home/share/SDCC_CVS/debugger/mcs51' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../bin/sdcdb ../../support/Util/SDCCerr.o make[1]: execvp: ../../support/Util/SDCCerr.o: Permission denied make[1]: *** [clean] Error 127 make[1]: Leaving directory `/home/share/SDCC_CVS/debugger/mcs51' make[1]: Entering directory `/home/share/SDCC_CVS/sim/ucsim' make -f clean.mk clean make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim' rm -f *core *[%~] *.[oa] *.so ucsim rm -f .[a-z]*~ make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/cmd.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/cmd.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/sim.src' rm -f *core *[%~] *.[oa] test_mem_speed rm -f .[a-z]*~ make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/sim.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/gui.src' rm -f *core *[%~] *.[oa] a rm -f .[a-z]*~ make[3]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/gui.src/serio.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f serialview make[3]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/gui.src/serio.src' make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/gui.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/s51.src' rm -f *core *[%~] *.[oa] rm -f test_*.??* '(null).cdb' rm -f .[a-z]*~ rm -f s51 make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/s51.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/avr.src' rm -f *core *[%~] *.[oa] *.map rm -f .[a-z]*~ rm -f savr make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/avr.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/z80.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f sz80 make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/z80.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/doc' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/doc' make[1]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim' make[1]: Entering directory `/home/share/SDCC_CVS/device/include' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ make[1]: Leaving directory `/home/share/SDCC_CVS/device/include' make[1]: Entering directory `/home/share/SDCC_CVS/device/lib' rm -f *core *[%~] *.[oa] *.rel *.lst *.sym *.asm *.ihx *.dump* *.cdb rm -f .[a-z]*~ rm -f *.dump* rm -r build rm: cannot remove `build': No such file or directory make[1]: *** [clean] Error 1 make[1]: Leaving directory `/home/share/SDCC_CVS/device/lib' make[1]: Entering directory `/home/share/SDCC_CVS/packihx' rm -f *core *[%~] *.[oa] *.output rm -f .[a-z]*~ \#* rm -f packihx make[1]: Leaving directory `/home/share/SDCC_CVS/packihx' 518 sparc:SDCC_CVS |> On a Linux (RH7.1) box, I get something very similar: 508 elon:SDCC_CVS |> make clean + Cleaning root of the project... make -f clean.mk clean make[1]: Entering directory `/home/share/SDCC_CVS' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f bin/* rm: `bin/CVS' is a directory make[1]: [clean] Error 1 (ignored) make[1]: Leaving directory `/home/share/SDCC_CVS' + Cleaning packages in their directories... for pkg in support/cpp support/cpp2 src as/mcs51 as link doc debugger/mcs51 sim/ucsim device/include device/lib packihx; do\ make PORTS="mcs51 z80 avr ds390 pic izt" -C $pkg clean ;\ done make[1]: Entering directory `/home/share/SDCC_CVS/support/cpp' Makefile:92: Makefile.dep: No such file or directory gcc -E -I. -I../.. -I../Util -D_FORASXXXX_ -MM cppalloc.c cpperror.c cppexp.c cpphash.c cpplib.c cppmain.c support.c >Makefile.dep make[1]: Leaving directory `/home/share/SDCC_CVS/support/cpp' make[1]: Entering directory `/home/share/SDCC_CVS/support/cpp' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../bin/sdcpp make[1]: Leaving directory `/home/share/SDCC_CVS/support/cpp' make[1]: Entering directory `/home/share/SDCC_CVS/support/cpp2' rm -f ../../bin/sdcpp2 *.o core libcpp.a make[1]: Leaving directory `/home/share/SDCC_CVS/support/cpp2' make[1]: Entering directory `/home/share/SDCC_CVS/src' gcc -E -I. -I.. -I../support/Util -MM SDCCy.c SDCChasht.c SDCCmain.c SDCCsymt.c SDCCopt.c SDCCast.c SDCCmem.c SDCCval.c SDCCicode.c SDCCbitv.c SDCCset.c SDCClabel.c SDCCBBlock.c SDCCloop.c SDCCcse.c SDCCcflow.c SDCCdflow.c SDCClrange.c SDCCptropt.c SDCCpeeph.c SDCCglue.c spawn.c asm.c SDCClex.c >Makefile.dep make[1]: Leaving directory `/home/share/SDCC_CVS/src' make[1]: Entering directory `/home/share/SDCC_CVS/src' rm -f *core *[%~] *.[oa] *.output rm -f .[a-z]*~ \#* rm -f ../bin/sdcc sdcc for port in mcs51 z80 avr ds390 pic izt ; do\ make -C $port clean ;\ done make[2]: Entering directory `/home/share/SDCC_CVS/src/mcs51' Makefile.dep:594: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/mcs51' make[2]: Entering directory `/home/share/SDCC_CVS/src/z80' Makefile.dep:611: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/z80' make[2]: Entering directory `/home/share/SDCC_CVS/src/avr' Makefile.dep:590: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/avr' make[2]: Entering directory `/home/share/SDCC_CVS/src/ds390' Makefile.dep:590: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/ds390' make[2]: Entering directory `/home/share/SDCC_CVS/src/pic' Makefile.dep:595: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/pic' make[2]: Entering directory `/home/share/SDCC_CVS/src/izt' Makefile.dep:13: *** missing separator. Stop. make[2]: Leaving directory `/home/share/SDCC_CVS/src/izt' make[1]: *** [clean] Error 2 make[1]: Leaving directory `/home/share/SDCC_CVS/src' make[1]: Entering directory `/home/share/SDCC_CVS/as/mcs51' Makefile:99: Makefile.dep: No such file or directory gcc -E -I. -I../.. -MM asmain.c aslex.c assym.c assubr.c asnoice.c asexpr.c asdata.c aslist.c asout.c asstore.c i51ext.c i51pst.c i51mch.c i51adr.c lkmain.c lkhead.c lkarea.c lkdata.c lkeval.c lklex.c lksym.c lkrloc.c lklibr.c lklist.c lkihx.c lks19.c lkstore.c lknoice.c >Makefile.dep In file included from assym.c:27: alloc.h:4:19: warning: no newline at end of file In file included from assym.c:27: alloc.h:4:19: warning: no newline at end of file In file included from lksym.c:22: alloc.h:4:19: warning: no newline at end of file In file included from lksym.c:22: alloc.h:4:19: warning: no newline at end of file make[1]: Leaving directory `/home/share/SDCC_CVS/as/mcs51' make[1]: Entering directory `/home/share/SDCC_CVS/as/mcs51' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../asx8051 ../../aslink asx8051 aslink make[1]: Leaving directory `/home/share/SDCC_CVS/as/mcs51' make[1]: Entering directory `/home/share/SDCC_CVS/as' make -C z80 clean make[2]: Entering directory `/home/share/SDCC_CVS/as/z80' rm -rf obj//asdata.o obj//asexpr.o obj//aslex.o obj//aslist.o obj//asmain.o obj//asout.o obj//assubr.o obj//assym.o obj//z80adr.o obj//z80ext.o obj//z80mch.o obj//z80pst.o as obj/ make[2]: Leaving directory `/home/share/SDCC_CVS/as/z80' make[1]: Leaving directory `/home/share/SDCC_CVS/as' make[1]: Entering directory `/home/share/SDCC_CVS/link' make -C z80 clean make[2]: Entering directory `/home/share/SDCC_CVS/link/z80' rm -rf obj//lkarea.o obj//lkdata.o obj//lkeval.o obj//lkhead.o obj//lkihx.o obj//lklex.o obj//lklibr.o obj//lklist.o obj//lkmain.o obj//lkrloc.o obj//lks19.o obj//lksym.o obj//lkgb.o obj//lkgg.o link obj/ make[2]: Leaving directory `/home/share/SDCC_CVS/link/z80' make[1]: Leaving directory `/home/share/SDCC_CVS/link' make[1]: Entering directory `/home/share/SDCC_CVS/doc' # remove intermediate file, not the final pdf's and html's # because these are needed for the distribution rm -rf *.tex *.aux *.dvi *.idx *.ilg *.ind *.log *.toc *~ \#* \ *.ps */*.css */*.pl *.gif core make[1]: Leaving directory `/home/share/SDCC_CVS/doc' make[1]: Entering directory `/home/share/SDCC_CVS/debugger/mcs51' gcc -E -I. -I../.. -I../../support -I../../support/Util -MM sdcdb.c symtab.c simi.c ../../src/SDCCset.c break.c cmd.c ../../src/SDCChasht.c ../../support/Util/SDCCerr.c >Makefile.dep make[1]: Leaving directory `/home/share/SDCC_CVS/debugger/mcs51' make[1]: Entering directory `/home/share/SDCC_CVS/debugger/mcs51' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../bin/sdcdb ../../support/Util/SDCCerr.o make[1]: execvp: ../../support/Util/SDCCerr.o: Permission denied make[1]: *** [clean] Error 127 make[1]: Leaving directory `/home/share/SDCC_CVS/debugger/mcs51' make[1]: Entering directory `/home/share/SDCC_CVS/sim/ucsim' make -f clean.mk clean make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim' rm -f *core *[%~] *.[oa] *.so ucsim rm -f .[a-z]*~ make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/cmd.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/cmd.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/sim.src' rm -f *core *[%~] *.[oa] test_mem_speed rm -f .[a-z]*~ make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/sim.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/gui.src' rm -f *core *[%~] *.[oa] a rm -f .[a-z]*~ /home/share/SDCC_CVS/sim/ucsim/gui.src/serio.src make[3]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/gui.src/serio.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f serialview make[3]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/gui.src/serio.src' make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/gui.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/s51.src' rm -f *core *[%~] *.[oa] rm -f test_*.??* '(null).cdb' rm -f .[a-z]*~ rm -f s51 make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/s51.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/avr.src' rm -f *core *[%~] *.[oa] *.map rm -f .[a-z]*~ rm -f savr make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/avr.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/z80.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f sz80 make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/z80.src' make[2]: Entering directory `/home/share/SDCC_CVS/sim/ucsim/doc' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ make[2]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim/doc' make[1]: Leaving directory `/home/share/SDCC_CVS/sim/ucsim' make[1]: Entering directory `/home/share/SDCC_CVS/device/include' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ make[1]: Leaving directory `/home/share/SDCC_CVS/device/include' make[1]: Entering directory `/home/share/SDCC_CVS/device/lib' rm -f *core *[%~] *.[oa] *.rel *.lst *.sym *.asm *.ihx *.dump* *.cdb rm -f .[a-z]*~ rm -f *.dump* rm -r build rm: cannot remove `build': No such file or directory make[1]: *** [clean] Error 1 make[1]: Leaving directory `/home/share/SDCC_CVS/device/lib' make[1]: Entering directory `/home/share/SDCC_CVS/packihx' rm -f *core *[%~] *.[oa] *.output rm -f .[a-z]*~ \#* rm -f packihx make[1]: Leaving directory `/home/share/SDCC_CVS/packihx' 509 elon:SDCC_CVS |> I get a not dissimilar problem with my Cygwin set up on Windows98. cd c:\russel\SDCC_CVS\ make clean + Cleaning root of the project... /usr/bin/MAKE -f clean.mk clean MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f bin/* rm: bin/CVS: is a directory MAKE[1]: [clean] Error 1 (ignored) MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS' + Cleaning packages in their directories... for pkg in support/cpp support/cpp2 src as/mcs51 as link doc debugger/mcs51 sim/ucsim device/include device/lib packihx; do\ /usr/bin/MAKE PORTS="mcs51 z80 avr ds390 pic izt " -C $pkg clean ;\ done MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/support/cpp' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../bin/sdcpp MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/support/cpp' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/support/cpp2' rm -f ../../bin/sdcpp2 *.o core libcpp.a MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/support/cpp2' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/src' rm -f *core *[%~] *.[oa] *.output rm -f .[a-z]*~ \#* rm -f ../bin/sdcc sdcc for port in mcs51 z80 avr ds390 pic izt ; do\ /usr/bin/MAKE -C $port clean ;\ done MAKE: Entering an unknown directory MAKE: *** mcs51 : No such file or directory. Stop. MAKE: Leaving an unknown directory MAKE: Entering an unknown directory MAKE: *** z80 : No such file or directory. Stop. MAKE: Leaving an unknown directory MAKE: Entering an unknown directory MAKE: *** avr : No such file or directory. Stop. MAKE: Leaving an unknown directory MAKE: Entering an unknown directory MAKE: *** ds390 : No such file or directory. Stop. MAKE: Leaving an unknown directory MAKE: Entering an unknown directory MAKE: *** pic : No such file or directory. Stop. MAKE: Leaving an unknown directory MAKE: Entering an unknown directory MAKE: *** izt : No such file or directory. Stop. MAKE: Leaving an unknown directory MAKE[1]: *** [clean] Error 2 MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/src' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/as/mcs51' Makefile:99: Makefile.dep: No such file or directory gcc -E -I. -I../.. -MM asmain.c aslex.c assym.c assubr.c asnoice.c asexpr.c asdata.c aslist.c asout.c asstore.c i51ext.c i51pst.c i51mch.c i51adr.c lkmain.c lkhead.c lkarea.c lkdata.c lkeval.c lklex.c lksym.c lkrloc.c lklibr.c lklist.c lkihx.c lks19.c lkstore.c lknoice.c >Makefile.dep In file included from asmain.c:19: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from aslex.c:18: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from assym.c:29: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from assubr.c:15: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from asnoice.c:12: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from asexpr.c:15: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from asdata.c:20: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from aslist.c:19: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from asout.c:19: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from asstore.c:6: asm.h:668: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lkmain.c:20: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lkhead.c:14: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lkarea.c:18: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lkdata.c:19: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lkeval.c:14: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lklex.c:14: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lksym.c:24: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lkrloc.c:19: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lklibr.c:21: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lklist.c:21: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lkihx.c:14: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lks19.c:14: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lkstore.c:12: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition In file included from lknoice.c:14: aslink.h:744: warning: `strcmpi' redefined /usr/include/string.h:77: warning: this is the location of the previous definition MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/as/mcs51' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/as/mcs51' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../asx8051 ../../aslink asx8051 aslink MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/as/mcs51' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/as' /usr/bin/MAKE -C z80 clean MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/as/z80' rm -rf obj//asdata.o obj//asexpr.o obj//aslex.o obj//aslist.o obj//asmain.o obj//asout.o obj//assubr.o obj//assym.o obj//z80adr.o obj//z80ext.o obj//z80mch.o obj//z80pst.o as obj/ MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/as/z80' MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/as' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/link' /usr/bin/MAKE -C z80 clean MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/link/z80' rm -rf obj//lkarea.o obj//lkdata.o obj//lkeval.o obj//lkhead.o obj//lkihx.o obj//lklex.o obj//lklibr.o obj//lklist.o obj//lkmain.o obj//lkrloc.o obj//lks19.o obj//lksym.o obj//lkgb.o obj//lkgg.o link obj/ MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/link/z80' MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/link' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/doc' # remove intermediate file, not the final pdf's and html's # because these are needed for the distribution rm -rf *.tex *.aux *.dvi *.idx *.ilg *.ind *.log *.toc *~ \#* \ *.ps */*.css */*.pl *.gif core MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/doc' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/debugger/mcs51' gcc -E -I. -I../.. -I../../support -I../../support/Util -MM sdcdb.c symtab.c simi.c ../../src/SDCCset.c break.c cmd.c ../../src/SDCChasht.c ../../support/Util/SDCCerr.c >Makefile.dep MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/debugger/mcs51' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/debugger/mcs51' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f ../../bin/sdcdb ../../support/Util/SDCCerr.o ../../support/Util/SDCCerr.o: not found MAKE[1]: *** [clean] Error 127 MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/debugger/mcs51' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim' /usr/bin/MAKE -f clean.mk clean MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim' rm -f *core *[%~] *.[oa] *.so ucsim rm -f .[a-z]*~ MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim' MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/cmd.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/cmd.src' MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/sim.src' rm -f *core *[%~] *.[oa] test_mem_speed rm -f .[a-z]*~ MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/sim.src' MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/gui.src' rm -f *core *[%~] *.[oa] a rm -f .[a-z]*~ MAKE[3]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/gui.src/serio.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f serialview MAKE[3]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/gui.src/serio.src' MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/gui.src' MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/s51.src' rm -f *core *[%~] *.[oa] rm -f test_*.??* '(null).cdb' rm -f .[a-z]*~ rm -f s51 MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/s51.src' MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/avr.src' rm -f *core *[%~] *.[oa] *.map rm -f .[a-z]*~ rm -f savr MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/avr.src' MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/z80.src' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ rm -f sz80 MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/z80.src' MAKE[2]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/doc' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ MAKE[2]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim/doc' MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/sim/ucsim' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/device/include' rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/device/include' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/device/lib' rm -f *core *[%~] *.[oa] *.rel *.lst *.sym *.asm *.ihx *.dump* *.cdb rm -f .[a-z]*~ rm -f *.dump* rm -r build rm: cannot remove `build': No such file or directory MAKE[1]: *** [clean] Error 1 MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/device/lib' MAKE[1]: Entering directory `/cygdrive/c/Russel/SDCC_CVS/packihx' rm -f *core *[%~] *.[oa] *.output rm -f .[a-z]*~ \#* rm -f packihx MAKE[1]: Leaving directory `/cygdrive/c/Russel/SDCC_CVS/packihx' This clearly indicates there is a "problem" in the Makefile in one of the directories in that there are ^M as well as ^J . Russel. ===================================================================== Dr Russel Winder +44 20 7585 2200 41 Buckmaster Road +44 7770 465 077 London SW11 1EN, UK ru...@ru... |