求助:Ubuntu16.04交叉编译Qt4.8.6出错 40C

目标机器:银河麒麟/arm64,所用交叉编译器为:aarch64-linux-gnu-g++
./configure -opensource -confirm-license -prefix /opt/arm_qt4.8.6 -xplatform qws/linux-aarch64-gnu-g++ -shared -no-qt3support -no-phonon -no-phonon-backend -qt-zlib -no-gif -no-libtiff -no-qvfb -qt-libjpeg -no-nis -no-opengl -no-cups -no-webkit -no-glib -no-dbus -no-rpath -no-mmx -no-3dnow -no-sse -no-sse2 -no-sse3 -no-ssse3 -no-sse4.1 -no-sse4.2 -no-avx -no-neon -no-audio-backend -no-svg -no-javascript-jit -no-script -no-scripttools -no-multimedia -no-openssl -nomake tools -nomake examples -nomake demos -DQT_ARCH_ARM
_在mkspecs/qws/linux-aarch64-gnu-g++/中的qmake.conf也已经修改完毕。
在make时出错如下图:
图片说明

4个回答

qmake.conf内容如下:
#

qmake configuration for building with arm-linux-g++

#

include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.conf)
include(../../common/qws.conf)

modifications to g++.conf

QMAKE_CC = aarch64-linux-gnu-gcc
QMAKE_CXX = aarch64-linux-gnu-g++
QMAKE_LINK = aarch64-linux-gnu-g++
QMAKE_LINK_SHLIB = aarch64-linux-gnu-g++

modifications to linux.conf

QMAKE_AR = aarch64-linux-gnu-ar cqs
QMAKE_OBJCOPY = aarch64-linux-gnu-objcopy
QMAKE_STRIP = aarch64-linux-gnu-strip

load(qt_config)

看看是不是交叉编译工具链不对啊 是不是指定的交叉工具链

loong460
loong460 应该是对的,输入:aarch64-linux-gnu-g++ --version,可以输出正确的版本号。
大约一年之前 回复

宿主机和目标机的指定好像没有呢 。

loong460
loong460 我用-xplatform指定了目标机,请问还有其他的配置需要添加吗?
大约一年之前 回复

