This is the mail archive of the insight-prs@sourceware.cygnus.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

insight/9: make error (permission denied)



>Number:         9
>Category:       insight
>Synopsis:       make error (permission denied)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 07 00:03:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     l.le_huerou_kerisel@edixia.fr
>Release:        19990830
>Organization:
>Environment:
PC / Win95 Service Pack 1
>Description:
This is a drop of a plain text in Wordpad. So if not readable, i send it to your mail insight@... too.

I work on a PC/Win95 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.

This step first failed and after a registry cleanup it worked to the end.

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 have kept the directory structure of the cygnus dir at this point (dir /s > dirstr.txt under windows MS-DOS console) if needed (joined to the mail). Missing items or processing dates of the output files could perhaps help.

Note that we have configured and make and tested  the gcc m68k-coff target before all this (cross gcc+gdb tested). This to say that another building process works correctly .

>How-To-Repeat:
Seems rather to be linked to my working context
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]