build error while building binutils for i686-pc-cygwin
cathy cobb
cathy_vm2000@yahoo.com
Sun Dec 14 15:38:00 GMT 2003
Hi,
My Configure works fine with --target=m68k-coff, and
when I do make all I get below error.
checking for nl_types.h... (cached) no
checking for malloc.h...
(cached) yes
checking for string.h... (cached) yes
checking for unistd.h...
(cached) yes
checking for values.h... (cached) no
checking for sys/param.h...
(cached) yes
checking for getcwd... (cached) yes
checking for munmap...
(cached) yes
checking for putenv... (cached) yes
checking for setenv...
(cached) yes
checking for setlocale... (cached) yes
checking for strchr...
(cached) yes
checking for strcasecmp... (cached) yes
checking for
__argz_count... (cached) yes
checking for __argz_stringify... (cached)
yes checking for
__argz_next... (cached) yes
checking for LC_MESSAGES... (cached) yes
checking whether
NLS is requested... yes
checking whether included gettext is
requested... no checking
for libintl.h... (cached) yes
checking for gettext in libc...
(cached) no
checking for bindtextdomain in -lintl... (cached) yes
checking for gettext in
libintl... (cached) no
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt...
(cached) /usr/bin/msgfmt
checking for xgettext... (cached) /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) .exe
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... (cached) yes
checking for stdlib.h... (cached) yes
checking for
unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for
sys/file.h... (cached) yes
checking for sys/wait.h that is POSIX.1
compatible... (cached) yes checking for
working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for
sbrk... (cached) yes
checking for utimes... (cached) yes
checking for
setmode... (cached) yes
checking for getc_unlocked... (cached) yes
checking for
strcoll... (cached) yes
checking for fopen64... (cached) no
checking for
library containing frexp... (cached) none required
checking for time_t in time.h... (cached)
yes checking for
time_t in sys/types.h... (cached) yes
checking for utime.h... (cached) yes
checking whether
fprintf must be declared... (cached) no
checking whether strstr must be declared...
(cached) no checking whether
sbrk must be declared... (cached) no
checking whether getenv must be declared...
(cached) no checking whether
environ must be declared... (cached) no
updating cache .././config.cache
creating
./config.status
creating Makefile
creating
doc/Makefile
creating po/Makefile.in
creating
config.h
config.h is unchanged
make[1]:
Entering directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils'
make all-recursive
make[2]:
Entering directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils'
Making all in doc
make[3]:
Entering directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils/doc'
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[3]: Leaving directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils/doc'
Making all in po
make[3]:
Entering directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving
directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils/po'
make[3]: Entering directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils'
gcc -DHAVE_CONFIG_H -I. -I. -I.
-D_GNU_SOURCE -I. -I. -I../bfd -I./../bfd
-I./../include -I./../intl -I../intl
-DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c
bucomm.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE
-I. -I. -I../bfd -I./../bfd -I./../include -I./../intl
-I../intl -DLOCALEDIR="\"/usr/local/share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -c
version.c
/bin/sh ./libtool --mode=link gcc -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -g -O2 -o
size.exe size.o bucomm.o version.o filemode.o
../bfd/libbfd.la ../libiberty/libiberty.a
./../intl/libintl.a
cygpath: can't convert empty path
mkdir .libs
gcc
-W -Wall -Wstrict-prototypes -Wmissing-prototypes -g
-O2 -o size.exe size.o bucomm.o version.o filemode.o
../libiberty/libiberty.a ./../intl/libintl.a
../bfd/.libs/libbfd.lib
../bfd/.libs/libbfd.lib(opncls.o)(.text+0x2d): In
function `_bfd_new_bfd':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/opncls.c:60:
undefined reference to `_objalloc_create'
../bfd/.libs/libbfd.lib(opncls.o)(.text+0x151): In
function `_bfd_delete_bfd':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/opncls.c:121:
undefined reference to `_objalloc_free'
../bfd/.libs/libbfd.lib(opncls.o)(.text+0x79d): In
function `bfd_alloc':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/opncls.c:676:
undefined reference to `__objalloc_alloc'
../bfd/.libs/libbfd.lib(opncls.o)(.text+0xe85): In
function `find_separate_debug_file':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/opncls.c:942:
undefined reference to `_xstrdup'
../bfd/.libs/libbfd.lib(opncls.o)(.text+0x811): In
function `bfd_release':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/opncls.c:701:
undefined reference to `_objalloc_free_block'
../bfd/.libs/libbfd.lib(archive.o)(.text+0x480): In
function `_bfd_generic_read_ar_hdr_mag':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/archive.c:456:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(bfd.o)(.text+0x30e): In
function `bfd_errmsg':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/bfd.c:363:
undefined reference to `_xstrerror'
../bfd/.libs/libbfd.lib(archures.o)(.text+0x400): In
function `bfd_default_scan':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/archures.c:899:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(archures.o)(.text+0x421):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/archures.c:902:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(hash.o)(.text+0x10): In
function `bfd_hash_table_init_n':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/hash.c:314:
undefined reference to `_objalloc_create'
../bfd/.libs/libbfd.lib(hash.o)(.text+0xab):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/hash.c:325:
undefined reference to `__objalloc_alloc'
../bfd/.libs/libbfd.lib(hash.o)(.text+0x103): In
function `bfd_hash_table_free':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/hash.c:351:
undefined reference to `_objalloc_free'
../bfd/.libs/libbfd.lib(hash.o)(.text+0x25f): In
function `bfd_hash_lookup':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/hash.c:408:
undefined reference to `__objalloc_alloc'
../bfd/.libs/libbfd.lib(hash.o)(.text+0x3a8): In
function `bfd_hash_allocate':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/hash.c:473:
undefined reference to `__objalloc_alloc'
../bfd/.libs/libbfd.lib(binary.o)(.text+0x1f6): In
function `mangle_name':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/binary.c:168:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x15e): In
function `srec_bad_byte':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:294:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x386): In
function `srec_scan':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:511:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x39d):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:511:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x46b):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:560:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x472):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:560:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x48a):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:562:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x491):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:562:
more undefined references to `__hex_value' follow
../bfd/.libs/libbfd.lib(srec.o)(.text+0x756): In
function `srec_scan':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:419:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x833):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:473:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x85d):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:477:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x998): In
function `srec_object_p':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:653:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x9a5):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:653:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0x9b2):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:653:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(srec.o)(.text+0xbba):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:744:
more undefined references to `__hex_value' follow
../bfd/.libs/libbfd.lib(srec.o)(.text+0x3c): In
function `srec_init':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/srec.c:165:
undefined reference to `_hex_init'
../bfd/.libs/libbfd.lib(tekhex.o)(.text+0x3d): In
function `tekhex_init':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/tekhex.c:248:
undefined reference to `_hex_init'
../bfd/.libs/libbfd.lib(tekhex.o)(.text+0xe3): In
function `getvalue':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/tekhex.c:313:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(tekhex.o)(.text+0x10b):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/tekhex.c:319:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(tekhex.o)(.text+0x135): In
function `getsym':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/tekhex.c:332:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(tekhex.o)(.text+0x29f): In
function `first_phase':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/tekhex.c:405:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(tekhex.o)(.text+0x2a6):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/tekhex.c:405:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(tekhex.o)(.text+0x5aa):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/tekhex.c:510:
more undefined references to `__hex_value' follow
../bfd/.libs/libbfd.lib(ihex.o)(.text+0xde): In
function `ihex_bad_byte':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/ihex.c:256:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(ihex.o)(.text+0x439): In
function `ihex_scan':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/ihex.c:332:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(ihex.o)(.text+0x451):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/ihex.c:339:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(ihex.o)(.text+0x45f):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/ihex.c:339:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(ihex.o)(.text+0x47a):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/ihex.c:340:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(ihex.o)(.text+0x485):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/ihex.c:340:
undefined reference to `__hex_value'
../bfd/.libs/libbfd.lib(ihex.o)(.text+0x48f):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/ihex.c:340:
more undefined references to `__hex_value' follow
../bfd/.libs/libbfd.lib(ihex.o)(.text+0x1c): In
function `ihex_init':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/ihex.c:195:
undefined reference to `_hex_init'
../bfd/.libs/libbfd.lib(syms.o)(.text+0x47f): In
function `bfd_decode_symclass':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/syms.c:684:
undefined reference to `__sch_toupper'
../bfd/.libs/libbfd.lib(elf32.o)(.text+0x5366): In
function `elf_link_add_object_symbols':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/elflink.h:1665:
undefined reference to `_basename'
../bfd/.libs/libbfd.lib(elf32.o)(.text+0x6ed5): In
function `bfd_elf32_size_dynamic_sections':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/elflink.h:3779:
undefined reference to `_basename'
../bfd/.libs/libbfd.lib(elf32.o)(.text+0x6f4c):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/elflink.h:3580:
undefined reference to `_basename'
../bfd/.libs/libbfd.lib(stabs.o)(.text+0x6ce): In
function `_bfd_link_section_stabs':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/stabs.c:376:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(stabs.o)(.text+0x6dc):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/stabs.c:377:
undefined reference to `__sch_istable'
../bfd/.libs/libbfd.lib(merge.o)(.text+0xa80): In
function `merge_strings':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/merge.c:650:
undefined reference to `_htab_create_alloc'
../bfd/.libs/libbfd.lib(merge.o)(.text+0xabf):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/merge.c:652:
undefined reference to `_htab_create_alloc'
../bfd/.libs/libbfd.lib(merge.o)(.text+0xb72):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/merge.c:682:
undefined reference to `_htab_find_slot_with_hash'
../bfd/.libs/libbfd.lib(merge.o)(.text+0xbc5):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/merge.c:724:
undefined reference to `_htab_delete'
../bfd/.libs/libbfd.lib(merge.o)(.text+0xbd7):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/merge.c:726:
undefined reference to `_htab_delete'
../bfd/.libs/libbfd.lib(merge.o)(.text+0xd02):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/merge.c:705:
undefined reference to `_htab_find_slot_with_hash'
../bfd/.libs/libbfd.lib(elf-strtab.o)(.text+0x6cc): In
function `_bfd_elf_strtab_finalize':
/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/elf-strtab.c:355:
undefined reference to `_htab_create_alloc'
../bfd/.libs/libbfd.lib(elf-strtab.o)(.text+0x76f):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/elf-strtab.c:381:
undefined reference to `_htab_find_slot_with_hash'
../bfd/.libs/libbfd.lib(elf-strtab.o)(.text+0x7d6):/cygdrive/c/downloads/binutils-2.14/binutils-2.14/bfd/elf-strtab.c:426:
undefined reference to `_htab_delete'
collect2: ld returned 1 exit status
make[3]: ***
[size.exe] Error 1
make[3]: Leaving directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils'
make[2]: *** [all-recursive] Error 1
make[2]:
Leaving directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils'
make[1]: *** [all-recursive-am] Error
2 make[1]:
Leaving directory
`/cygdrive/c/downloads/binutils-2.14/binutils-2.14/binutils'
make: *** [all-binutils] Error 2
__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list