你这个需要制定目标机的 库文件和头文件 类似 export LIBARY_PATH 这种东西 和 依赖关系

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
求助!交叉编译-1.0出错!
2440用RT3070无线网卡做AP,需要要移植hostapd这个软件,在交叉编译的时候出现下面的问题:rnrn../src/drivers/driver_nl80211.c: In function ‘family_handler’:rn../src/drivers/driver_nl80211.c:423: error: ‘CTRL_ATTR_MCAST_GROUPS’ undeclared (first use in this function)rn../src/drivers/driver_nl80211.c:423: error: (Each undeclared identifier is reported only oncern../src/drivers/driver_nl80211.c:423: error: for each function it appears in.)rn../src/drivers/driver_nl80211.c:427: error: ‘CTRL_ATTR_MCAST_GRP_MAX’ undeclared (first use in this function)rn../src/drivers/driver_nl80211.c:430: error: ‘CTRL_ATTR_MCAST_GRP_NAME’ undeclared (first use in this function)rn../src/drivers/driver_nl80211.c:431: error: ‘CTRL_ATTR_MCAST_GRP_ID’ undeclared (first use in this function)rn../src/drivers/driver_nl80211.c:427: warning: unused variable ‘tb2’rnmake: *** [../src/drivers/driver_nl80211.o] 错误 1rn查了很多资料仍无头绪,求各位大牛能给小弟一点指点!谢过了!
在ubuntu16.04搭建Qt4.8.6嵌入式开发环境
环境以及软件版本 虚拟机环境:ubuntu16.04 64位 虚拟机环境中gcc的版本:gcc version 5.4.0 20160609 Qt版本:qt-everywhere-opensource-src-4.8.6.tar.gz 下载路径:http://download.qt.io/archive/qt/4.8/4.8.6/ QtCreator版本:qt-creator-lin
Ubuntu16.04交叉编译Android平台下的x264
一,获取x264源码使用git下载:git clone http://git.videolan.org/git/x264.git官网下载:    http://www.videolan.org/developers/x264.html历史版本:    ftp://ftp.videolan.org/pub/videolan/x264/snapshots/二, ubuntu16.04 +  ndk-r...
Ubuntu16.04 交叉编译工具链的安装
步骤1:打开虚拟机,在/usr/local/下创建/usr/local/arm文件夹 步骤2:先将安装包从Windows中弄到linux中去。可以用共享文件夹(从共享文件夹复制到/usr/local/arm) 步骤3:解压。tar -jxvf arm-2009q3.tar.bz2 32位与64位不兼容问题: 输入命令后,出现下面的错误提示信息: /home/ald
Ubuntu16.04下Qt交叉编译开发环境搭建
一、软件包介绍: 1、arm-linux-gcc.tar.gz    我提供的包是arm-linux-gcc4.4.3版本,arm-linux-gcc是编译arm开发板上程序用的一种gcc。 2、qt-everywhere-opensource-src-4.8.5.tar.gz     这个包是QT4.8.5的源码包,everywhere意思就是可以编译出适合各种平台的版本。 3、qt-
Ubuntu16.04下arm-linux-gcc交叉编译环境搭建
Ubuntu16.04下arm-linux-gcc交叉编译环境搭建
Ubuntu16.04交叉编译OpenCV并移植
宿主机:Ubuntu 16.04 64bit 开发板:tq2440 OpenCV: 2.4.3 其他: arm-linux-g++ 4.4.3 / arm-linux-gcc 4.4.3 CMake 2.8.10.2 CMake-gui 3.5.1
ubuntu16.04交叉编译vlc2.2.4过程整理
详细过程参考这个:https://blog.csdn.net/u012534831/article/details/83305001 采坑记录: 1.configure的时候,如果报什么模块或什么包找不到 ../extras/package/win32/configure.sh --host=i686-w64-mingw32 --build=x86_64-pc-linux-gnu --dis...
Ubuntu16.04下的2009q3交叉编译工具链的搭建
Ubuntu16.04下的2009q3交叉编译工具链的搭建 环境搭建:    1.下载arm-2009q3.tar.bz2源码。  百度云链接  密码: rbui    2.将arm-2009q3.tar.bz2拷贝到/usr/local/arm(没有该目录就新建一个)目录下,执行命令tar jxvf arm-2009q3.tar.bz2进行解压。  
Ubuntu16.04进行交叉编译MYSQL5.7.18的具体步骤
1.首先下载好MYSQL5.7.18的源码包,分别解压到MYSQL5.7.18-pc目录和MYSQL5.7.18-arm目录,这个要分别编译的; 2.进行普通PC的源码编译,进入MYSQL5.7.18-pc目录,运行下面的cmake命令: cmake . -LH -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/usr/l
求助,在制作交叉编译gcc时出错
checking whether make sets $(MAKE)... yesrnchecking for arm-linux-strip... /mygod/arm/arm-linux/bin/striprnchecking for --enable-version-specific-runtime-libs... nornchecking whether to enable maintainer-specific portions of Makefiles... nornchecking for arm-linux-gcc... /mygod/gcc-4.2.0/host-i686-pc-linux-gnu/gcc/xgcc -B/mygod/gcc-4.2.0/host-i686-pc-linux-gnu/gcc/ -B/mygod/arm/arm-linux/bin/ -B/mygod/arm/arm-linux/lib/ -isystem /mygod/arm/arm-linux/include -isystem /mygod/arm/arm-linux/sys-includernchecking for C compiler default output file name... configure: error: C compiler cannot create executablesrnSee `config.log' for more details.rnmake[1]: *** [configure-target-libmudflap] 错误 1rnmake[1]: Leaving directory `/mygod/gcc-4.2.0'rnmake: *** [all] 错误 2rnrn我的配置参数如下rn./configure --target=arm-linux --prefix=/mygod/arm --disable-shared --disable-threads --disable-nls --with-newlib --enable-languages=c --without-headers --with-binutils=/mygod/arm/arm-linux/bin
交叉编译模块时,出错“No such file or directory“,求助!
编译一个驱动模块,makefile如下:rnrnobj-m +=gpio.ornKDIR:=~/apro-kernel/librnMAKE=/usr/local/arm/3.4.1/bin/arm-linux-gccrnPWD=$(shell pwd)rnall:rn $(MAKE) -C $(KDIR) M=$(PWD) modulesrnclean:rn rm -rf *.o rnrn编译的时候,出错:rn/usr/local/arm/3.4.1/bin/arm-linux-gcc -C ~/apro-kernel/lib M=/home/fineshang/GpioTest modulesrnarm-linux-gcc: M=/home/fineshang/GpioTest: No such file or directoryrnarm-linux-gcc: modules: No such file or directoryrn怎么回事呢,郁闷了好几天了。帮忙阿!
Qt4.8.6与JS交互
最近在项目中要用到QtWebkit,通过QWebview加载高德地图并实现Qt与JS的交互 Qt提供了本地C++对象与JavaScript的无缝集成,可以进行本地与web混合应用开发。 在QT的帮助文档中,有上述图片 QWebView由其他对象组成,如QWebFrame和QWebPage。 QWebPage类提供了用于查看和编辑web文档的对象 拥有一个主框架,负责Web内容、设...
交叉编译busybox出错
因换了一个版本的uclibc,编译busybox出错如下:rnnetworking/lib.a(ipcalc.o): In function `ipcalc_main':rnipcalc.c:(.text.ipcalc_main+0x310): warning: gethostbyaddr is obsolescent, use getaddrinfo() instead.rnutil-linux/lib.a(mount.o): In function `nfsmount':rnmount.c:(.text.nfsmount+0x148): warning: gethostbyname is obsolescent, use getnameinfo() instead.rnloginutils/lib.a(getty.o): In function `getty_main':rngetty.c:(.text.getty_main+0x7c4): undefined reference to `usleep'rnmiscutils/lib.a(watchdog.o): In function `watchdog_main':rnwatchdog.c:(.text.watchdog_main+0x1c4): undefined reference to `usleep'rnmodutils/lib.a(modprobe-small.o): In function `find_alias':rnmodprobe-small.c:(.text.find_alias+0x15c): undefined reference to `usleep'rnnetworking/lib.a(ifupdown.o): In function `dhcp_down':rnifupdown.c:(.text.dhcp_down+0x48): undefined reference to `usleep'rnnetworking/lib.a(nslookup.o): In function `nslookup_main':rnnslookup.c:(.text.nslookup_main+0x54): undefined reference to `__res_init'rnnslookup.c:(.text.nslookup_main+0x98): undefined reference to `__res_state'rnnslookup.c:(.text.nslookup_main+0xdc): undefined reference to `__res_state'rnnslookup.c:(.text.nslookup_main+0x100): undefined reference to `__res_state'rnnetworking/lib.a(pscan.o): In function `pscan_main':rnpscan.c:(.text.pscan_main+0x2d8): undefined reference to `usleep'rnnetworking/lib.a(traceroute.o): In function `common_traceroute_main':rntraceroute.c:(.text.common_traceroute_main+0x938): undefined reference to `usleep'rnprocps/lib.a(top.o): In function `get_jiffy_counts':rntop.c:(.text.get_jiffy_counts+0x140): undefined reference to `usleep'rnprocps/lib.a(top.o): In function `top_main':rntop.c:(.text.top_main+0x494): undefined reference to `usleep'rnutil-linux/lib.a(mdev.o): In function `mdev_main':rnmdev.c:(.text.mdev_main+0x2c8): undefined reference to `usleep'rncoreutils/lib.a(usleep.o):usleep.c:(.text.usleep_main+0x48): more undefined references to `usleep' followrncollect2: ld returned 1 exit statusrnmake[1]: *** [busybox_unstripped] Error 1rnmake[1]: Leaving directory `/home/xuegang/src/sdk_9.5.5.36_gdb/apps/busybox-1.19.4'rnmake: *** [busybox_build] Error 2rnxuegang@ubuntu:~/src/sdk_9.5.5.36_gdb/build$ rn查了许久未能解决,请知道的兄弟指点一下!
交叉编译libxml2 make出错
make[3]: Entering directory `/usr/local/src/libxml2-2.7.2/include/libxml'rnmake[3]: Nothing to be done for `all'.rnmake[3]: Leaving directory `/usr/local/src/libxml2-2.7.2/include/libxml'rnmake[3]: Entering directory `/usr/local/src/libxml2-2.7.2/include'rnmake[3]: Nothing to be done for `all-am'.rnmake[3]: Leaving directory `/usr/local/src/libxml2-2.7.2/include'rnmake[2]: Leaving directory `/usr/local/src/libxml2-2.7.2/include'rnrn这是make的时候出现的错误,是什么原因,各位谁懂,麻烦告诉我一声,谢谢rn
交叉编译libxml2出错
使用的libxml版本是 libxml2-2.7.8rn交叉编译工具是mipsel-linux-gcc 3.4.2rnrn配置如下:./configure --host=mipsel-linux --prefix=/finrod/mips_lib/test_xml/libxml --enable-static=yes --without-zlibrn在make的时候,出现以下错误:rnrn[code=text]Making all in .rnmake[3]: 正在进入目录 `/finrod/mips_lib/test_xml/libxml2-2.7.8/python'rn/bin/sh ../libtool --tag=CC --mode=compile mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -I../include -I../include -I../python -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT libxml.lo -MD -MP -MF .deps/libxml.Tpo -c -o libxml.lo `test -f './libxml.c' || echo './'`./libxml.crnlibtool: compile: mipsel-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/python2.7 -I../include -I../include -I../python -g -O2 -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -MT libxml.lo -MD -MP -MF .deps/libxml.Tpo -c ./libxml.c -fPIC -DPIC -o .libs/libxml.ornIn file included from /usr/include/python2.7/Python.h:8,rn from ./libxml.c:14:rn/usr/include/python2.7/pyconfig.h:24:52: mipsel-linux-gnu/python2.7/pyconfig.h: No such file or directoryrnIn file included from /usr/include/python2.7/Python.h:77,rn from ./libxml.c:14:rn/usr/include/python2.7/pymath.h:18: warning: redundant redeclaration of 'copysign'rn/usr/include/python2.7/pymath.h:26: warning: redundant redeclaration of 'hypot'rnIn file included from /usr/include/python2.7/Python.h:110,rn from ./libxml.c:14:rn/usr/include/python2.7/pycapsule.h:31: warning: declaration of 'destructor' shadows a global declarationrn/usr/include/python2.7/object.h:306: warning: shadowed declaration is herern/usr/include/python2.7/pycapsule.h:45: warning: declaration of 'destructor' shadows a global declarationrn/usr/include/python2.7/object.h:306: warning: shadowed declaration is herernIn file included from /usr/include/python2.7/Python.h:133,rn from ./libxml.c:14:rn/usr/include/python2.7/abstract.h:1387: warning: declaration of 'index' shadows a global declarationrn/finrod/buildroot-gcc342/bin/../lib/gcc/mipsel-linux-uclibc/3.4.2/../../../../mipsel-linux-uclibc/sys-include/string.h:321: warning: shadowed declaration is herern/usr/include/python2.7/abstract.h:1389: warning: declaration of 'index' shadows a global declarationrn/finrod/buildroot-gcc342/bin/../lib/gcc/mipsel-linux-uclibc/3.4.2/../../../../mipsel-linux-uclibc/sys-include/string.h:321: warning: shadowed declaration is herern./libxml.c:2678: warning: no previous prototype for 'libxml_xmlNodeRemoveNsDef'rn./libxml.c: In function `libxml_serializeNode':rn./libxml.c:2765: warning: unused variable `len'rn./libxml.c: At top level:rn./libxml.c:1775: warning: unused parameter 'severity'rn./libxml.c:1748: warning: unused parameter 'severity'rnmake[3]: *** [libxml.lo] 错误 1rnmake[3]:正在离开目录 `/finrod/mips_lib/test_xml/libxml2-2.7.8/python'rnmake[2]: *** [all-recursive] 错误 1rnmake[2]:正在离开目录 `/finrod/mips_lib/test_xml/libxml2-2.7.8/python'rnmake[1]: *** [all-recursive] 错误 1rnmake[1]:正在离开目录 `/finrod/mips_lib/test_xml/libxml2-2.7.8'rnmake: *** [all] 错误 2rn[/code]rnrnrn说是没有mipsel-linux-gnu/python2.7/pyconfig.h这个文件rnrn/usr/include/python2.7/pyconfig.h中这里的代码是rn[code=c]# if _MIPS_SIM == _ABIO32rn# include rn# elif _MIPS_SIM == _ABIN32rn# include rn# elif _MIPS_SIM == _ABI64rn# include rn# elsern# error unknown multiarch location for pyconfig.hrn# endif[/code]rnrn有哪位高手知道,这个文件夹和文件应该怎么弄出来?需要交叉编译python吗?rn谢谢~
交叉编译armlinux模块出错!???
makefile很简单,为什么还是出错呢?rn=================rnobj-m +=hello.orn#KDIR:=/dataraid/userhome/jaytang/home/PTIP/none_cvs/burn_sys/linux-2.6.17/rnKDIR:=/usr/src/linux-2.6.17/rnMAKE=/usr/local/arm/3.4.1/bin/arm-linux-gccrnPWD=$(shell pwd)rnall: rn $(MAKE) -C $(KDIR) M=$(PWD) modulesrnclean:rn rm -rf *.orn=================rn错误:rnjaytang@jaytang-desktop:/tmp/hi$ makern/usr/local/arm/3.4.1/bin/arm-linux-gcc -C /usr/src/linux-2.6.17/ M=/tmp/hi rnrnmodulesrnarm-linux-gcc: M=/tmp/hi: No such file or directoryrnarm-linux-gcc: modules: No such file or directoryrnmake: *** [all] 错误 1rn================================rn这个是为什么?rnM=$(PWD) modules也需要修改下么?rnrnrnrn模块已经换成最简单的了 就是这编译过不了关啊
交叉编译libx264时出错
搞了一晚上不知道怎么解决,求大神帮忙,不胜感激!rn./configure之后显示[img=https://img-bbs.csdn.net/upload/201811/19/1542638265_181457.jpg][/img]rnmake后显示[img=https://img-bbs.csdn.net/upload/201811/19/1542638330_731082.jpg][/img]rncommon/rectangle.h文件的84-91行为[img=https://img-bbs.csdn.net/upload/201811/19/1542638456_765816.jpg][/img]rn
交叉编译glibc出错(mips-linux)
交叉编译glibc出错:rnchecking build system type... i686-pc-linux-gnurnchecking host system type... mips-unknown-linux-gnurnconfigure: running configure fragment for add-on linuxthreads,配置脚本如下:[img=https://img-bbs.csdn.net/upload/201403/18/1395146614_730154.jpg][/img]rnrn用的是下列源码包(未列举完全):rnglibc-2.8.tar.gz glibc-ports-2.8.tar.gz binutils-2.19.tar.gz gcc-4.3.3.tar.bz2 glibc-linuxthreads-2.3.2.tar.gzrn希望得到各位大虾的指点,thank you in advance!
QT4.8.6中文乱码
摘要:在QT4.8.6中新建一个空项目,功能是显示一个带有lable控件的Dialog,在运行的时候出现乱码: 问题解决步骤: 首先,添加头文件:#include<QTextCodec>,; 接着在main函数里添加红色框框里的代码,这是其中的一种方法; 另一种方法:注意必须是trUtf8(),如果是tr()则转化不成功; 解析: QTextCodec类提供了文...
Ubuntu16.04安装配置嵌入式交叉编译工具链arm-linux-gcc
(Linux)Ubuntu16.04下安装、配置嵌入式交叉编译工具arm-linux-gcc.4.4.3
在Ubuntu16.04下从源码编译交叉编译工具链arm-linux-gcc
Linux系统:Ubuntu 18.04.1 LTS amd64 编译平台:Ubuntu 14.04.4 LTS crosstool-ng-1.23.0 一、 下载安装crosstool-ng 1、 从crosstool-ng官网或github上下载最新版本。 wget http://crosstool-ng.org/download/crosstool-ng/crosstool-ng-1.23....
Qt移植:Ubuntu16.04 交叉编译qt5.9.6详细教程
前言: 博主是嵌入式小萌新,项目需要移植qt到arm开发板上,历经千辛万苦解决了各种问题,最后终于成功了,所以整理了开发笔记给更多的小伙伴参考。 1.准备阶段 ①下载交叉编译器aarch65-linux-gnu,下载地址为:https://releases.linaro.org/components/toolchain/binaries/6.2-2016.11/aarch...
ubuntu16.04安装32位交叉编译工具链的兼容包
apt install lib32z1​
Android ffmpeg ubuntu16.04下订制化的交叉编译
Android ffmpeg ubuntu16.04下订制编译 知识准备 ffmpeg是个重量级的音视频相关库,在编译ffmpeg之前需要对ffmpeg各部分的功能有所了解,这样才能订制化的编译出自己需要的so,你也不想编译出来的so加起来10M多吧 libavcodec 包含全部FFmpeg音频/视频编解码库。 libavformat:实现了流媒体协议(udp、rtp、rt...
Ubuntu16.04自动交叉编译ARM平台gdb和ncurse
Ubuntu16.04一键交叉编译ARM平台gdb和ncurses 编译环境: Ubuntu16.04 + gdb-7.9.1.tar.gz + ncurses-6.0.tar.gz 传统的gdb调试是GDB+gdbserver,对于大型的嵌入式程序来说,这种方法效率过低,特别是追踪低概率的段错误时。并且对调试环境较高,有时候程序在客户手里或者测试部,不可能要求他们都装上同样开发环境等等。 我们要...
ubuntu16.04编译及交叉编译依赖库出现的问题记录
系统运行的一个软件需要一些依赖库,安装过程中出现了些问题,记录下来做备忘。   1.安装zlib出现 版本2.54.2 *** Working zlib library and headers not found *** 缺少zlib库 sudo apt-get install zlib1g sudo apt-get install zlib1g-dev You must have ...
qt4.8.6安装
qt安装步骤以及安装下载链接,详细步骤中有安装链接,按照步骤来
QT4.8.6 密码输入框
继上一篇博客之后,再完善一个小功能,输入框添加隐藏、显示功能,效果图如下: 构造函数中添加: pwShow = new QPushButton(this); pwShow->setStyleSheet("border : none;"); QPixmap _pwShow(":/icon/eyesOpen.png"); QPixmap show_pixmap ...
Ubuntu16.04启动出错
最近装了Ubuntu16.04,进入系统执行完sudo apt-get upgrade后,重启进入不了操作系统,提示报错:MSFT0101:can't request region for resource [mem oxfed40040-0xfed4103f],求助各位大蛇,如下图:[img=https://img-bbs.csdn.net/upload/201607/08/1467949791_253943.jpg][/img]
关于交叉编译的问题【求助】
大家好,我在交叉编译时遇到点问道,大家帮我看看。rn 首先我静态编译:make LDFLAGS="-all-static"rn 结果出现lad/ladProject.c:60:indefined refrence to 'PQconnect'的问题,我查了下,据说是因为没加-lpq选项,于是重新编译:rn make LDFLAGS="-all-static -lpq"rn 结果出现新的问题:arm-linux/bin/ld:cannot find -lpqrn 在线求助!rn
求助!交叉编译tslib问题-
这几天在装qt,编译qt-arm版本的时候一直测试tslib出现问题,试了各种方法,结果发现tslib下面bin文件file后是x86-64,没有ARM关键字,于是怀疑是我一开始编译出错,但是我安装了arm-none-linux-gnueabi,也设置了PATH,还是不知道哪里错了,三天一直搞这个,真的不是其中原因,希望论坛大神棒棒忙!!!!rn下面是一些编译信息rnsdsh1880gm@sdsh1880gm:/opt/tslib$ sudo ./configure --host=arm-none-linux-gnuebai --prefix=/usr/local/tslib --cache-file=arm-linux.cachernconfigure: WARNING: if you wanted to set the --build type, don't use --host.rn If a cross compiler is detected then cross compile mode will be usedrnconfigure: loading cache arm-linux.cachernchecking for a BSD-compatible install... (cached) /usr/bin/install -crnchecking whether build environment is sane... yesrnchecking for arm-none-linux-gnuebai-strip... (cached) striprnchecking for a thread-safe mkdir -p... (cached) /bin/mkdir -prnchecking for gawk... (cached) mawkrnchecking whether make sets $(MAKE)... (cached) yesrnchecking for arm-none-linux-gnuebai-g++... no ????一直不知道这里为什么nornchecking for arm-none-linux-gnuebai-c++... nornchecking for arm-none-linux-gnuebai-gpp... nornchecking for arm-none-linux-gnuebai-aCC... nornchecking for arm-none-linux-gnuebai-CC... nornchecking for arm-none-linux-gnuebai-cxx... nornchecking for arm-none-linux-gnuebai-cc++... nornchecking for arm-none-linux-gnuebai-cl.exe... nornchecking for arm-none-linux-gnuebai-FCC... nornchecking for arm-none-linux-gnuebai-KCC... nornchecking for arm-none-linux-gnuebai-RCC... nornchecking for arm-none-linux-gnuebai-xlC_r... nornchecking for arm-none-linux-gnuebai-xlC... nornchecking for g++... (cached) g++rnchecking whether the C++ compiler works... yesrnchecking for C++ compiler default output file name... a.outrnchecking for suffix of executables... rnchecking whether we are cross compiling... nornchecking for suffix of object files... (cached) ornchecking whether we are using the GNU C++ compiler... (cached) yesrnchecking whether g++ accepts -g... (cached) yesrnchecking for style of include used by make... GNUrnchecking dependency style of g++... (cached) gcc3rnchecking for arm-none-linux-gnuebai-gcc... nornchecking for gcc... (cached) gccrnchecking whether we are using the GNU C compiler... (cached) yesrnchecking whether gcc accepts -g... (cached) yesrnchecking for gcc option to accept ISO C89... (cached) none neededrnchecking dependency style of gcc... (cached) gcc3rnchecking how to run the C preprocessor... (cached) gcc -Ernchecking whether the C compiler supports -fvisibility=hidden... (cached) yesrnchecking whether to use -fvisibility=hidden... yesrnchecking whether ln -s works... yesrnchecking whether make sets $(MAKE)... (cached) yesrnchecking build system type... (cached) x86_64-unknown-linux-gnurnchecking host system type... (cached) arm-none-linux-gnuebairnchecking how to print strings... printfrnchecking for a sed that does not truncate output... (cached) /bin/sedrnchecking for grep that handles long lines and -e... (cached) /bin/greprnchecking for egrep... (cached) /bin/grep -Ernchecking for fgrep... (cached) /bin/grep -Frnchecking for ld used by gcc... (cached) /usr/bin/ldrnchecking if the linker (/usr/bin/ld) is GNU ld... (cached) yesrnchecking for BSD- or MS-compatible name lister (nm)... (cached) nornchecking for arm-none-linux-gnuebai-dumpbin... nornchecking for arm-none-linux-gnuebai-link... nornchecking for dumpbin... (cached) link -dumprnchecking the name lister (nm) interface... (cached) BSD nmrnchecking the maximum length of command line arguments... (cached) 1572864rnchecking whether the shell understands some XSI constructs... yesrnchecking whether the shell understands "+="... yesrnchecking how to convert x86_64-unknown-linux-gnu file names to arm-none-linux-gnuebai format... (cached) func_convert_file_nooprnchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... (cached) func_convert_file_nooprnchecking for /usr/bin/ld option to reload object files... (cached) -rrnchecking for arm-none-linux-gnuebai-objdump... nornchecking for objdump... (cached) objdumprnchecking how to recognize dependent libraries... (cached) pass_allrnchecking for arm-none-linux-gnuebai-dlltool... nornchecking for dlltool... nornchecking how to associate runtime and link libraries... (cached) printf %s\nrnchecking for arm-none-linux-gnuebai-ar... nornchecking for ar... (cached) arrnchecking for archiver @FILE support... (cached) @rnchecking for arm-none-linux-gnuebai-strip... (cached) striprnchecking for arm-none-linux-gnuebai-ranlib... nornchecking for ranlib... (cached) ranlibrnchecking command to parse nm output from gcc object... (cached) okrnchecking for sysroot... nornchecking for arm-none-linux-gnuebai-mt... nornchecking for mt... (cached) mtrnchecking if mt is a manifest tool... (cached) nornchecking for ANSI C header files... (cached) yesrnchecking for sys/types.h... (cached) yesrnchecking for sys/stat.h... (cached) yesrnchecking for stdlib.h... (cached) yesrnchecking for string.h... (cached) yesrnchecking for memory.h... (cached) yesrnchecking for strings.h... (cached) yesrnchecking for inttypes.h... (cached) yesrnchecking for stdint.h... (cached) yesrnchecking for unistd.h... (cached) yesrnchecking for dlfcn.h... (cached) yesrnchecking for objdir... (cached) .libsrnchecking if gcc supports -fno-rtti -fno-exceptions... (cached) nornchecking for gcc option to produce PIC... (cached) -fPIC -DPICrnchecking if gcc PIC flag -fPIC -DPIC works... (cached) yesrnchecking if gcc static flag -static works... (cached) yesrnchecking if gcc supports -c -o file.o... (cached) yesrnchecking if gcc supports -c -o file.o... (cached) yesrnchecking whether the gcc linker (/usr/bin/ld) supports shared libraries... yesrnchecking whether -lc should be explicitly linked in... (cached) nornchecking dynamic linker characteristics... (cached) GNU/Linux ld.sornchecking how to hardcode library paths into programs... immediaternchecking for shl_load... (cached) nornchecking for shl_load in -ldld... (cached) nornchecking for dlopen... (cached) nornchecking for dlopen in -ldl... (cached) yesrnchecking whether a program can dlopen itself... (cached) yesrnchecking whether a statically linked program can dlopen itself... (cached) nornchecking whether stripping libraries is possible... yesrnchecking if libtool supports shared libraries... yesrnchecking whether to build shared libraries... yesrnchecking whether to build static libraries... nornchecking how to run the C++ preprocessor... (cached) g++ -Ernchecking for ld used by g++... (cached) /usr/bin/ldrnchecking if the linker (/usr/bin/ld) is GNU ld... (cached) yesrnchecking whether the g++ linker (/usr/bin/ld) supports shared libraries... yesrnchecking for g++ option to produce PIC... (cached) -fPIC -DPICrnchecking if g++ PIC flag -fPIC -DPIC works... (cached) yesrnchecking if g++ static flag -static works... (cached) yesrnchecking if g++ supports -c -o file.o... (cached) yesrnchecking if g++ supports -c -o file.o... (cached) yesrnchecking whether the g++ linker (/usr/bin/ld) supports shared libraries... yesrnchecking dynamic linker characteristics... (cached) GNU/Linux ld.sornchecking how to hardcode library paths into programs... immediaternchecking for dlopen in -ldl... (cached) yesrnchecking for size_t... (cached) yesrnchecking for working alloca.h... (cached) yesrnchecking for alloca... (cached) yesrnchecking for ANSI C header files... (cached) yesrnchecking for fcntl.h... (cached) yesrnchecking for limits.h... (cached) yesrnchecking for stdlib.h... (cached) yesrnchecking for string.h... (cached) yesrnchecking for sys/ioctl.h... (cached) yesrnchecking for sys/time.h... (cached) yesrnchecking for unistd.h... (cached) yesrnchecking for an ANSI C-conforming const... (cached) yesrnchecking for inline... (cached) inlinernchecking for size_t... (cached) yesrnchecking whether time.h and sys/time.h may both be included... (cached) yesrnchecking whether gcc needs -traditional... (cached) nornchecking for stdlib.h... (cached) yesrnchecking for GNU libc compatible malloc... (cached) yesrnchecking for stdlib.h... (cached) yesrnchecking for unistd.h... (cached) yesrnchecking for sys/param.h... (cached) yesrnchecking for getpagesize... (cached) yesrnchecking for working mmap... (cached) yesrnchecking for sys/select.h... (cached) yesrnchecking for sys/socket.h... (cached) yesrnchecking types of arguments for select... (cached) int,fd_set *,struct timeval *rnchecking return type of signal handlers... (cached) voidrnchecking whether lstat correctly handles trailing slash... (cached) yesrnchecking whether stat accepts an empty string... (cached) nornchecking for vprintf... (cached) yesrnchecking for _doprnt... (cached) nornchecking for bzero... (cached) yesrnchecking for gettimeofday... (cached) yesrnchecking for memmove... (cached) yesrnchecking for memset... (cached) yesrnchecking for munmap... (cached) yesrnchecking for select... (cached) yesrnchecking for strcasecmp... (cached) yesrnchecking for strchr... (cached) yesrnchecking for strdup... (cached) yesrnchecking for strtoul... (cached) yesrnchecking whether linear modules is requested... yesrnchecking whether dejitter module is requested... yesrnchecking whether linear-h2200 module is requested... yesrnchecking whether variance module is requested... yesrnchecking whether pthres module is requested... yesrnchecking whether ucb1x00 module is requested... yesrnchecking whether corgi module is requested... yesrnchecking whether collie module is requested... yesrnchecking whether h3600 module is requested... yesrnchecking whether mk712 module is requested... yesrnchecking whether arctic2 module is requested... yesrnchecking whether input module is requested... yesrnchecking where to place modules... $libdir/ts/rnchecking whether to enable debugging... nornconfigure: creating ./config.statusrnconfig.status: creating Makefilernconfig.status: creating etc/Makefilernconfig.status: creating plugins/Makefilernconfig.status: creating src/Makefilernconfig.status: creating tests/Makefilernconfig.status: creating tslib-0.0.pcrnconfig.status: creating config.hrnconfig.status: config.h is unchangedrnconfig.status: executing depfiles commandsrnconfig.status: executing libtool commandsrnsdsh1880gm@sdsh1880gm:/opt/tslib$ rnrnrn
求助!!!!!ACE交叉编译问题
我使用的交叉编译器是arm-none-linux-gnueabi-g++ rn按照网上说的那样修改了config.h 以及platform_macros.GNU这两个文件,也改了其他的程序,rnmake可以通过,但在编译应用文件的时候出现 skipping·····when search for -lACE这样的话,看教程里是说编译的库不是交叉编译器认知的库,rnPS:我使用的是ACE6.1.5这个版本。求大神帮我!!!!搞了两天了也不知道问题出在哪里rn参考的网上教程网址:http://blog.163.com/yu_hongchang/blog/static/398941382011510041187/
急!qt程序在交叉编译室出错
问题如下:rn/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld:/usr/local/Trolltech[color=#FF0000]/qt-4.4.3-ARM/lib/libQtGui.so: file format not recognized; treating as linker script[/color]rn/usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld:/usr/local/Trolltech/qt-4.4.3-ARM/lib/libQtGui.so:1: syntax errorrncollect2: ld returned 1 exit statusrnmake: *** [ceshi] Error 1rnrn我的.bashrc中路径设置如下:rnrnexport PATH=/usr/local/arm/3.4.1/bin:/usr/local/Trolltech/qt-4.4.3-ARM/bin:$PATHrnexport QMAKESPEC=/usr/local/Trolltech/qt-4.4.3-ARM/mkspecs/qws/linux-arm-g++rnrn我的交叉编译器放在/usr/local/arm下,版本号为3.4.1,我编译好的qt文件放置在:/usr/local/Trolltech/qt-4.4.3-ARM/目录下,rnrn系统路径设置如下:rnrn/usr/local/arm/3.4.1/bin:/usr/local/Trolltech/qt-4.4.3-ARM/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/gamesrnrn在网上查了好久还是没有解决,希望各位大神给予帮助。在此谢谢了
交叉编译gst-plugins-base1.8.0出错——orc_versing_string not found
论坛的各路大神,我在交叉编译gst-plugins-base库时,出现如下错误:rnmake[4]: Entering directory `/home/dev/Desktop/Gstreamer/1.8.0/gst-plugins-base-1.8.0/gst-libs/gst/audio'rn ORCC tmp-orc.crn/usr/local/bin/orcc: symbol lookup error: /usr/local/bin/orcc: undefined symbol: orc_version_stringrnmake[4]: *** [tmp-orc.c] Error 127rnmake[4]: Leaving directory `/home/dev/Desktop/Gstreamer/1.8.0/gst-plugins-base-1.8.0/gst-libs/gst/audio'rnmake[3]: *** [audio] Error 2rnmake[3]: Leaving directory `/home/dev/Desktop/Gstreamer/1.8.0/gst-plugins-base-1.8.0/gst-libs/gst'rnmake[2]: *** [all-recursive] Error 1rnmake[2]: Leaving directory `/home/dev/Desktop/Gstreamer/1.8.0/gst-plugins-base-1.8.0/gst-libs'rnmake[1]: *** [all-recursive] Error 1rnmake[1]: Leaving directory `/home/dev/Desktop/Gstreamer/1.8.0/gst-plugins-base-1.8.0'rnmake: *** [all] Error 2rn经过艰苦分析,发现是orcc的bin文件无法正确执行,在终端执行ORCC 命令时,提示的错误就是上面的:rnsymbol lookup error: /usr/local/bin/orcc: undefined symbol: orc_version_stringrn,唉,接下来就不知道到底为何出现如此错误。难道是我的orc库安装没有完全ok?但是我的gstreamer在x86平台下是安装ok了的。rn希望大神们指点迷津!小弟不胜感激!
斗地主(QT4.8.6编译通过)
qt实现斗地主,界面美观,适合初学者学习---------------------------------------
嵌入式qt4.8.6配置命令
./configure \ -prefix /usr/local/qt4.8.6-arm \ -embedded arm \ -opensource \ -fast \ -qt-libtiff \ -qt-libpng \ -qt-libjpeg \ -qt-freetype \ -xplatform qws/linux-arm-gnueabi-g++ \ -depths 1...
使用qt4.8.6新建工程
A.点击左上角File,选择New File or Project,进入New界面,选择Other Project-->Empty Qt Project-->choose; B.输入新建工程名Name,如:ReadImg,再选择创建在哪个文件夹下Create in,如/home/xwfeng/workspace/projects/opencv/read_img,然后点击Next>。 C
QT4.8.6和VS2010环境搭建
首先下载QT4.8.6的安装包、QT Addin 1.11插件和VS2010安装包。 第一步:安装好VS2010 第二步:安装QT4.8.6                刚刚安装了一下,所有的配置都不用改,按照步骤来就行。默认安装在C:\\QT4.8.6 第三步:安装QT Addin 1.11插件               插件也是什么都不用改,按照默
QT4.8.6程序设置图标
毕业后第一款软件的初始版本即将问世,需要面对程序打包发布、设置图标等问题 现在说一下程序设置图标的问题,打包发布的问题下次再说 在之前编写和调试程序的时候,没有考虑.exe文件的图标,只设置了左上角图标和状态栏图标,如下 状态栏: 窗口左上角: 通过设置setWindowIcon(icon); 即可 可执行程序本身的图标,可采取如下方式设置: 首先在项目文件夹中(与.pro文件同级...
相关热词 c#入门推荐书 c# 解码海康数据流 c# xml的遍历循环 c# 取 查看源码没有的 c#解决高并发 委托 c#日期转化为字符串 c# 显示问号 c# 字典对象池 c#5.0 安装程序 c# 分页算法