From mboxrd@z Thu Jan 1 00:00:00 1970 From: "l.lehuerou" To: "'insight@sourceware.cygnus.com'" Subject: make error (permission denied) Date: Tue, 07 Sep 1999 01:01:00 -0000 Message-id: <41A0CF878BE5D111893900805F351610148414@SCMARCOS> X-SW-Source: 1999-q3/msg00122.html ########################################################### > I have already sent this to the bug report. > Response of gnat-admin was : > ---------------------------------------------------------------------- > ---- > Thank you very much for your problem report. > It has the internal identification `insight/9'. > The individual assigned to look at your > report is: unassigned. > > >Category: insight > >Responsible: unassigned > >Synopsis: make error (permission denied) > >Arrival-Date: Tue Sep 07 00:03:01 PDT 1999 > ---------------------------------------------------------------------- > ---- > Here is global plain text for the report whith attached files witch I > did not know how to attach to the report. > Ther is also a complement about an unbloquing initial problem on > "configure" before the reported "make" error. Following is the complete report : > ########################################################### > > I work on a PC/Win95 V4.00.950 + Service Pack 1 > > After installing cygwin in c:\cygnus and unpacking insight-19990830 in > c:\cygnus too, i ran : > configure --target=m68k-coff --prefix=/cygnus/insight > from the directory /cygnus/insight-19990830, to build a cross 68k > version of insight. > > configure fails with this last outputs (screen copy from BASH window) > : > ################ BEGIN ################################## > checking for Itk configuration... found > /cygnus/insight-19990830/itcl/itk/itkCon > fig.sh > checking for Tix configuration... **** Looking at ../tix - with unix > **** Other private locations > found /cygnus/insight-19990830/tix/tixConfig.sh > checking for X... (cached) no > checking whether ln -s works... (cached) yes > checking for Cygwin environment... (cached) yes > checking for mingw32 environment... (cached) no > checking for executable suffix... (cached) .exe > updating cache ../config.cache > creating ./config.status > creating Makefile > creating tui/Makefile > creating .gdbinit > creating config.h > linking ./config/i386/xm-cygwin.h to xm.h > linking ./config/m68k/tm-monitor.h to tm.h > linking ./config/nm-empty.h to nm.h > configuring in doc > running /bin/sh ./configure --host=i586-pc-cygwin32 > --target=m68k-coff --prefix > =/cygnus/insight --cache-file=../../config.cache --srcdir=. > loading cache ../../config.cache > ./configure: cannot create /dev/null: error 24 > checking for a BSD compatible install... \c > (cached) \c > /CYGNUS/CYGWIN~1/H-I586~1/BIN/install -c > updating cache ../../config.cache > creating ./config.status > creating Makefile > configuring in testsuite > running /bin/sh ./configure --host=i586-pc-cygwin32 > --target=m68k-coff --prefix > =/cygnus/insight --cache-file=../../config.cache --srcdir=. > loading cache ../../config.cache > ./configure: cannot create /dev/null: error 24 > ./configure: cannot create /dev/null: error 24 > configure: error: can not run > /cygnus/insight-19990830/gdb/testsuite/../../confi > g.sub > configure: error: ./configure failed for testsuite > Configure in /cygnus/insight-19990830/gdb failed, exiting. > BASH.EXE-2.02$ configure --target=m68k-coff --prefix=/cygnus/insight > ################# END ################################### > > At the same time, a window opens, indicationg an error when accessing > to the registry, saying I should restore it and restart my computer. > > Then I ran Regclean.exe (Microsoft, Version 4.1a, build 7364.1) and > restart. > Undo Registry entries file created by regclean, is attached > (Undo-ERI45-19990907-072116.Reg) and new one, exported from > regedit.exe, is also attached (New-ERI45-19990907-072116.Reg) in the > WinZipped file reg.zip > > Now I run the same command : > configure --target=m68k-coff --prefix=/cygnus/insight > > configure now seems to end correctly with this last outputs (screen > copy from BASH window) : > ################ BEGIN ################################## > loading cache ../../../config.cache > checking host system type... i586-pc-cygwin32 > checking target system type... m68k-unknown-coff > checking build system type... i586-pc-cygwin32 > checking how to run the C preprocessor... (cached) gcc -E > checking for pthread.h... no > updating cache ../../../config.cache > creating ./config.status > creating Makefile > creating config.h > configuring in gdb.trace > running /bin/sh ./configure --host=i586-pc-cygwin32 > --target=m68k-coff --prefix > =/cygnus/insight --cache-file=../../../config.cache --srcdir=. > loading cache ../../../config.cache > checking host system type... i586-pc-cygwin32 > checking target system type... m68k-unknown-coff > checking build system type... i586-pc-cygwin32 > updating cache ../../../config.cache > creating ./config.status > creating Makefile > configuring in gdb.gdbtk > running /bin/sh ./configure --host=i586-pc-cygwin32 > --target=m68k-coff --prefix > =/cygnus/insight --cache-file=../../../config.cache --srcdir=. > loading cache ../../../config.cache > checking host system type... i586-pc-cygwin32 > checking target system type... m68k-unknown-coff > checking build system type... i586-pc-cygwin32 > updating cache ../../../config.cache > creating ./config.status > creating Makefile > Configuring etc... > loading cache ../config.cache > checking for a BSD compatible install... (cached) > /CYGNUS/CYGWIN~1/H-I586~1/BIN/ > install -c > updating cache ../config.cache > creating ./config.status > creating Makefile > Configuring utils... > Created "Makefile" in /cygnus/insight-19990830/utils > Configuring spu... > Created "Makefile" in /cygnus/insight-19990830/utils/spu > BASH.EXE-2.02$ > ################# END ################################### > > Then I run make : > make > > make fails with this last outputs (screen copy from BASH window) : > ################ BEGIN ################################## > for i in coff-m68k.lo cofflink.lo versados.lo ieee.lo cpu-m68k.lo ; > do \ > case " $f " in \ > *" $i "*) ;; \ > *) f="$f $i" ;; \ > esac ; \ > done ; \ > echo $f > tofiles > /bin/sh ./../move-if-change tofiles ofiles > touch stamp-ofiles > /bin/sh ./libtool --mode=link gcc -g -O2 -W -Wall -o libbfd.la > -rpath /cygnus/ > insight/lib -release 2.9.5 archive.lo archures.lo bfd.lo cache.lo > coffgen.lo co > refile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo > syms.lo targ > ets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo > stab-syms. > lo `cat ofiles` > Usage: cygpath [-p|--path] (-u|--unix)|(-w|--windows) filename > -u|--unix print Unix form of filename > -w|--windows print Windows form of filename > -p|--path filename argument is a path > libtool: link: warning: undefined symbols not allowed in > i586-pc-cygwin32 shared > libraries > mkdir .libs > lib /OUT:.libs/libbfd.lib archive.o archures.o bfd.o cache.o > coffgen.o corefile > .o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o > targets.o hash.o l > inker.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o > coff-m68k.o cofflink > .o versados.o ieee.o cpu-m68k.o > lib: permission denied > make[3]: *** [libbfd.la] Error 127 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive-am] Error 2 > make: *** [all-bfd] Error 2 > BASH.EXE-2.02$ > ################# END ################################### > > I then retrie make from here : > make fails again with the same last outputs (screen copy from BASH > window) : > ################ BEGIN ################################## > Making all in doc > make[3]: Nothing to be done for `all'. > make[1]: Nothing to be done for `all'. > make all-recursive > Making all in doc > make[3]: Nothing to be done for `all'. > Making all in po > make[3]: Nothing to be done for `all'. > /bin/sh ./libtool --mode=link gcc -g -O2 -W -Wall -o libbfd.la > -rpath /cygnus/ > insight/lib -release 2.9.5 archive.lo archures.lo bfd.lo cache.lo > coffgen.lo co > refile.lo format.lo init.lo libbfd.lo opncls.lo reloc.lo section.lo > syms.lo targ > ets.lo hash.lo linker.lo srec.lo binary.lo tekhex.lo ihex.lo stabs.lo > stab-syms. > lo `cat ofiles` > Usage: cygpath [-p|--path] (-u|--unix)|(-w|--windows) filename > -u|--unix print Unix form of filename > -w|--windows print Windows form of filename > -p|--path filename argument is a path > libtool: link: warning: undefined symbols not allowed in > i586-pc-cygwin32 shared > libraries > rm -fr .libs/libbfd.la .libs/libbfd.* .libs/libbfd-2.9.5.* > lib /OUT:.libs/libbfd.lib archive.o archures.o bfd.o cache.o > coffgen.o corefile > .o format.o init.o libbfd.o opncls.o reloc.o section.o syms.o > targets.o hash.o l > inker.o srec.o binary.o tekhex.o ihex.o stabs.o stab-syms.o > coff-m68k.o cofflink > .o versados.o ieee.o cpu-m68k.o > lib: permission denied > make[3]: *** [libbfd.la] Error 127 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive-am] Error 2 > make: *** [all-bfd] Error 2 > BASH.EXE-2.02$ > ################# END ################################### > > Exit from bash, cleaning registry again and running make again does > not solve the problem. > Regclean does not report registry error after this make process. > > I add the WinZipped directory structure of the cygnus dir at this > point (dir /s > dirstr.txt under windows MS-DOS console) if it helps. > Missing items or processing dates of the output files will perhaps > help. > > Can you help me ? > > Note that we have configured and make the gcc m68k-coff target before. > This to say that another building process works correctly (had some > vfork problems with make but restarting several times did it). > >