0

我正在尝试在任何地方安装 qt 以进行交叉编译代码。我正在使用这个命令来配置它:

./configure -embedded arm -xplatform qws/linux-arm-g++ -qt-kbd-linuxinput -qt-mouse-tslib -opensource -verbose -R /home/soroosh/soroosh/installation_files/arm_embedded/tslib/lib

但我收到以下错误。我尝试使用 apt-get 安装它找不到的库,例如 egl,但它说无法获取档案。

创建 qmake。请稍候... make: 没有对first'. floatmath auto-detection... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0 -c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o floatmath.o floatmath.cpp cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation floatmath.cpp:44: warning: unused parameter 'argc' floatmath.cpp:44: warning: unused parameter 'argv' arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0 pkg-config --cflags --libs glib-2.0 pkg-做任何事情配置 --cflags --libs glib-2.0 pkg-config --cflags --libs glib-2.0 pkg-config --cflags --libs glib-2.0 pkg-config --cflags --libs glib-2.0 ;' 在'null' neon.cpp:49 之前:错误:在此范围内未声明'null' neon.cpp:49:错误:在此范围内未声明'vst1q_lane_s32' make:* [neon.o] 错误 1 ​​neon disabled . zlib 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0-Wl,-O1 -o floatmath floatmath.o -L/home/soroosh/soroosh/installation_files/arm_embedded/tslib/lib
/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld: cannot find -lglib-2.0 collect2: ld returned 1 exit status make: *** [floatmath] Error 1 floatmath disabled. mmx auto-detection... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0
-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -mmmx -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o mmx.o mmx.cpp cc1plus: error: unrecognized command line option "-mmmx" cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation make: *** [mmx.o] Error 1 mmx disabled. 3dnow auto-detection... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -m3dnow -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o 3dnow.o 3dnow.cpp cc1plus: error: unrecognized command line option "-m3dnow" cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation make: *** [3dnow.o] Error 1 3dnow disabled. sse auto-detection... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -msse -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o sse.o sse.cpp cc1plus: error: unrecognized command line option "-msse" cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation make: *** [sse.o] Error 1 sse disabled. sse2 auto-detection... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -msse2 -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o sse2.o sse2.cpp cc1plus: error: unrecognized command line option "-msse2" cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation make: *** [sse2.o] Error 1 sse2 disabled. neon auto-detection... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -mfpu=neon -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o neon.o neon.cpp cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation In file included from neon.cpp:42: /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/include/arm_neon.h:35:2: error: #error You must enable NEON instructions (e.g. -mfloat-abi=softfp -mfpu=neon) to use arm_neon.h neon.cpp: In function 'int main(int, char**)': neon.cpp:46: error: 'int32x4_t' was not declared in this scope neon.cpp:46: error: expectedpkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o zlib.o zlib.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译不安全 arm-none- linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 -Wl pkg-config --cflags --libs glib-2.0,-O1 -o zlib zlib.o -L/home/soroosh/soroosh/installation_files/arm_embedded/tslib/lib -lz /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux- gnueabi/bin/ld: 找不到 -lglib-2.0 collect2: ld 返回 1 退出状态 make: *[zlib] 错误 1 ​​zlib 已禁用。libjpeg 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune =arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o libjpeg.o libjpeg.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译不安全 arm-none- linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-Wl,-O1 -o libjpeg libjpeg.o -L/home/soroosh/soroosh/installation_files/arm_embedded/tslib/lib -ljpeg /usr/local/arm/4.3.2/bin/../lib/gcc/arm -none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:找不到-lglib-2.0 collect2:ld返回1退出状态make:* [libjpeg] 错误 1 ​​libjpeg 已禁用。libtiff 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o libtiff.o libtiff.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 libtiff.cpp 是不安全的: 42:20: 错误: tiffio.h: 没有这样的文件或目录 libtiff.cpp:50:6: 错误: #error "Required libtiff not found" libtiff.cpp: In function 'int main(int, char )': libtiff .cpp:57: 错误: 'tdata_t' 未在此范围内声明 libtiff.cpp:57: 错误: 预期;' before 'buffer' libtiff.cpp:58: error: 'buffer' was not declared in this scope libtiff.cpp:58: error: '_TIFFfree' was not declared in this scope libtiff.cpp:62: error: 'TIFFReadRGBAImageOriented' was not declared in this scope make: *** [libtiff.o] Error 1 libtiff disabled. libmng auto-detection... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0的 pkg-config --cflags --libs glib-2.0 -c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o libmng.o libmng.cpp cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation libmng.cpp:42:20: error: libmng.h: No such file or directory libmng.cpp:50:2: error: #error System libmng version is less than 1.0.9; using built-in version instead. libmng.cpp: In function 'int main(int, char**)': libmng.cpp:46: error: 'mng_handle' was not declared in this scope libmng.cpp:46: error: expected;' 在“hMNG”之前 libmng.cpp:47:错误:“hMNG”未在此范围内声明 libmng.cpp:47:错误:“mng_cleanup”* [libmng.o] 错误 1 ​​libmng 已禁用。libpng 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune =arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o libpng.o libpng.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译不安全 arm-none- linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-Wl,-O1 -o libpng libpng.o -L/home/soroosh/soroosh/installation_files/arm_embedded/tslib/lib -lpng /usr/local/arm/4.3.2/bin/../lib/gcc/arm -none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:找不到-lglib-2.0 collect2:ld返回1退出状态make: * [libpng] 错误 1 ​​libpng 已禁用。DB2 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o db2.o db2.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 db2.cpp 是不安全的: 42:20: 错误: sqlcli.h: 没有这样的文件或目录 db2.cpp:43:21: 错误: sqlcli1.h: 没有这样的文件或目录 make: * [db2.o] 错误 1 ​​DB2 已禁用。InterBase 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o ibase.o ibase.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 ibase.cpp 是不安全的: 42:19:错误:ibase.h:没有这样的文件或目录 make:* [ibase.o] 错误 1 ​​InterBase 已禁用。MySQL(线程安全)自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o mysql.o ../mysql/mysql.cpp cc1plus: 警告:包含位置“/usr/include/glib-2.0”对于交叉是不安全的编译../mysql/mysql.cpp:42:19:错误:mysql.h:没有这样的文件或目录make:* [mysql.o]错误1 MySQL(线程安全)禁用。MySQL(线程不安全)自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o mysql.o mysql.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 mysql.cpp 是不安全的: 42:19:错误:mysql.h:没有这样的文件或目录 make:* [mysql.o] 错误 1 ​​MySQL(线程不安全)已禁用。OCI 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o oci.o oci.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 oci.cpp 是不安全的: 42:17:错误:oci.h:没有这样的文件或目录制作:* [oci.o] 错误 1 ​​OCI 已禁用。ODBC 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o odbc.o odbc.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 odbc.cpp 是不安全的: 42:17: 错误: sql.h: 没有这样的文件或目录 odbc.cpp:43:20: 错误: sqlext.h: 没有这样的文件或目录 make: * [odbc.o] 错误 1 ​​ODBC 已禁用。iODBC 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o iodbc.o iodbc.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 iodbc.cpp 是不安全的: 42:17:错误:sql.h:没有这样的文件或目录 iodbc.cpp:43:20:错误:sqlext.h:没有这样的文件或目录 make:* [iodbc.o] 错误 1 ​​iODBC 已禁用。PostgreSQL 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o psql.o psql.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 psql.cpp 是不安全的: 42:22: 错误: libpq-fe.h: 没有这样的文件或目录 psql.cpp: 在函数'int main(int, char )'中: psql.cpp:46: 错误: 'PQescapeBytea' 没有在这个范围内声明psql.cpp:47: 错误: 'PQunescapeBytea' 未在此范围内声明 make: * [psql.o] 错误 1 ​​PostgreSQL 已禁用。SQLite2 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o sqlite2.o sqlite2.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 sqlite2.cpp 是不安全的: 42:20:错误:sqlite.h:没有这样的文件或目录 make:* [sqlite2.o] 错误 1 ​​SQLite2 已禁用。未知的 SQL 驱动程序: sqlite_symbian TDS 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o tds.o tds.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 tds.cpp 是不安全的: 42:22: 错误: sybfront.h: 没有这样的文件或目录 tds.cpp:43:19: 错误: sybdb.h: 没有这样的文件或目录 make: * [tds.o] 错误 1 ​​TDS 已禁用。NIS 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o nis.o nis.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译不安全 arm-none- linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 -Wl pkg-config --cflags --libs glib-2.0,-O1 -o nis nis.o -L/home/soroosh/soroosh/installation_files/arm_embedded/tslib/lib -lnsl /usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux- gnueabi/bin/ld: 找不到 -lglib-2.0 collect2: ld 返回 1 退出状态 make: *[nis] 错误 1 ​​NIS 已禁用。杯子自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune =arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o cups.o cups.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译cups.cpp是不安全的: 42:23:错误:cups/cups.h:没有这样的文件或目录cups.cpp:在函数'int main(int,char**)'中:cups.cpp:46:错误:'cups_dest_t'未在此范围cups.cpp:46:错误:未在此范围中声明'd' cups.cpp:47:错误:未在此范围中声明'cupsGetDests' make:* [cups.o] 错误 1 ​​杯子被禁用。D-Bus 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o dbus.o dbus.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译dbus.cpp是不安全的: 43:23: 错误: dbus/dbus.h: 没有这样的文件或目录 dbus.cpp:46:2: 错误: #error 至少需要 dbus 版本 1 dbus.cpp: 在函数'int main(int, char )' : dbus.cpp:51: 错误: 'dbus_shutdown' 没有在这个范围内声明 make:* [dbus.o] 错误 1 ​​D-Bus 已禁用。EGL (EGL/egl.h) 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float - D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o egl.o egl.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译 egl.cpp 是不安全的: 42:21:错误:EGL/egl.h:没有这样的文件或目录 egl.cpp:在函数“int main(int,char)”中:egl.cpp:46:错误:“EGLint”未在此范围内声明egl.cpp:46:错误:预期;' before 'x' egl.cpp:47: error: 'EGLDisplay' was not declared in this scope egl.cpp:47: error: expected;' 在'dpy' egl.cpp:48 之前:错误:在此范围内未声明'EGLContext' egl.cpp:48:;' before 'ctx' egl.cpp:49: error: 'dpy' was not declared in this scope egl.cpp:49: error: 'ctx' was not declared in this scope egl.cpp:49: error: 'eglDestroyContext' was not declared in this scope make: *** [egl.o] Error 1 EGL (EGL/egl.h) disabled. EGL (GLES/egl.h) auto-detection... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0 -c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o egl4gles1.o egl4gles1.cpp cc1plus: warning: include location "/usr/include/glib-2.0" is unsafe for cross-compilation egl4gles1.cpp:42:22: error: GLES/egl.h: No such file or directory egl4gles1.cpp: In function 'int main(int, char**)': egl4gles1.cpp:46: error: 'EGLint' was not declared in this scope egl4gles1.cpp:46: error: expected;' 在'x' egl4gles1.cpp:47 之前:错误:'EGLDisplay' 未在此范围内声明 egl4gles1.cpp:47:错误:预期;' before 'dpy' egl4gles1.cpp:48: error: 'EGLContext' was not declared in this scope egl4gles1.cpp:48: error: expected;' 在'ctx' egl4gles1.cpp:49 之前:错误:'dpy' 未在此范围内声明 egl4gles1.cpp:49:错误:'ctx' 未在此范围内声明 egl4gles1.cpp:49:错误:'eglDestroyContext' 是未在此范围内声明 make: * [egl4gles1.o] 错误 1 ​​EGL (GLES/egl.h) 已禁用。Glib 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o glib.o glib.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译不安全 arm-none- linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 -Wl pkg-config --cflags --libs glib-2.0,-O1 -o glib glib.o -L/home/soroosh/soroosh/installation_files/arm_embedded/tslib/lib
/usr /local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/ bin/ld: 找不到 -lglib-2.0 collect2: ld 返回 1 退出状态 make: *
[glib] 错误 1 ​​Glib 已禁用。tslib 自动检测... () arm-none-linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0 pkg-config --cflags --libs glib-2.0-c -pipe -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune =arm920t -Wall -W -I../../../mkspecs/qws/linux-arm-g++ -I. -I/home/soroosh/soroosh/installation_files/arm_embedded/tslib/include -o tslib.o tslib.cpp cc1plus:警告:包含位置“/usr/include/glib-2.0”对于交叉编译不安全 arm-none- linux-gnueabi-g++ -msoft-float -D__GCC_FLOAT_NOT_NEEDED -march=armv4 -mtune=arm920t -O0pkg-config --cflags --libs glib-2.0-Wl,-O1 -o tslib tslib.o -L/home/soroosh/soroosh/installation_files/arm_embedded/tslib/lib -lts /usr/local/arm/4.3.2/bin/../lib/gcc/arm -none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:找不到-lglib-2.0 collect2:ld返回1退出状态make:* [tslib] 错误 1 ​​tslib 已禁用。tslib 功能测试失败!您可能需要通过在 /home/soroosh/soroosh/installation_files/arm_embedded/qt-everywhere/qt-everywhere-opensource-src-4.6.2/mkspecs/qws/linux- 中编辑 QMAKE_INCDIR 和 QMAKE_LIBDIR 来修改包含和库搜索路径手臂-g++。

4

1 回答 1

0

解决了原来tslib没有正确安装

于 2013-06-06T07:57:48.973 回答