PDA

View Full Version : qtopia-free-2.1.1 Xcompile strange error



hvreddy1110
26th September 2006, 16:29
Hi All,
I am trying to cross compile qtopia-free-2.1.1 for my ARM11 .
But it is giving following error messages.
It seems that this is a strange error message till now no body got it(I searched in google but no result)
The error is as follows.

arm-linux-g++ -DQT_QWS_MXC -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/mkspecs/qws/linux-mxc-g++ -I../../../include/qtopia/private -I../../../include -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/usr/include -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/opt/qt/include -I../../../include/qtopia/private/ -I.moc/release-shared/ -o .obj/release-shared/mediarecorderplugininterface.o mediarecorderplugininterface.cpp
arm-linux-g++ -DQT_QWS_MXC -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/mkspecs/qws/linux-mxc-g++ -I../../../include/qtopia/private -I../../../include -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/usr/include -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/opt/qt/include -I../../../include/qtopia/private/ -I.moc/release-shared/ -o .obj/release-shared/mediaplayerplugininterface.o mediaplayerplugininterface.cpp
../../../include/qtopia/../../src/libraries/qtopia/qcom.h:88: warning: 'struct QUnknownInterface' has virtual functions but non-virtual destructor
../../../include/qtopia/../../src/libraries/qtopia/qcom.h:100: warning: 'struct QLibraryInterface' has virtual functions but non-virtual destructor
/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/usr/include/qdatetime.h:51: warning: 'class QDate' has virtual functions but non-virtual destructor
../../../include/qtopia/../../src/libraries/qtopia/mediaplayerplugininterface.h:173: warning: 'struct MediaPlayerPluginInterface' has virtual functions but non-virtual destructor
arm-linux-g++ -DQT_QWS_MXC -c -pipe -DQWS -fno-exceptions -fno-rtti -Wall -W -Os -fPIC -DQT_NO_QWS_VFB -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"qpe\" -DQTOPIA_TRTARGET=\"libqpe\" -DQT_NO_DEBUG -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/mkspecs/qws/linux-mxc-g++ -I../../../include/qtopia/private -I../../../include -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/usr/include -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/opt/qt/include -I../../../include/qtopia/private/ -I.moc/release-shared/ -o .obj/release-shared/qdawg.o qdawg.cpp
qdawg.cpp:294: error: extra qualification 'QDawgPrivate::' on member 'QDawgPrivate'
make[4]: *** [.obj/release-shared/qdawg.o] Error 1
make[4]: Leaving directory `/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/src/libraries/qtopia'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/src/libraries/qtopia'
make[2]: *** [sub-libraries-qtopia] Error 2
make[2]: Leaving directory `/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/src'
make: *** [all] Error 2
error: Bad exit status from /home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/tmp/rpm-tmp.23375 (%build)


RPM build errors:
Bad exit status from /home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/tmp/rpm-tmp.23375 (%build)
Failed building qtopia-mxc


f_buildrpms() returned an error, exiting

Started: Mon Sep 25 11:58:32 2006
Ended: Mon Sep 25 12:09:52 2006
Elapsed: 680 seconds

These packages failed to build:
qtopia-mxc
Build Failed

Exiting on error or interrupt


Any help will be greately appreciatable.But qt-embedded-2.3.9 is Xcompiling properly.

Thanks in advance.

Regards,
Harsha

wysota
28th September 2006, 07:14
Did you try reporting it to the Trolls?

lpotter
2nd October 2006, 02:11
What version of gcc are you using?

hvreddy1110
4th October 2006, 07:23
Hi,
I am using gcc-4.1.1.

Thanks,

Regards,
Harsha

hvreddy1110
6th October 2006, 15:35
Hi All,
I removed the class name infront of QDawgPrivate.

But finally i am getting following errors.

arm-linux-gcc -c -pipe -fexpensive-optimizations -fschedule-insns -march=armv4 -Wall -W -w -O5 -fPIC -DQT_NO_QWS_VFB -DCONFIG_ALIGN -DHAVE_MEMALIGN -DPIC -DCONFIG_RISKY -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCONFIG_MJPEGD -DCONFIG_MPEGD -DCONFIG_MPEG4D -DCONFIG_ADPCM -DCONFIG_PCM -DCONFIG_MP3D -DCONFIG_WMAD -DAMR_NB_FIXED -DAMR_NB -DARCH_ARMV4L=1 -DCONFIG_MPEGAUDIO_HP -DQTOPIA_DATA_LINKING -DQCONFIG=\"qconfig-qpe.h\" -DQTOPIA_TARGET=\"avcodec\" -DQTOPIA_TRTARGET=\"libavcodec\" -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/mkspecs/qws/linux-mxc-g++ -I. -I. -I.. -I../libavformat -I../amr -I../../../../include -I/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rootfs/usr/include -I.ui/release-shared/ -o .obj/release-shared/simple_idct.o simple_idct.c
In file included from avcodec.h:35,
from simple_idct.c:30:
common.h:89: error: array type has incomplete element type
common.h:91: error: array type has incomplete element type
make[4]: *** [.obj/release-shared/simple_idct.o] Error 1
make[4]: Leaving directory `/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/src/3rdparty/libraries/libavcodec'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/src/3rdparty/libraries/libavcodec'
make[2]: *** [sub-3rdparty-libraries-libavcodec] Error 2
make[2]: Leaving directory `/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/rpm/BUILD/qtopia-free-2.1.1/src'
make: *** [all] Error 2
error: Bad exit status from /home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/tmp/rpm-tmp.28705 (%build)


RPM build errors:
Bad exit status from /home/harsha/Desktop/IMX_INSTALL2/ltib-imx31ads-20060709/tmp/rpm-tmp.28705 (%build)
Failed building qtopia-mxc


f_buildrpms() returned an error, exiting

Any help is appreciated.

Thanks in advance

Regards,
Harsha