LinuxSir.cn,穿越时空的Linuxsir!

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

glibc check err

[复制链接]
发表于 2003-4-2 14:22:24 | 显示全部楼层 |阅读模式
checking size of long double... (cached) 12
running configure fragment for ../glibc-2.2.5/sysdeps/unix/sysv/linux
checking installed Linux kernel header files... (cached) 2.0.10 or later
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on.  Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.
bash-2.05b#




#CFLAGS="-O2 -pipe" ../glibc-2*/configure --prefix=/stage1 \
       --enable-add-ons --disable-profile --disable-sanity-checks --with-binutils=/stage1/bin --with-headers=/stage1/include \
       --without-gd &&
    make



deps/generic/elf -I../sysdeps/generic  -nostdinc -isystem

/stage1/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -isystem /stage1/include  -include ../include/libc-symbols.h  -DPIC -DSHARED   -o /root/lfs-packages-cvs-20021023-1707/glibc-build/stdio-common/errlist.os
../sysdeps/unix/sysv/linux/errlist.c:41: weak declaration of `_old_sys_nerr' must precede definition
make[2]: *** [/root/lfs-packages-cvs-20021023-1707/glibc-build/stdio-common/errlist.os] Error 1
make[2]: Leaving directory `/root/lfs-packages-cvs-20021023-1707/glibc-2.2.5/stdio-common'
make[1]: *** [stdio-common/subdir_lib] Error 2
make[1]: Leaving directory `/root/lfs-packages-cvs-20021023-1707/glibc-2.2.5'
make: *** [all] Error 2
bash-2.05b#



发表于 2003-4-2 16:45:05 | 显示全部楼层
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `linuxthreads' add-on. Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.
是不是configure的时候没有加--enable-addon参数?
 楼主| 发表于 2003-4-2 17:35:35 | 显示全部楼层
inc -isystem /stage1/lib/gcc-lib/i686-pc-linux-gnu/3.2/include -isystem /stage1/include  -include ../include/libc-symbols.h  -DPIC -DSHARED   -o /mnt/hda11/lfs-packages-cvs-20021023-1707/glibc-build/stdio-common/errlist.os
../sysdeps/unix/sysv/linux/errlist.c:41: weak declaration of `_old_sys_nerr' must precede definition
make[2]: *** [/mnt/hda11/lfs-packages-cvs-20021023-1707/glibc-build/stdio-common/errlist.os] 错误 1
make[2]: Leaving directory `/mnt/hda11/lfs-packages-cvs-20021023-1707/glibc-2.2.5/stdio-common'
make[1]: *** [stdio-common/subdir_lib] 错误 2
make[1]: Leaving directory `/mnt/hda11/lfs-packages-cvs-20021023-1707/glibc-2.2.5'
make: *** [all] 错误 2
bash-2.05b#
发表于 2003-4-2 23:35:00 | 显示全部楼层
到底是哪一步出错了?要写清楚点才好。
 楼主| 发表于 2003-4-3 12:14:59 | 显示全部楼层
make
 楼主| 发表于 2003-4-3 12:17:06 | 显示全部楼层
#CFLAGS="-O2 -pipe" ../glibc-2*/configure --prefix=/stage1 \
--enable-add-ons --disable-profile --with-binutils=/stage1/bin --with-headers=/stage1/include \
--without-gd

错误

#CFLAGS="-O2 -pipe" ../glibc-2*/configure --prefix=/stage1 \
--enable-add-ons --disable-profile --disable-sanity-checks --with-binutils=/stage1/bin --with-headers=/stage1/include \
--without-gd
make 错误
发表于 2003-4-3 12:43:58 | 显示全部楼层
你有没有解压linuxthreads那个包?
这是routine,仔细看一下文档。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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