QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 938|回复: 1

安装glibc-2.3.3的问题

[复制链接]
发表于 2004-12-14 20:17:58 | 显示全部楼层 |阅读模式
不能安装glibc-2.3.3

make出现如下提示:
make[1]: Entering directory `/mnt/lfs/usr/sources/glibc-2.3.3'
rm -f /mnt/lfs/usr/sources/glibc-build/tls.makeT /mnt/lfs/usr/sources/glibc-buil
d/tls.make.dT
(echo '# Generated from tls.make.c by Makerules.'; \
gcc -B/tools/bin/ -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-str
ings -g -mpreferred-stack-boundary=2 -Iinclude -I. -I/mnt/lfs/usr/sources/gl
ibc-build -Ilibio -Inptl -I/mnt/lfs/usr/sources/glibc-build -Isysdeps/i386/elf
-Inptl/sysdeps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -In
ptl/sysdeps/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysd
eps/unix/sysv -Inptl/sysdeps/unix -Inptl/sysdeps/i386/i686 -Inptl/sysdeps/i386 -
Isysdeps/unix/sysv/linux/i386 -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/
unix/common -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Is
ysdeps/unix/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i3
86/i686/fpu -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Is
ysdeps/i386/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -
Isysdeps/ieee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/gen
eric/elf -Isysdeps/generic -nostdinc -isystem /mnt/lfs/usr/tools/lib/gcc/i686-pc
-linux-gnu/3.4.3/include -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENT
RANT -include include/libc-symbols.h -E tls.make.c \
-MD -MP -MT '$(common-objpfx)tls.make' -MF /mnt/lfs/usr/sources/glibc-bui
ld/tls.make.dT \
| sed -n '/@@@/{s/@@@[ ]*\(.*\)@@@/\1/;s/[ ]*$//p;}'; \
echo 'common-generated += tls.make'; \
sed -e 's@ /mnt/lfs/usr/sources/glibc-build/@ $(common-objpfx)@g' -e 's@^/mnt/l
fs/usr/sources/glibc-build/@$(common-objpfx)@g' -e 's@ *\([^ \/$][^ \]*\)@ $
(..)\1@g' -e 's@^\([^ \/$][^ \]*\)@$(..)\1@g' /mnt/lfs/usr/sources/glibc-buil
d/tls.make.dT; \
rm -f /mnt/lfs/usr/sources/glibc-build/tls.make.dT) > /mnt/lfs/usr/sources/glib
c-build/tls.makeT
In file included from nptl/sysdeps/i386/i686/tls.h:34,
from include/tls.h:6,
from tls.make.c:3:
nptl/sysdeps/i386/i686/../tls.h:58:3: #error "TLS support is required."
In file included from ./sysdeps/unix/sysdep.h:21,
from ./sysdeps/unix/i386/sysdep.h:19,
from sysdeps/unix/sysv/linux/i386/sysdep.h:24,
from nptl/sysdeps/i386/i686/../tls.h:70,
from nptl/sysdeps/i386/i686/tls.h:34,
from include/tls.h:6,
from tls.make.c:3:
sysdeps/unix/sysv/linux/sys/syscall.h:25:24: asm/unistd.h: No such file or direc
tory
In file included from sysdeps/unix/sysv/linux/sys/param.h:24,
from sysdeps/i386/i686/hp-timing.h:25,
from ./nptl/descr.h:28,
from nptl/sysdeps/i386/i686/../tls.h:98,
from nptl/sysdeps/i386/i686/tls.h:34,
from include/tls.h:6,
from tls.make.c:3:
/tools/include/linux/param.h:4:23: asm/param.h: No such file or directory
In file included from ./socket/sys/socket.h:35,
from include/sys/socket.h:2,
from ./inet/netinet/in.h:24,
from include/netinet/in.h:3,
from ./resolv/resolv.h:57,
from include/resolv.h:11,
from ./nptl/descr.h:39,
from nptl/sysdeps/i386/i686/../tls.h:98,
from nptl/sysdeps/i386/i686/tls.h:34,
from include/tls.h:6,
from tls.make.c:3:
sysdeps/unix/sysv/linux/bits/socket.h:305:24: asm/socket.h: No such file or dire
ctory
mv -f /mnt/lfs/usr/sources/glibc-build/tls.makeT /mnt/lfs/usr/sources/glibc-buil
d/tls.make
sed '/^[ ]*#/d;s/^[ ]*%/#/' csu/Versions assert/Versions ctype/Versi
ons locale/Versions intl/Versions catgets/Versions math/Versions setjmp/Versions
signal/Versions stdlib/Versions stdio-common/Versions libio/Versions malloc/Ver
sions string/Versions wcsmbs/Versions time/Versions dirent/Versions grp/Versions
pwd/Versions posix/Versions io/Versions termios/Versions resource/Versions misc
/Versions socket/Versions sysvipc/Versions gmon/Versions iconv/Versions wctype/V
ersions shadow/Versions argp/Versions crypt/Versions nptl/Versions nss/Versions
rt/Versions debug/Versions nptl_db/Versions inet/Versions resolv/Versions hesiod
/Versions sunrpc/Versions nis/Versions streams/Versions login/Versions dlfcn/Ver
sions elf/Versions sysdeps/i386/elf/Versions nptl/sysdeps/unix/sysv/linux/Versio
ns sysdeps/unix/sysv/linux/i386/Versions sysdeps/unix/sysv/linux/Versions sysdep
s/unix/sysv/Versions sysdeps/i386/i486/Versions sysdeps/i386/fpu/Versions sysdep
s/i386/Versions sysdeps/wordsize-32/Versions \
| gcc -B/tools/bin/ -E -undef -Iinclude -I. -I/mnt/lfs/usr/sources/glibc-build -Ilibio -Inptl -I/mnt/lfs/usr/sources/glibc-build -Isysdeps/i386/elf -Inptl/sys deps/unix/sysv/linux/i386/i686 -Inptl/sysdeps/unix/sysv/linux/i386 -Inptl/sysdep s/unix/sysv/linux -Inptl/sysdeps/pthread -Isysdeps/pthread -Inptl/sysdeps/unix/s ysv -Inptl/sysdeps/unix -Inptl/sysdeps/i386/i686 -Inptl/sysdeps/i386 -Isysdeps/u nix/sysv/linux/i386 -Isysdeps/unix/sysv/linux -Isysdeps/gnu -Isysdeps/unix/commo n -Isysdeps/unix/mman -Isysdeps/unix/inet -Isysdeps/unix/sysv/i386 -Isysdeps/uni x/sysv -Isysdeps/unix/i386 -Isysdeps/unix -Isysdeps/posix -Isysdeps/i386/i686/fp u -Isysdeps/i386/i686 -Isysdeps/i386/i486 -Inptl/sysdeps/i386/i486 -Isysdeps/i38 6/fpu -Isysdeps/i386 -Isysdeps/wordsize-32 -Isysdeps/ieee754/ldbl-96 -Isysdeps/i eee754/dbl-64 -Isysdeps/ieee754/flt-32 -Isysdeps/ieee754 -Isysdeps/generic/elf - Isysdeps/generic -nostdinc -isystem /mnt/lfs/usr/tools/lib/gcc/i686-pc-linux-gnu /3.4.3/include -isystem /tools/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -incl ude include/libc-symbols.h \
-DASSEMBLER -x assembler-with-cpp - \
> /mnt/lfs/usr/sources/glibc-build/Versions.v.iT
In file included from nptl/sysdeps/i386/i686/tls.h:34,
from include/tls.h:6,
from <stdin>:1:
nptl/sysdeps/i386/i686/../tls.h:58:3: #error "TLS support is required."
make[1]: *** [/mnt/lfs/usr/sources/glibc-build/Versions.v.i] Error 1
make[1]: Leaving directory `/mnt/lfs/usr/sources/glibc-2.3.3'
make: *** [all] Error 2
请教出了什么问题?如何解决?
发表于 2004-12-14 21:49:30 | 显示全部楼层
内核头文件版本是否是2.4的?用2.6.5以上的编译glibc试试
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-9-19 19:44 , Processed in 0.037872 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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