首页| 论坛| 消息
主题:开贴整理常见编译错误集锦 -- 不断更新中
回帖:to38楼,make: 没有什么可以做的为 `first' 是因为重复configure了,make clean一下就不提示了。
是找不到目标机器的大小端,在configure的选项里加入-little-endian就行了。总之一句话,缺啥补啥。附qt-embedded-4.5.1和qt-x11-4.5.1的配置选项:
Usage:configure [-h] [-prefix ] [-prefix-install] [-bindir ] [-libdir ]
[-docdir ] [-headerdir ] [-plugindir ] [-datadir ]
[-translationdir ] [-sysconfdir ] [-examplesdir ]
[-demosdir ] [-buildkey ] [-release] [-debug]
[-debug-and-release] [-developer-build] [-shared] [-static] [-no-fast] [-fast] [-no-largefile]
[-largefile] [-no-exceptions] [-exceptions] [-no-accessibility]
[-accessibility] [-no-stl] [-stl] [-no-sql-] [-sql-]
[-plugin-sql-] [-system-sqlite] [-no-qt3support] [-qt3support]
[-platform] [-D ] [-I ] [-L ] [-help]
[-qt-zlib] [-system-zlib] [-no-gif] [-qt-gif] [-no-libtiff] [-qt-libtiff] [-system-libtiff]
[-no-libpng] [-qt-libpng] [-system-libpng] [-no-libmng] [-qt-libmng]
[-system-libmng] [-no-libjpeg] [-qt-libjpeg] [-system-libjpeg] [-make ]
[-no-make ] [-R ][-l ] [-no-rpath][-rpath] [-continue]
[-verbose] [-v] [-silent] [-no-nis] [-nis] [-no-cups] [-cups] [-no-iconv]
[-iconv] [-no-pch] [-pch] [-no-dbus] [-dbus] [-dbus-linked]
[-no-separate-debug-info] [-no-mmx] [-no-3dnow] [-no-sse] [-no-sse2]
[-qtnamespace ] [-qtlibinfix ] [-separate-debug-info] [-armfpa]
[-no-optimized-qmake] [-optimized-qmake] [-no-xmlpatterns] [-xmlpatterns]
[-no-phonon] [-phonon] [-no-phonon-backend] [-phonon-backend]
[-no-openssl] [-openssl] [-openssl-linked]
[-no-gtkstyle] [-gtkstyle] [-no-svg] [-svg] [-no-webkit] [-webkit]
[-no-scripttools] [-scripttools]

Installation options:
These are optional, but you may specify install directories.
-prefix ...... This will install everything relative to
(default /usr/local/Trolltech/QtEmbedded-4.5.1)
-hostprefix .. Tools and libraries needed when developing
applications are installed in . If is
not given, the current build directory will be used.
* -prefix-install .... Force a sandboxed "local" installation of
Qt. This will install into
/usr/local/Trolltech/QtEmbedded-4.5.1, if this option is
disabled then some platforms will attempt a
"system" install by placing default values to
be placed in a system location other than
PREFIX.
You may use these to separate different parts of the install:
-bindir ......... Executables will be installed to
(default PREFIX/bin)
-libdir ......... Libraries will be installed to
(default PREFIX/lib)
-docdir ......... Documentation will be installed to
(default PREFIX/doc)
-headerdir ...... Headers will be installed to
(default PREFIX/include)
-plugindir ...... Plugins will be installed to
(default PREFIX/plugins)
-datadir ........ Data used by Qt programs will be installed to
(default PREFIX)
-translationdir . Translations of Qt programs will be installed to
(default PREFIX/translations)
-sysconfdir ..... Settings used by Qt programs will be looked for in
(default PREFIX/etc/settings)
-examplesdir .... Examples will be installed to
(default PREFIX/examples)
-demosdir ....... Demos will be installed to
(default PREFIX/demos)
You may use these options to turn on strict plugin loading.
-buildkey .... Build the Qt library and plugins using the specified
.When the library loads plugins, it will only
load those that have a matching key.
Configure options:
The defaults (*) are usually acceptable. A plus (+) denotes a default value
that needs to be evaluated. If the evaluation succeeds, the feature is
included. Here is a short explanation of each option:
*-release ........... Compile and link Qt with debugging turned off.
-debug ............. Compile and link Qt with debugging turned on.
-debug-and-release . Com
下一页 (1/8)
下一楼›:请问oneke有没有解决你那个问题?如果解决了,可否分享一下?
‹上一楼:请问以下,我在交叉编译中显示找到了libqte.so,但是紧接着就出现libqte.so:?????:???,出现这种 ..

查看全部回帖(47)
«返回主帖