jhbuild 编译 gtk+ 时错误排除

最近想用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 square one.

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

 

然后照做,成功了……

你可能感兴趣的:(UP,reference,gtk)