LinuxSir.cn,穿越时空的Linuxsir!

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

LFS-6.2-1中man-db安装出错!

[复制链接]
发表于 2007-3-13 21:02:46 | 显示全部楼层 |阅读模式
../lib/libman.a(pipeline.o): In function `command_args':
pipeline.c.text+0x211c): undefined reference to `xrealloc'
../lib/libman.a(pipeline.o): In function `command_new':
pipeline.c.text+0x2174): undefined reference to `xmalloc'
pipeline.c.text+0x219a): undefined reference to `xmalloc'
pipeline.c.text+0x2220): undefined reference to `xrealloc'
../lib/libman.a(pipeline.o): In function `command_new_argv':
pipeline.c.text+0x22ee): undefined reference to `xrealloc'
../lib/libman.a(pipeline.o): In function `command_new_args':
pipeline.c.text+0x23cf): undefined reference to `xrealloc'
../lib/libman.a(pipeline.o): In function `pipeline_command_args':
pipeline.c.text+0x24b3): undefined reference to `xrealloc'
pipeline.c.text+0x24fd): undefined reference to `xrealloc'
../lib/libman.a(pipeline.o):pipeline.c.text+0x25e7): more undefined references to `xrealloc' follow
../lib/libman.a(getcwdalloc.o): In function `getcwd_allocated':
getcwdalloc.c.text+0x23): undefined reference to `xmalloc'
../lib/libman.a(xstrdup.o): In function `xstrdup':
xstrdup.c:(.text+0x1d): undefined reference to `xmalloc'
../lib/libman.a(xstrndup.o): In function `xstrndup':
xstrndup.c:(.text+0x2d): undefined reference to `xmalloc'
../lib/libman.a(cleanup.o): In function `push_cleanup':
cleanup.c:(.text+0x548): undefined reference to `xrealloc'
cleanup.c:(.text+0x5ce): undefined reference to `xmalloc'
collect2: ld returned 1 exit status
make[1]: *** [apropos] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/sources/man-db-2.4.3/src'
make: *** [src] Error 2


LFS-6.2-1中man-db安装出错!
兄弟们帮偶看看,
到底哪里面经脉不通?
谢谢!
发表于 2007-3-16 20:14:38 | 显示全部楼层
xmalloc和xrealloc函数应该是libc库中的函数
查看一下glibc的安装是否正确
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-25 16:05:16 | 显示全部楼层
谢谢回贴的朋友!

上面的问题,
是我进行
jhalfs
时安装到man-db出现的.

找到问题的原因了,

export LANG=
设置引起的,
当初怎么设置的,
具体情况忘了,
重新设置为:
export LANG=en_US.UTF8
就可以顺利安装完成!
LiveCD版本号是6.2-1.

谢谢回贴!
回复 支持 反对

使用道具 举报

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

本版积分规则

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