Results 1 to 5 of 5

Thread: qtopia-free-2.1.1 Xcompile strange error

  1. #1
    Join Date
    Sep 2006
    Posts
    14
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default qtopia-free-2.1.1 Xcompile strange error

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: qtopia-free-2.1.1 Xcompile strange error

    Did you try reporting it to the Trolls?

  3. #3
    Join Date
    Jan 2006
    Location
    Gold Coast, Australia
    Posts
    36
    Thanked 5 Times in 5 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: qtopia-free-2.1.1 Xcompile strange error

    What version of gcc are you using?
    Freelance Senior Software Engineer

  4. #4
    Join Date
    Sep 2006
    Posts
    14
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: qtopia-free-2.1.1 Xcompile strange error

    Hi,
    I am using gcc-4.1.1.

    Thanks,

    Regards,
    Harsha

  5. #5
    Join Date
    Sep 2006
    Posts
    14
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: qtopia-free-2.1.1 Xcompile strange error

    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

Similar Threads

  1. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31
  2. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  3. Problems
    By euthymos in forum Installation and Deployment
    Replies: 2
    Last Post: 13th June 2006, 19:11
  4. Fed up with M$ Window$ !!! Why is Tux leaving me alone???
    By fullmetalcoder in forum General Discussion
    Replies: 35
    Last Post: 18th March 2006, 12:57
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.