/lib/libQtGui.so: undefined reference to `ts_read_raw'

来源:互联网 发布:python绝技pdf 百度云 编辑:程序博客网 时间:2024/05/21 17:03

编译qt程序到x86板子上,make 的时候出现下列问题


/lib/libQtGui.so: undefined reference to `ts_read_raw'

lib/libQtGui.so: undefined reference to `ts_open'
lib/libQtGui.so: undefined reference to `ts_fd'
lib/libQtGui.so: undefined reference to `ts_config'
lib/libQtGui.so: undefined reference to `ts_close'

lib/libQtGui.so: undefined reference to `ts_read'



此错误需要修改Qt源码安装包qt-everywhere-source-4.7.3中mkspecs/common/linux.conf文件,将QMAKE_LIBS_THREAD选项改为 QMAKE_LIBS_THREAD=-lphtread -lts


这具体是什么原因,目前不知到,希望大婶补充,