LinuxSir.cn,穿越时空的Linuxsir!

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

HELP!!! Error in building glibc2.3.2---using lfs-package-5.0

[复制链接]
发表于 2005-4-16 16:47:54 | 显示全部楼层 |阅读模式
Hi all:
  I'm a beginner of studying LFS,these days I meet a problem in build glibc2.3.2,The message is:
****************************
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.2 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.3.2'
make  -C csu subdir_lib
make[2]: Entering directory `/mnt/lfs/sources/glibc-2.3.2/csu'
gcc -B/tools/bin/ -c  ../sysdeps/unix/sysv/linux/i386/sysdep.s -o /mnt/lfs/sources/glibc-build/csu/sysdep.o
../sysdeps/unix/sysv/linux/i386/sysdep.s: Assembler messages:
../sysdeps/unix/sysv/linux/i386/sysdep.s:35: Error: no such instruction: `entry (__syscall_error)'
make[2]: *** [/mnt/lfs/sources/glibc-build/csu/sysdep.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.2'
make: *** [all] Error 2
****************************

  And,my OS is Red Hat Linux 9.0,use lfs-package-5.0(althought the 6.0 has published),I have done everything which the book has writed,like as:
1.Extract the glibc-linuxthreads package into glibc-2.3.2.
2.patch -Np1 -i ../glibc-2.3.2-sscanf-1.patch.
3.mkdir ../glibc-build.
4.cd ../glibc-build.
5.../glibc-2.3.2/configure ......(and so on).

  When execed the command "make",There are some errors appearenced which has shown on top of this article.The problem seems to be come from sysdep.s(I'm not sure),It makes me crazy.
  Looking for your help!!!
  Thanks.
 楼主| 发表于 2005-4-19 20:44:42 | 显示全部楼层
I'am so disappioned for NO people help me.
Why the glibc CAN'T be complied?
If you know the answer,please help me.Thanks!!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-20 01:00:45 | 显示全部楼层
I have been collapsed,Now I have changed my OS to Fedora Core3 ,and changed lfs-package-5.0 to lfs-package-6.0.Try again!shit.
回复 支持 反对

使用道具 举报

发表于 2005-4-20 12:58:28 | 显示全部楼层
try your error message on google,you may get some useful information.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-20 19:00:56 | 显示全部楼层
To robustboy:
First,Thank you for apply my question.
I have searched on google,but find nothing.
回复 支持 反对

使用道具 举报

发表于 2005-4-20 19:51:47 | 显示全部楼层
install development packages in your host distribution, especially those headers.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-21 00:21:55 | 显示全部楼层
hi all:
thanks for ur apply,i have found the answer of the problem.
when i install the headers of linux-2.4.22,i choose the wrong kernel sources(linux-2.4.8).so the header files are not matching,so bring on these error messages.
i am so sorry for  i don't tell u what i have done before i compiler glibc.it's my mistake.
after all,thanks.
回复 支持 反对

使用道具 举报

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

本版积分规则

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