This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

No rule to make target `../bfd/bfd.h', needed by `size.o'


Hello,

Using the latest CVS version, I do:

$ ./configure
$ make

Then I get the following error, I have attached the full log.

    && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file zh_CN.po
make[2]: Leaving directory `/home/now3d/src/binutils/po'
make[2]: Entering directory `/home/now3d/src/binutils'
make[2]: *** No rule to make target `../bfd/bfd.h', needed by `size.o'.
   Stop.
make[2]: Leaving directory `/home/now3d/src/binutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/now3d/src/binutils'
make: *** [all-recursive-am] Error 2


bfd.h seems to be created from several other files at compile time. Has anyone been working on something that could have affected this?

Best regards


JG




$ ./configure
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for strerror in -lcposix... no
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking for ranlib... ranlib
checking for strip... strip
updating cache ./config.cache
loading cache ./config.cache within ltconfig
checking whether -lc should be explicitly linked in... no
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
finding the maximum length of command line arguments... 49153
checking if gcc supports -c -o file.o... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse /usr/bin/nm -B output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
updating cache ./config.cache
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for bison... bison -y
checking how to run the C preprocessor... gcc -E
checking for flex... flex
checking for flex... (cached) flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for ranlib... (cached) ranlib
checking for ANSI C header files... yes
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for values.h... yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  fr tr ja es sv da zh_CN
checking whether to enable maintainer-specific portions of Makefiles... no
checking for executable suffix... (cached) no
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /usr/bin/install -c
checking for string.h... (cached) yes
checking for strings.h... yes
checking for stdlib.h... yes
checking for unistd.h... (cached) yes
checking for fcntl.h... yes
checking for sys/file.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for sbrk... yes
checking for utimes... yes
checking for setmode... no
checking for getc_unlocked... yes
checking for strcoll... yes
checking for fopen64... yes
checking for library containing frexp... none required
checking for time_t in time.h... yes
checking for time_t in sys/types.h... yes
checking for utime.h... yes
checking whether fprintf must be declared... no
checking whether strstr must be declared... no
checking whether sbrk must be declared... no
checking whether getenv must be declared... no
checking whether environ must be declared... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating doc/Makefile
creating po/Makefile.in
creating config.h
[now3d@now1g binutils]$ make
make  all-recursive
make[1]: Entering directory `/home/now3d/src/binutils'
Making all in doc
make[2]: Entering directory `/home/now3d/src/binutils/doc'
touch addr2line.1
perl ../../etc/texi2pod.pl -Dman -Daddr2line < binutils.texi > addr2line.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 addr2line.pod | sed -e '/^.if n .na/d' > addr2line.1.T$$ && \
        mv -f addr2line.1.T$$ addr2line.1) || (rm -f addr2line.1.T$$ && exit 1)
rm -f addr2line.pod
touch ar.1
perl ../../etc/texi2pod.pl -Dman -Dar < binutils.texi > ar.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 ar.pod | sed -e '/^.if n .na/d' > ar.1.T$$ && \
        mv -f ar.1.T$$ ar.1) || (rm -f ar.1.T$$ && exit 1)
rm -f ar.pod
touch dlltool.1
perl ../../etc/texi2pod.pl -Dman -Ddlltool < binutils.texi > dlltool.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 dlltool.pod | sed -e '/^.if n .na/d' > dlltool.1.T$$ && \
        mv -f dlltool.1.T$$ dlltool.1) || (rm -f dlltool.1.T$$ && exit 1)
rm -f dlltool.pod
touch nlmconv.1
perl ../../etc/texi2pod.pl -Dman -Dnlmconv < binutils.texi > nlmconv.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 nlmconv.pod | sed -e '/^.if n .na/d' > nlmconv.1.T$$ && \
        mv -f nlmconv.1.T$$ nlmconv.1) || (rm -f nlmconv.1.T$$ && exit 1)
rm -f nlmconv.pod
touch nm.1
perl ../../etc/texi2pod.pl -Dman -Dnm < binutils.texi > nm.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 nm.pod | sed -e '/^.if n .na/d' > nm.1.T$$ && \
        mv -f nm.1.T$$ nm.1) || (rm -f nm.1.T$$ && exit 1)
rm -f nm.pod
touch objcopy.1
perl ../../etc/texi2pod.pl -Dman -Dobjcopy < binutils.texi > objcopy.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 objcopy.pod | sed -e '/^.if n .na/d' > objcopy.1.T$$ && \
        mv -f objcopy.1.T$$ objcopy.1) || (rm -f objcopy.1.T$$ && exit 1)
rm -f objcopy.pod
touch objdump.1
perl ../../etc/texi2pod.pl -Dman -Dobjdump < binutils.texi > objdump.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 objdump.pod | sed -e '/^.if n .na/d' > objdump.1.T$$ && \
        mv -f objdump.1.T$$ objdump.1) || (rm -f objdump.1.T$$ && exit 1)
rm -f objdump.pod
touch ranlib.1
perl ../../etc/texi2pod.pl -Dman -Dranlib < binutils.texi > ranlib.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 ranlib.pod | sed -e '/^.if n .na/d' > ranlib.1.T$$ && \
        mv -f ranlib.1.T$$ ranlib.1) || (rm -f ranlib.1.T$$ && exit 1)
rm -f ranlib.pod
touch readelf.1
perl ../../etc/texi2pod.pl -Dman -Dreadelf < binutils.texi > readelf.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 readelf.pod | sed -e '/^.if n .na/d' > readelf.1.T$$ && \
        mv -f readelf.1.T$$ readelf.1) || (rm -f readelf.1.T$$ && exit 1)
rm -f readelf.pod
touch size.1
perl ../../etc/texi2pod.pl -Dman -Dsize < binutils.texi > size.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 size.pod | sed -e '/^.if n .na/d' > size.1.T$$ && \
        mv -f size.1.T$$ size.1) || (rm -f size.1.T$$ && exit 1)
rm -f size.pod
touch strings.1
perl ../../etc/texi2pod.pl -Dman -Dstrings < binutils.texi > strings.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 strings.pod | sed -e '/^.if n .na/d' > strings.1.T$$ && \
        mv -f strings.1.T$$ strings.1) || (rm -f strings.1.T$$ && exit 1)
rm -f strings.pod
touch strip.1
perl ../../etc/texi2pod.pl -Dman -Dstrip < binutils.texi > strip.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 strip.pod | sed -e '/^.if n .na/d' > strip.1.T$$ && \
        mv -f strip.1.T$$ strip.1) || (rm -f strip.1.T$$ && exit 1)
rm -f strip.pod
touch windres.1
perl ../../etc/texi2pod.pl -Dman -Dwindres < binutils.texi > windres.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 windres.pod | sed -e '/^.if n .na/d' > windres.1.T$$ && \
        mv -f windres.1.T$$ windres.1) || (rm -f windres.1.T$$ && exit 1)
rm -f windres.pod
touch cxxfilt.man
perl ../../etc/texi2pod.pl -Dman -Dcxxfilt < binutils.texi > c++filt.pod
(pod2man --center="GNU Development Tools" --release="binutils-2.14.90" --section=1 c++filt.pod | sed -e '/^.if n .na/d' > cxxfilt.man.T$$ && \
        mv -f cxxfilt.man.T$$ cxxfilt.man) || (rm -f cxxfilt.man.T$$ && exit 1)
rm -f c++filt.pod
if test -f cxxfilt.man; then \
  man=cxxfilt.man; \
else \
  man=./cxxfilt.man; \
fi; \
sed -e 's/@PROGRAM@/c++filt/' \
    -e 's/cxxfilt/c++filt/' < $man \
        > c++filt.1
make[2]: Leaving directory `/home/now3d/src/binutils/doc'
Making all in po
make[2]: Entering directory `/home/now3d/src/binutils/po'
file=./`echo fr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file fr.po
file=./`echo tr | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file tr.po
file=./`echo ja | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ja.po
file=./`echo es | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file es.po
file=./`echo sv | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file sv.po
file=./`echo da | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file da.po
file=./`echo zh_CN | sed 's,.*/,,'`.gmo \
  && rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file zh_CN.po
make[2]: Leaving directory `/home/now3d/src/binutils/po'
make[2]: Entering directory `/home/now3d/src/binutils'
make[2]: *** No rule to make target `../bfd/bfd.h', needed by `size.o'.  Stop.
make[2]: Leaving directory `/home/now3d/src/binutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/now3d/src/binutils'
make: *** [all-recursive-am] Error 2
[now3d@now1g binutils]$








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