LinuxSir.cn,穿越时空的Linuxsir!

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

安装rpm4.1时遇到的问题。

[复制链接]
发表于 2003-2-24 03:03:13 | 显示全部楼层 |阅读模式
legacy.c:12:18: gelf.h: No such file or directory
legacy.c: In function `open_dso':
legacy.c:75: `Elf' undeclared (first use in this function)
legacy.c:75: (Each undeclared identifier is reported only once
legacy.c:75: for each function it appears in.)
legacy.c:75: `elf' undeclared (first use in this function)
legacy.c:76: `Elf_Scn' undeclared (first use in this function)
legacy.c:76: `scn' undeclared (first use in this function)
legacy.c:77: `Elf_Data' undeclared (first use in this function)
legacy.c:77: `data' undeclared (first use in this function)
legacy.c:78: `GElf_Ehdr' undeclared (first use in this function)
legacy.c:78: parse error before "ehdr"
legacy.c:79: `GElf_Shdr' undeclared (first use in this function)
legacy.c:80: `GElf_Dyn' undeclared (first use in this function)
legacy.c:83: warning: implicit declaration of function `elf_version'
legacy.c:83: `EV_CURRENT' undeclared (first use in this function)
legacy.c:85: warning: implicit declaration of function `elf_begin'
legacy.c:85: `ELF_C_READ' undeclared (first use in this function)
legacy.c:86: warning: implicit declaration of function `elf_kind'
legacy.c:87: `ELF_K_ELF' undeclared (first use in this function)
legacy.c:87: warning: implicit declaration of function `gelf_getehdr'
legacy.c:87: `ehdr' undeclared (first use in this function)
legacy.c:88: warning: comparison between pointer and integer
legacy.c:88: `ET_DYN' undeclared (first use in this function)
legacy.c:88: `ET_EXEC' undeclared (first use in this function)
legacy.c:93: warning: implicit declaration of function `elf_nextscn'
legacy.c:94: warning: implicit declaration of function `gelf_getshdr'
legacy.c:94: `shdr' undeclared (first use in this function)
legacy.c:95: `SHT_DYNAMIC' undeclared (first use in this function)
legacy.c:97: warning: implicit declaration of function `elf_getdata'
legacy.c:102: warning: implicit declaration of function `gelf_getdyn'
legacy.c:102: `dyn' undeclared (first use in this function)
legacy.c:142: warning: implicit declaration of function `elf_end'
make[3]: *** [legacy.lo] 错误 1
make[3]: Leaving directory `/usr/src/rpm-4.1/rpmdb'
make[2]: *** [all] 错误 2
make[2]: Leaving directory `/usr/src/rpm-4.1/rpmdb'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/usr/src/rpm-4.1'
make: *** [all] 错误 2
===========
问问,各位大哥。是不是我有什么东西装掉了?
这是我第二次装lfs,第一次装时没有遇到这样的问题。
发表于 2003-2-24 03:13:52 | 显示全部楼层
rpm依赖于的一些包你是不是装了。比如berkeley DB这个包。
 楼主| 发表于 2003-2-24 04:51:02 | 显示全部楼层
恩。装了的。
发表于 2003-2-24 05:01:29 | 显示全部楼层
 楼主| 发表于 2003-2-24 06:06:11 | 显示全部楼层
./autogen.sh
--- popt
You should update your `aclocal.m4' by running aclocal.
autoheader: `config.h.in' is unchanged
Use of uninitialized value in split at /usr/bin/automake line 5176, <GEN0> line 46.
--- zlib
./autogen.sh: ./autogen.sh: No such file or directory
--- beecrypt
./autogen.sh: ./autogen.sh: No such file or directory
--- libelf
./autogen.sh: ./autogen.sh: No such file or directory
--- rpm
You should update your `aclocal.m4' by running aclocal.
autoheader: `config.h.in' is unchanged
Use of uninitialized value in split at /usr/bin/automake line 5176, <GEN0> line 46.
==============
这个是刚才执行autogen.sh的时候出现的。aclocal.m4是什么东东?
我执行了aclocal后没有任何明显的反应。
发表于 2003-2-24 06:53:58 | 显示全部楼层
m4

一个宏处理器.将输入拷贝到输出,同时将宏展开. 宏可以是内嵌的也可以是用户定义的. 除了可以展开宏,m4还有一些内建的函数,用来引用文件,执行Unix命令,整数运算,文本操作,循环等. m4既可以作为编译器的前端也可以单独作为一个宏处理器.

aclocal 根据configure。in产生'aclocal.m4'
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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