|
make[2]:***[/home/build-toos/buildlibc/iconv/gconv_db.o] Error 1
make[1]:***[iconv/subdir_lib] Error 2
make: ***[all] Error 2
都快疯了,差了很多资料都没解决。。希望哪位仁兄能给点帮助。
补充:处理器类型intel 赛扬 2.8
运行环境,虚拟机5.0
操作系统:red hat linux 9.0
gcc版本:gcc-3.2.2
我的configure是怎么配置的。../glibc-2.2.3/configure --prefix=/usr/libcfor386 --enable-add-ons=linuxthreads
而且不是在glibc源码同一个目录下编译的。。
这是configure生成的Makefile
# Generated automatically from Makefile.in by configure.
# Generated from $Id: Makefile.in,v 1.7 2000/11/15 23:03:08 drepper Exp $.
srcdir = ../glibc-2.2.3
# Uncomment the line below if you want to do parallel build.
# PARALLELMFLAGS = -j 4
# This option is for those who modify the sources and keep them in a
# CVS repository. Sometimes it is necessary to pass options to the cvs
# program (not the command), like -z9 or -x.
# CVSOPTS = -z9
all .DEFAULT:
$(MAKE) -r PARALLELMFLAGS="$(PARALLELMFLAGS)" CVSOPTS="$(CVSOPTS)" -C $(srcdir) objdir=`pwd` $@
install:
LANGUAGE=C LC_ALL=C; export LANGUAGE LC_ALL; \
$(MAKE) -r PARALLELMFLAGS="$(PARALLELMFLAGS)" CVSOPTS="$(CVSOPTS)" -C $(srcdir) objdir=`pwd` $@
=====================================================================================================
以下是生成的config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
configure:904: checking host system type
configure:1050: checking sysdep dirs
configure:1256: checking for a BSD compatible install
configure:1313: checking whether ln -s works
configure:1342: checking for pwd
configure:1381: checking build system type
configure:1409: checking for gcc
configure:1443: checking version of gcc
configure:1463: checking for gnumake
configure:1463: checking for gmake
configure:1497: checking version of gmake
configure:1526: checking for gnumsgfmt
configure:1526: checking for gmsgfmt
configure:1526: checking for msgfmt
configure:1560: checking version of msgfmt
configure:1580: checking for makeinfo
configure:1614: checking version of makeinfo
configure:1634: checking for gsed
configure:1634: checking for sed
configure:1668: checking version of sed
configure:1686: checking whether the C compiler (gcc ) works
configure:1705: gcc -o conftest conftest.c 1>&5
configure:1736: checking whether the C compiler (gcc ) is a cross-compiler
configure:1748: checking whether we are using GNU C
configure:1757: gcc -E conftest.c
configure:1770: checking build system type
configure:1825: checking how to run the C preprocessor
configure:1846: gcc -E conftest.c >/dev/null 2>conftest.out
configure:1923: checking for ranlib
configure:1992: checking whether as is GNU as
configure:2011: checking whether ld is GNU ld
configure:2031: checking for mig
configure:2088: checking whether ranlib is necessary
configure:2122: checking LD_LIBRARY_PATH variable
configure:2142: checking for bash
configure:2238: checking for gawk
configure:2270: checking for perl
configure:2310: checking for install-info
configure:2345: checking for old Debian install-info
configure:2380: checking for bison
configure:2415: checking for signed size_t type
configure:2439: checking for libc-friendly stddef.h
configure:2459: gcc -c conftest.c 1>&5
configure:2478: checking whether we need to use -P to assemble .S files
configure:2501: checking whether .text pseudo-op must be used
configure:2522: checking for assembler global-symbol directive
configure:2552: checking for .set assembler directive
configure:2595: checking for .symver assembler directive
configure:2614: checking for ld --version-script
configure:2637: gcc -shared -o conftest.so conftest.o -nostartfiles -nostdlib -Wl,--version-script,conftest.map 1>&5
configure:2676: checking for .previous assembler directive
configure:2684: gcc -c conftest.s 1>&5
configure:2725: checking for .protected and .hidden assembler directive
configure:2735: gcc -c conftest.s 1>&5
configure:2747: checking for -z nodelete option
configure:2754: gcc -shared -o conftest.so conftest.c -Wl,--enable-new-dtags,-z,nodelete 1>&5
configure:2767: checking for -z nodlopen option
configure:2774: gcc -shared -o conftest.so conftest.c -Wl,--enable-new-dtags,-z,nodlopen 1>&5
configure:2787: checking for -z initfirst option
configure:2794: gcc -shared -o conftest.so conftest.c -Wl,--enable-new-dtags,-z,initfirst 1>&5
configure:2807: checking for -Bgroup option
configure:2814: gcc -shared -o conftest.so conftest.c -Wl,-Bgroup -nostdlib 1>&5
configure:2866: checking whether cc puts quotes around section names
configure:2972: checking for assembler .weak directive
configure:3071: checking for ld --no-whole-archive
configure:3082: gcc -nostdlib -nostartfiles -Wl,--no-whole-archive -o conftest conftest.c 1>&5
configure:3096: checking for gcc -fexceptions
configure:3107: gcc -nostdlib -nostartfiles -fexceptions -o conftest conftest.c 1>&5
configure:3190: checking for DWARF2 unwind info support
configure:3222: gcc -DCHECK__register_frame_info -nostdlib -nostartfiles -o conftest conftest.c -lgcc >&5
configure: In function `abort':
configure:3216: warning: `noreturn' function does return
/tmp/cca8BlSj.o(.text+0x12): In function `_start':
: undefined reference to `__register_frame_info'
/tmp/cca8BlSj.o(.text+0x25): In function `_start':
: undefined reference to `__deregister_frame_info'
collect2: ld returned 1 exit status
configure:3230: gcc -DCHECK__register_frame -nostdlib -nostartfiles -o conftest conftest.c -lgcc >&5
configure: In function `abort':
configure:3216: warning: `noreturn' function does return
/tmp/cc0HKoDr.o(.text+0x12): In function `_start':
: undefined reference to `__register_frame'
/tmp/cc0HKoDr.o(.text+0x25): In function `_start':
: undefined reference to `__deregister_frame'
collect2: ld returned 1 exit status
configure:3260: checking for __builtin_expect
configure:3273: gcc -nostdlib -nostartfiles -o conftest conftest.c -lgcc >&5
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 08048074
configure:3290: checking for local label subtraction
configure:3308: gcc -nostdlib -nostartfiles -o conftest conftest.c -lgcc >&5
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 08048074
configure:3325: checking for libgd
configure:3341: gcc -o conftest conftest.c -lgd -lpng -lz -lm 1>&5
configure:3361: checking size of long double
configure:3380: gcc -o conftest conftest.c 1>&5
configure:16: checking installed Linux kernel header files
configure:209: checking for symlinks in /usr/local/share/libfor386/include
configure:3492: checking stdio selection
configure:3506: checking for old glibc 2.0.x headers
configure:3561: checking whether -fPIC is default
参考书籍:构建嵌入式linux系统
紧急等待中。。 |
|