【发布时间】:2011-07-05 20:41:41
【问题描述】:
我正在尝试在需要 glib 作为其依赖项之一的 ubuntu 11.04 amd64 机器上构建最新的 gtkmm。但是在 ./configure 之后尝试使用 make 命令时出现此错误。
错误是:
./.libs/libgobject-2.0.so: undefined reference to `g_cclosure_marshal_BOOLEAN__BOXED_BOXED'
./.libs/libgobject-2.0.so: undefined reference to `g_cclosure_marshal_VOID__PARAM'
./.libs/libgobject-2.0.so: undefined reference to `g_cclosure_marshal_BOOLEAN__FLAGS'
collect2: ld returned 1 exit status
make[4]: *** [gobject-query] Error 1
make[4]: Leaving directory `/home/test/glib/gobject'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/test/glib/gobject'
make[2]: *** [all] Error 2
./configure 命令的输出是:
http://pastebin.com/DSyQrF1c
make command 的错误输出是:
http://pastebin.com/bAgd3UiK
【问题讨论】:
-
所提到的 glib 是从 gnome-project 的 git 仓库中获取的