当前位置: 代码迷 >> QT开发 >> qt4.8.0编译异常
  详细解决方案

qt4.8.0编译异常

热度:71   发布时间:2016-04-25 04:56:35.0
qt4.8.0编译错误
折腾很长时间了 实在搞不定

/opt/QtSDK/Desktop/Qt/4.8.0/gcc/lib/libQtCore.so: undefined reference to `g_main_context_push_thread_default'
/opt/QtSDK/Desktop/Qt/4.8.0/gcc/lib/libQtCore.so: undefined reference to `inotify_init1@GLIBC_2.9'
/opt/QtSDK/Desktop/Qt/4.8.0/gcc/lib/libQtGui.so: undefined reference to `pipe2@GLIBC_2.9'
/opt/QtSDK/Desktop/Qt/4.8.0/gcc/lib/libQtCore.so: undefined reference to `g_main_context_pop_thread_default'
/opt/QtSDK/Desktop/Qt/4.8.0/gcc/lib/libQtGui.so: undefined reference to `__longjmp_chk@GLIBC_2.11'
collect2: ld returned 1 exit status

用QtCreator 直接编译的 下载的 dp.run 直接安装的

------解决方案--------------------
glibc太老了,升一下级
------解决方案--------------------
http://topic.csdn.net/u/20120317/17/2f6dd7cb-947e-4dff-b178-abba4d98e24e.html
这是一样的问题!
  相关解决方案