• 2885阅读
  • 0回复

[提问]libQtCore.so: undefined reference to `execve@GLIBC_2.0' [复制链接]

上一主题 下一主题
离线shire
 

只看楼主 倒序阅读 楼主  发表于: 2016-12-11
在linux中qtcreator创建好工程后用 qtembedded-4.5.0-arm/bin/qmake 生成Makefile文件(我在qtcreator的qtversion中添加不了这个qmake,添加就弹窗提示无法添加,所以只能在文件编译生成makefile),然后make生成很多
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtNetwork.so: undefined reference to `select@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtCore.so: undefined reference to `pthread_setcancelstate@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtCore.so: undefined reference to `getpagesize@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtCore.so: undefined reference to `pthread_cond_destroy@GLIBC_2.3.2'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtCore.so: undefined reference to `readdir_r@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtCore.so: undefined reference to `vsnprintf@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtGui.so: undefined reference to `mkdir@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtCore.so: undefined reference to `ftell@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtGui.so: undefined reference to `fork@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtNetwork.so: undefined reference to `freeaddrinfo@GLIBC_2.0'
/usr/local/Trolltech/QtEmbedded-4.5.0-arm/lib/libQtGui.so: undefined reference to `calloc@GLIBC_2.0'
collect2: ld returned 1 exit status
make: *** [test2] 错误 1
网上说是我的glib的版本问题,我按照ldd --version的方法指导glib是2.15版,不知道该怎么解决,这个该怎么解决呢?
快速回复
限100 字节
 
上一个 下一个