jhbuild 编译 gtk+ 时错误排除

来源:互联网 发布:网络消费 坑 编辑:程序博客网 时间:2024/05/17 06:04

最近想用jhbuild在lfs上编译一个gnome 2.28,其间出现了不少了错误,都通过各种方法排除了;但编译到gtk+时,出现类似如下信息的编译错误:

 

./.libs/libgtk-x11-2.0.so: undefined reference to `g_test_bug_base'

 

 

 

用各种猥琐方法都没解决。。最后绝望中查到一篇帖子,最后一楼如下:

OK. Finally. Success!

Adhering to the old adage: "Patient heal thy self" I did a "make clean"on the glib, pango, atk, and gtk libraries and started over from squareone.

Probably (I say probably since it's hard to be sure, but probably)what screwed me up was not building the libraries in the proper order:glib, pango, atk, and then gtk.

JWA

 

然后照做,成功了……

原创粉丝点击