【发布时间】:2012-05-02 12:29:11
【问题描述】:
编译 glibc 2.11 时,出现以下错误。知道如何解决这个问题。
In file included from ../sysdeps/unix/sysv/linux/syslog.c:10:
../misc/syslog.c: In function ‘__vsyslog_chk’:
../misc/syslog.c:123: sorry, unimplemented: inlining failed in call to ‘syslog’: function body not available
../misc/syslog.c:155: sorry, unimplemented: called from here
make[2]: *** [/home/alice/Desktop/glib-build/misc/syslog.o] Error 1
make[2]: Leaving directory `/home/alice/Desktop/glibc-2.11/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/home/alice/Desktop/glibc-2.11'
make: *** [all] Error 2
【问题讨论】:
-
为什么要编译glibc?它是一个如此核心的软件,编译它需要大量的专业知识!安装较新的发行版(可能在 chroot-ed 环境中)可能更简单。