LinuxSir.cn,穿越时空的Linuxsir!

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

GCC3.4.1+NPTL+GLIBC2.3.4编译shadow-4.0.4.1

[复制链接]
发表于 2005-8-17 11:13:13 | 显示全部楼层 |阅读模式
i am now on RH9 2.6, Compiling LFS6.0 ,but according to LFS6.1 Doc,through my hard work,im passing to the step " Compiling shadow-4.0.4.1", with GCC3.4.1+NPTL+GLIBC2.3.4,but with a error:
xmalloc.c:16:error:conflicting types for "malloc".

then i checked xmalloc.c(libmisc/xmalloc.c), found:
char* malloc();
then i modified:
void* malloc();

Compiling done successfully. have anyone encountered this problem?
发表于 2005-8-17 15:55:49 | 显示全部楼层
我没有遇到过.
在lfs的网站上找找看吧
回复 支持 反对

使用道具 举报

发表于 2005-8-19 23:41:31 | 显示全部楼层
有 相应的patch的。 看看blfs中的步骤。
回复 支持 反对

使用道具 举报

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

本版积分规则

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