LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 591|回复: 1

在clfs过程中,当安装glibc包时出现如下错误,请教下这是什么原因啊?谢谢!!

[复制链接]
发表于 2009-2-23 20:03:43 | 显示全部楼层 |阅读模式
clfs:/mnt/clfs/sources/glibc-build$ BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc" \
>     AR="${CLFS_TARGET}-ar" RANLIB="${CLFS_TARGET}-ranlib" \
>     CFLAGS="-march=$(cut -d- -f1 <<< $CLFS_TARGET) -mtune=generic -g -O2" \
>     ../glibc-2.7/configure --prefix=/tools \
>     --host=${CLFS_TARGET} --build=${CLFS_HOST} \
>     --disable-profile --enable-add-ons \
>     --with-tls --enable-kernel=2.6.0 --with-__thread \
>     --with-binutils=/cross-tools/bin --with-headers=/tools/include \
>     --cache-file=config.cache
configure: loading cache config.cache
checking build system type... i686-cross-linux-gnu
checking host system type... arm-unknown-linux-gnu
configure: running configure fragment for add-on nptl
checking add-on ports for preconfigure fragments... am33 arm hppa m68k mips
checking sysdep dirs... ports/sysdeps/arm/elf ports/sysdeps/unix/sysv/linux/arm/nptl ports/sysdeps/unix/sysv/linux/arm nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread ports/sysdeps/unix/sysv/linux sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet nptl/sysdeps/unix/sysv ports/sysdeps/unix/sysv sysdeps/unix/sysv ports/sysdeps/unix/arm nptl/sysdeps/unix ports/sysdeps/unix sysdeps/unix sysdeps/posix ports/sysdeps/arm/fpu ports/sysdeps/arm/nptl ports/sysdeps/arm sysdeps/wordsize-32 sysdeps/ieee754/flt-32 sysdeps/ieee754/dbl-64 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for arm-linux-gcc... arm-linux-gcc
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
clfs:/mnt/clfs/sources/glibc-build$
发表于 2009-2-24 15:48:20 | 显示全部楼层
整个问题出在32位编译时。去掉这一段应该就好了“-mtune=generic ”
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表