LinuxSir.cn,穿越时空的Linuxsir!

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

装Glibc-2.32 (LFS5.0) 时 make 错误 请看看

[复制链接]
发表于 2004-11-13 02:23:07 | 显示全部楼层 |阅读模式
make[2]: *** [/mnt/lfs/sources/glibc-2.3.2/glibc-build/csu/sysdep.o] Error 1
make[2]: Leaving directory `/mnt/lfs/sources/glibc-2.3.2/glibc-2.3.2/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2
bash-2.05b$
发表于 2004-11-13 07:43:57 | 显示全部楼层
关键的地方是上面几行,你没有贴出来 ...
 楼主| 发表于 2004-11-13 15:10:26 | 显示全部楼层

这是打补丁

bash-2.05b$ patch -Np1 -i glibc-2.3.2-sscanf-1.patch
patching file libio/swprintf.c
patching file libio/swscanf.c
patching file stdio-common/sscanf.c
 楼主| 发表于 2004-11-13 15:13:26 | 显示全部楼层

make

bash-2.05b$ make
make -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3.2 objdir=`pwd` all
make[1]: Entering directory `/mnt/lfs/sources/glibc-2.3.2/glibc-2.3.2'
sysdeps/unix/common/configure.in: line 1: GLIBC_PROVIDES: command not found
sysdeps/unix/common/configure.in: line 6: syntax error near unexpected token `sys_siglist'
sysdeps/unix/common/configure.in: line 6: `AC_CHECK_SYMBOL(sys_siglist)'
make[1]: *** [sysdeps/unix/common/configure] Error 2
make[1]: Leaving directory `/mnt/lfs/sources/glibc-2.3.2/glibc-2.3.2'
make: *** [all] Error 2
发表于 2004-11-13 15:46:39 | 显示全部楼层
据俺的估计,是autoconf读取configure.in然后生成configure文件时出错了.
如果这是第一次编译,那就是主系统的问题,检查autoconf和m4
如果是第二次,那就是前面创建临时系统的问题了,从来吧
发表于 2004-11-13 16:39:14 | 显示全部楼层
bash-2.05b$ make

没记错的话,应该是第一次。。嘿嘿。转去lfs user的时候。。。:)。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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