This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Build Binutil for ARM problem
- From: "benny" <benny5 at mindspring dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Tue, 26 Feb 2002 12:16:42 -0600
- Subject: Build Binutil for ARM problem
- Reply-to: <benny at voicepump dot com>
Hi,
I am trying to build the binutil-2.11.2 on my desktop (Win2000) using
Cygwin 1.3.9 and follow the procedure described in
http://sources.redhat.com/ecos/tools/win-arm-elf.html
to build ARM cross tools for windows.
(Native compiler is 2.95.3, native binutils are 2.11.2)
Configure passed fine.
I built a bunch of object files (I have all the .o files required for the
last stage).
Then on the link stage I got the next problem (last lines from make.out):
for i in elfarm-nabi.lo elf32.lo elf.lo elflink.lo dwarf1.lo elf32-gen.lo
cpu-arm.lo ; do \
case " $f " in \
*" $i "*) ;; \
*) f="$f $i" ;; \
esac ; \
done ; \
echo $f > tofiles
/bin/sh /src/binutils/binutils-2.11.2/bfd/../move-if-change tofiles ofiles
touch stamp-ofiles
/bin/sh ./libtool --mode=link gcc -g -O2 -o libbfd.la -rpath
/tools/H-i686-pc-cygwin/lib -release 2.11.2 archive.lo archures.lo bfd.lo
cache.lo coffgen.lo corefile.lo format.lo init.lo libbfd.lo opncls.lo
reloc.lo section.lo syms.lo targets.lo hash.lo linker.lo srec.lo binary.lo
tekhex.lo ihex.lo stabs.lo stab-syms.lo dwarf2.lo `cat ofiles`
Usage: cygpath [-p|--path] (-u|--unix)|(-w|--windows [-s|--short-name])
filename
-a|--absolute output absolute path
-c|--close handle close handle (for use in captured process)
-f|--file file read file for input path information
-i|--ignore ignore missing argument
-p|--path filename argument is a path
-s|--short-name print Windows short form of filename
-u|--unix print Unix form of filename
-v|--version output version information and exit
-w|--windows print Windows form of filename
-A|--allusers use `All Users' instead of current user for -D, -P
-D|--desktop output `Desktop' directory and exit
-P|--smprograms output Start Menu `Programs' directory and exit
-S|--sysdir output system directory and exit
-W|--windir output `Windows' directory and exit
mkdir .libs
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries
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 linker.o srec.o binary.o tekhex.o ihex.o stabs.o
stab-syms.o dwarf2.o elfarm-nabi.o elf32.o elf.o elflink.o dwarf1.o
elf32-gen.o cpu-arm.o
lib: not found
make[3]: *** [libbfd.la] Error 127
make[3]: Leaving directory `/tmp/build/binutils/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/build/binutils/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/build/binutils/bfd'
make: *** [all-bfd] Error 2
make: Leaving directory `/tmp/build/binutils'
I understood that libtool requires some lib utility that I don't have. It is
somehow related with old_archive_cmds macro in libtool.
Can please anybody explain me what happens?
Thanks,
Benny