天嵌 ARM开发社区

 找回密码
 注册
查看: 1508|回复: 1

Qte中的touch-qtopia编译出错

[复制链接]
yangliuneu 发表于 2009-8-8 20:32:27 | 显示全部楼层 |阅读模式
Qte中的touch-qtopia编译时出错:
(echo yes ; echo yes) | ./configure -system-jpeg -gif -system-libpng -system-zlib -platform linux-ipaq-g++  -qconfig qpe -depths 16,24,32
make -C src
cd ..
cd qtopia/src
./configure  -platform linux-ipaq-g++
make
cd ../..
export AR=arm-linux-ar
export STRIP=arm-linux-strip
export RANLIB=arm-linux-ranlib
export CXX=arm-linux-g++
export CCC=arm-linux-c++
export CC=arm-linux-gcc
export CROSS_COMPILE=1
export PATH=$PATH:/usr/loca/arm/3.3.2/bin
export INSTALL=/usr/local/arm/3.3.2
cd konq-em
./configure --host=arm-linux --target=arm-linux --enable-embedded --enable-qt-embedded --enable-qpe --with-gui=qpe --disable-debug --enable-ftp --enable-static --disable-shared --disable-mt --with-extra-libs=/usr/local/arm/3.3.2/lib:$QPEDIR/lib --with-extra-include=/usr/local/arm/3.3.2/include:$PQEDIR/include --without-ssl --with-qt-dir=$QTDIR --with-qt-includes=$QTDIR/include --with-qt-libraries=$QTDIR/lib --with-qtopia-dir=$QPEDIR
make
cd ..

    调试了很久还是这个错,望高人指点!
 楼主| yangliuneu 发表于 2009-8-8 20:37:33 | 显示全部楼层
不好意思,出错信息应该是
In file included from /opt/EmbedSky/usr/local/arm/3.3.2/arm-linux/include/signal
.h:358,
                 from process_unix.cpp:32:
/opt/EmbedSky/usr/local/arm/3.3.2/arm-linux/include/bits/sigthread.h:36: error:
storage
   class specifiers invalid in parameter declarations
/opt/EmbedSky/usr/local/arm/3.3.2/arm-linux/include/bits/sigthread.h:36: error:
storage
   class specified for parameter `parameter'
make[1]: *** [.obj/linux-ipaq-g++//process_unix.o] Error 1
make[1]: Leaving directory `/opt/EmbedSky/Qte/touch-qtopia/qtopia/src/libraries/
qtopia'
make: *** [libraries/qtopia] Error 2
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/local/arm/3.3.2
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking for style of include used by make... GNU
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output... configure: error: C compiler cannot cr
eate executables
See `config.log' for more details.
make: *** No targets specified and no makefile found.  Stop.
You have new mail in /var/spool/mail/root
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-5-15 22:12 , Processed in 1.031250 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表