编译内核--awk: relocation error:
我编译2.6.15的kernel是出现以下的错误:debian:/usr/src/linux-2.6.15# fakeroot make-kpkg --revision=custom.1.0 kernel_image
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make ARCH=i386 \
bzImage
make[1]: Entering directory `/usr/src/linux-2.6.15'
CHK include/linux/version.h
CHK include/linux/compile.h
CHK usr/initramfs_list
Kernel: arch/i386/boot/bzImage is ready(#3)
make[1]: Leaving directory `/usr/src/linux-2.6.15'
/usr/bin/make ARCH=i386 \
modules
make[1]: Entering directory `/usr/src/linux-2.6.15'
CHK include/linux/version.h
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.15'
COLUMNS=150 dpkg -l 'gcc*' perl dpkg 'libc6*' binutils ldso make dpkg-dev |\
awk '$1 ~ /[hi]i/ { printf("%s-%s\n", $2, $3) }' > debian/buildinfo
awk: relocation error: awk: symbol _dl_catch_error, version GLIBC_PRIVATE not defined in file ld-linux.so.2 with link time reference
make: *** [stamp-build] 错误 127
先谢了!
debian:/usr/src/linux-2.6.15# fakeroot make-kpkg --revision=custom.1.0 kernel_image
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make ARCH=i386 \
bzImage
既然都用了root来make-kpkg,还用fakeroot干吗?
GLIBC_PRIVATE的问题很可能是ld-linux.so.2使用了旧的libc库(如果你升级过glibc的话,有没有做相应的调整)另外/usr/src/linux的软连接做一个试试 thanks!
现在问题解决了.
thanks!
现在问题解决了.
咋解决得,给说说哈。。。。。。。。。 :P
页:
[1]