在 ubuntu amd64 上编译 glib 时出现问题
我正在尝试在 ubuntu 11.04 amd64 机器上构建最新的 gtkmm,它需要 glib 作为其依赖项之一。但是在./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 命令
的输出是: http://pastebin.com/bAgd3UiK
I am trying to build latest gtkmm on ubuntu 11.04 amd64 machine which requires glib as one of its dependency. But there is this error while trying to use make command after ./configure.
The error is :
./.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
The output of ./configure
command is:
http://pastebin.com/DSyQrF1c
The output of make command
with errors is:
http://pastebin.com/bAgd3UiK
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你可以尝试
一下
,找出相应的代码在哪里。
也许额外的库 -l.. 可能会有所帮助
或者缺少 -D...,因此未包含某些代码。
我想尝试一下,但我不知道你是在谈论存储库还是发布版
还是
You could try
and
and try to figure out where the corresponding code is.
Perhaps an additional library -l.. might help
or there is a -D... missing, so that some code isn't included.
I wanted to try it but I don't know if you're talking about repository or release
or