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,第一次装时没有遇到这样的问题。
./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后没有任何明显的反应。