Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Nov 2007 10:39 AM by  dexter.solio@navy.mil
linux bsp from freescale (imx31, rel 5b, 20071008)
 0 Replies
Sort:
You are not authorized to post a reply.
Author Messages
dexter.solio@navy.mil
New Member
New Member
Posts:


--
19 Nov 2007 10:39 AM
    Hello,

    Has anyone gotten the linux bsp (rel 5b) to compile using ltib for the mx31? We've followed the instructions in the BSP User Manual without any success. The first compilation succeeds, but a recompilation after the distclean command fails on Qtopia (pngscale). I am using Debian 4.0, but have also compiled on Linux Mint 4.0, Fedora 8, and Ubuntu 7.10. All those distributions produced the same error.

    I realize this is a freescale problem, but I'm hoping someone may be able to help here. Attached is the log of the compilation.

    Thank you.

    PS. Does anyone still have the iso for the rel3 or rel4 linux BSP? I'm interested in actually compiling those and see of they work.


    ***********************************
    ********* Build Qtopia ************
    ***********************************
    QPE_CFG=" '-arch' 'arm' '-no-qvfb' '-with-libffmpeg' '-qconfig' 'qpe' '-edition' 'pda' '-displaysize' '240x320' '-l' 'jpeg' '-l' 'uuid' -no-qtopiadesktop -release -platform 'linux-g++' -xplatform 'linux-mxc-g++'"

    The following configuration values have been guessed or autodetected:
    -fontfamilies helvetica fixed micro smallsmooth smoothtimes
    -fontsizes all
    -fontstyles 50 50i 75 75i
    -languages en_US

    WARNING: defaultbuttons-arm.conf does not exist.
    Symlinking header files to include directory
    Creating qmake...make[1]: Entering directory `/usr/local/ltib/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qtopia/qmake'
    ..............................................make[1]: Leaving directory `/usr/local/ltib/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qtopia/qmake'

    Creating pngscale...make[1]: Entering directory `/usr/local/ltib/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qtopia/util/pngscale'
    .................................................................make[1]: *** [../../bin/pngscale] Error 1
    make[1]: Leaving directory `/usr/local/ltib/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qtopia/util/pngscale'
    Failed to make pngscale

    ***********************************************************************
    *
    * ERROR: Building Qtopia has failed.
    *
    * Please search the make output for any error messages.
    *
    * Hint: If the configuration has changed since the last successfull
    * build consider using make clean to ensure that all binaries
    * are rebuilt using the new configuration.
    *
    * For more information about the build process please use a browser
    * and go to the getting started section in:
    * /usr/local/ltib/ltib-imx31ads-20071008/rpm/BUILD/qtopia-free-2.2.0/qtopia/doc/html/index.html
    *
    ***********************************************************************
    + '[' '' = y ']'
    + exit 0
    Executing(%install): /bin/sh -e /usr/local/ltib/ltib-imx31ads-20071008/tmp/rpm-tmp.14624
    + umask 022
    + cd /usr/local/ltib/ltib-imx31ads-20071008/rpm/BUILD
    + cd qtopia-free-2.2.0
    + source ./ltibqtopiaconfig
    ++ export 'EXTRA_QPE_CONFIG=-edition pda -displaysize 240x320'
    ++ EXTRA_QPE_CONFIG='-edition pda -displaysize 240x320'
    ++ export EXTRA_QTE_CONFIG=-tslib
    ++ EXTRA_QTE_CONFIG=-tslib
    ++ export PKG_QTOPIA_WANT_MOUSE=
    ++ PKG_QTOPIA_WANT_MOUSE=
    ++ export QWS_PLATFORM=mxc
    ++ QWS_PLATFORM=mxc
    ++ export QWS_KEYBOARD=USB:/dev/input/event0
    ++ QWS_KEYBOARD=USB:/dev/input/event0
    + export PATH=/usr/local/ltib/ltib-imx31ads-20071008/bin:/opt/freescale/ltib/usr/bin:/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin
    + PATH=/usr/local/ltib/ltib-imx31ads-20071008/bin:/opt/freescale/ltib/usr/bin:/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin
    + echo creating qtopia install image
    creating qtopia install image
    + make install
    3rdparty/kernel/qmotifdnd_x11.cpp:80:22: error: X11/Xlib.h: No such file or directory
    3rdparty/kernel/qmotifdnd_x11.cpp:81:23: error: X11/Xatom.h: No such file or directory
    3rdparty/kernel/qmotifdnd_x11.cpp:83: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:84: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:87: error: 'Window' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:90: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:92: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:93: error: 'Time' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:95: error: expected initializer before '*' token
    3rdparty/kernel/qmotifdnd_x11.cpp:102: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:104: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:104: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:106: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:154: error: 'Time' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:161: error: 'Window' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:162: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:305: error: ISO C++ forbids declaration of 'Atom' with no type
    3rdparty/kernel/qmotifdnd_x11.cpp:305: error: expected ';' before '*' token
    3rdparty/kernel/qmotifdnd_x11.cpp:316: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:318: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void qt_x11_motifdnd_init()':
    3rdparty/kernel/qmotifdnd_x11.cpp:326: error: 'atom_message_type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:327: error: 'atom_src_property_type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:328: error: 'atom_receiver_info' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:329: error: 'atom_motif_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:330: error: 'atom_target_list' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:332: error: 'Dnd_transfer_success' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:333: error: 'Dnd_transfer_failure' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:337: error: 'Dnd_selection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:354: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:354: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:355: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void DndReadSourceProperty(Display*, int, int, int**, short unsigned int*)':
    3rdparty/kernel/qmotifdnd_x11.cpp:358: error: 'Atom' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:358: error: expected `;' before 'type'
    3rdparty/kernel/qmotifdnd_x11.cpp:363: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:363: error: 'atom_src_property_type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:363: error: 'type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:365: warning: dereferencing type-punned pointer will break strict-aliasing rules
    3rdparty/kernel/qmotifdnd_x11.cpp:365: error: 'XGetWindowProperty' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:365: error: 'Success' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:366: error: 'None' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:378: error: 'XFree' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:385: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void DndWriteReceiverProperty(Display*, int, unsigned char)':
    3rdparty/kernel/qmotifdnd_x11.cpp:393: error: 'None' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:398: error: 'atom_receiver_info' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:399: error: 'PropModeReplace' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:401: error: 'XChangeProperty' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:412: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:413: error: 'XClientMessageEvent' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void DndFillClientMessage(Display*, int, int*, DndData*, char)':
    3rdparty/kernel/qmotifdnd_x11.cpp:417: error: request for member 'data' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:419: error: request for member 'display' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:420: error: request for member 'type' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:420: error: 'ClientMessage' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:421: error: request for member 'serial' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:421: error: 'LastKnownRequestProcessed' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:422: error: request for member 'send_event' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:422: error: 'True' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:423: error: request for member 'window' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:424: error: request for member 'format' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:425: error: request for member 'message_type' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:425: error: 'atom_message_type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:439: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:445: error: 'struct DndData' has no member named 'src_window'
    3rdparty/kernel/qmotifdnd_x11.cpp:446: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:456: error: 'struct DndData' has no member named 'src_window'
    3rdparty/kernel/qmotifdnd_x11.cpp:457: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:465: error: 'Bool' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:531: error: 'Window' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'DndTargetsTableRec* TargetsTable(Display*)':
    3rdparty/kernel/qmotifdnd_x11.cpp:578: error: 'Atom' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:578: error: expected `;' before 'type'
    3rdparty/kernel/qmotifdnd_x11.cpp:582: error: 'Window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:582: error: expected `;' before 'motif_window'
    3rdparty/kernel/qmotifdnd_x11.cpp:592: error: 'motif_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:593: error: 'atom_target_list' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:594: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:595: error: 'type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:596: warning: dereferencing type-punned pointer will break strict-aliasing rules
    3rdparty/kernel/qmotifdnd_x11.cpp:596: error: 'XGetWindowProperty' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:596: error: 'Success' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:597: error: 'None' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:633: error: 'struct DndTargetsTableEntryRec' has no member named 'targets'
    3rdparty/kernel/qmotifdnd_x11.cpp:633: error: expected primary-expression before ')' token
    3rdparty/kernel/qmotifdnd_x11.cpp:634: error: expected `;' before 'malloc'
    3rdparty/kernel/qmotifdnd_x11.cpp:645: error: 'struct DndTargetsTableEntryRec' has no member named 'targets'
    3rdparty/kernel/qmotifdnd_x11.cpp:645: error: expected `;' before 'atom'
    3rdparty/kernel/qmotifdnd_x11.cpp:650: error: 'XFree' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:659: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'int _DndIndexToTargets(Display*, int, int**)':
    3rdparty/kernel/qmotifdnd_x11.cpp:672: error: 'Atom' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:672: error: expected primary-expression before ')' token
    3rdparty/kernel/qmotifdnd_x11.cpp:672: error: expected `;' before 'malloc'
    3rdparty/kernel/qmotifdnd_x11.cpp:675: error: 'struct DndTargetsTableEntryRec' has no member named 'targets'
    3rdparty/kernel/qmotifdnd_x11.cpp:680: error: 'struct DndTargetsTableEntryRec' has no member named 'targets'
    3rdparty/kernel/qmotifdnd_x11.cpp:680: error: 'XFree' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:683: error: 'XFree' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'QByteArray qt_motifdnd_obtain_data()':
    3rdparty/kernel/qmotifdnd_x11.cpp:694: error: 'Dnd_selection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:694: error: 'XGetSelectionOwner' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:694: error: 'None' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:704: error: 'Dnd_selection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:704: error: 'XA_STRING' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:705: error: 'Dnd_selection_time' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:705: error: 'XConvertSelection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:707: error: 'XFlush' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:709: error: aggregate 'XEvent xevent' has incomplete type and cannot be defined
    3rdparty/kernel/qmotifdnd_x11.cpp:712: error: 'SelectionNotify' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:714: error: 'Atom' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:714: error: expected `;' before 'type'
    3rdparty/kernel/qmotifdnd_x11.cpp:719: error: 'type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:724: error: 'Dnd_transfer_success' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void qt_motifdnd_handle_msg(QWidget*, const XEvent*, bool)':
    3rdparty/kernel/qmotifdnd_x11.cpp:750: error: variable 'XEvent event' has initializer but incomplete type3rdparty/kernel/qmotifdnd_x11.cpp:751: error: 'XClientMessageEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:751: error: expected `;' before 'cm'
    3rdparty/kernel/qmotifdnd_x11.cpp:755: error: expected primary-expression before ')' token
    3rdparty/kernel/qmotifdnd_x11.cpp:756: error: 'DndParseClientMessage' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:795: error: 'True' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:798: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:798: error: 'CurrentTime' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:803: error: 'cur_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:804: error: 'cm' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:807: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:808: error: 'XSendEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:820: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:820: error: 'CurrentTime' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:825: error: 'cur_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:826: error: 'cm' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:829: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:830: error: 'XSendEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:836: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:839: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:839: error: 'CurrentTime' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:842: error: 'cur_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:843: error: 'cm' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:847: error: 'XSendEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:860: error: 'cur_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:860: error: 'struct DndData' has no member named 'src_window'
    3rdparty/kernel/qmotifdnd_x11.cpp:866: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:867: error: 'src_targets' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:881: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:881: error: 'Dnd_transfer_failure' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'XConvertSelection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:894: error: 'cm' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:897: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:898: error: 'XSendEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:901: error: 'Dnd_selection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:901: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:902: error: 'Dnd_selection_time' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:902: error: 'struct DndData' has no member named 'time'
    make[1]: *** [tmp/release-shared-linux-g++/3rdparty/kernel/qmotifdnd_x11.o] Error 1
    In file included from kernel/qtaddons_x11.cpp:25:
    kernel/qt_x11_p.h:66:22: error: X11/Xlib.h: No such file or directory
    kernel/qt_x11_p.h:71:23: error: X11/Xutil.h: No such file or directory
    kernel/qt_x11_p.h:72:21: error: X11/Xos.h: No such file or directory
    kernel/qt_x11_p.h:73:23: error: X11/Xatom.h: No such file or directory
    make[2]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1
    make[1]: *** [sub-src] Error 2
    WARNING: defaultbuttons-arm.conf does not exist.
    make[1]: *** [../../bin/pngscale] Error 1
    Failed to make pngscale
    3rdparty/kernel/qmotifdnd_x11.cpp:80:22: error: X11/Xlib.h: No such file or directory
    3rdparty/kernel/qmotifdnd_x11.cpp:81:23: error: X11/Xatom.h: No such file or directory
    3rdparty/kernel/qmotifdnd_x11.cpp:83: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:84: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:87: error: 'Window' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:90: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:92: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:93: error: 'Time' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:95: error: expected initializer before '*' token
    3rdparty/kernel/qmotifdnd_x11.cpp:102: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:104: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:104: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:106: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:154: error: 'Time' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:161: error: 'Window' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:162: error: 'Atom' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:305: error: ISO C++ forbids declaration of 'Atom' with no type
    3rdparty/kernel/qmotifdnd_x11.cpp:305: error: expected ';' before '*' token
    3rdparty/kernel/qmotifdnd_x11.cpp:316: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:318: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void qt_x11_motifdnd_init()':
    3rdparty/kernel/qmotifdnd_x11.cpp:326: error: 'atom_message_type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:327: error: 'atom_src_property_type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:328: error: 'atom_receiver_info' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:329: error: 'atom_motif_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:330: error: 'atom_target_list' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:332: error: 'Dnd_transfer_success' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:333: error: 'Dnd_transfer_failure' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:337: error: 'Dnd_selection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:354: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:354: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:355: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void DndReadSourceProperty(Display*, int, int, int**, short unsigned int*)':
    3rdparty/kernel/qmotifdnd_x11.cpp:358: error: 'Atom' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:358: error: expected `;' before 'type'
    3rdparty/kernel/qmotifdnd_x11.cpp:363: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:363: error: 'atom_src_property_type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:363: error: 'type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:365: warning: dereferencing type-punned pointer will break strict-aliasing rules
    3rdparty/kernel/qmotifdnd_x11.cpp:365: error: 'XGetWindowProperty' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:365: error: 'Success' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:366: error: 'None' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:378: error: 'XFree' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:385: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void DndWriteReceiverProperty(Display*, int, unsigned char)':
    3rdparty/kernel/qmotifdnd_x11.cpp:393: error: 'None' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:398: error: 'atom_receiver_info' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:399: error: 'PropModeReplace' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:401: error: 'XChangeProperty' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:412: error: 'Window' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp:413: error: 'XClientMessageEvent' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void DndFillClientMessage(Display*, int, int*, DndData*, char)':
    3rdparty/kernel/qmotifdnd_x11.cpp:417: error: request for member 'data' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:419: error: request for member 'display' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:420: error: request for member 'type' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:420: error: 'ClientMessage' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:421: error: request for member 'serial' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:421: error: 'LastKnownRequestProcessed' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:422: error: request for member 'send_event' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:422: error: 'True' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:423: error: request for member 'window' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:424: error: request for member 'format' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:425: error: request for member 'message_type' in '* cm', which is of non-class type 'int'
    3rdparty/kernel/qmotifdnd_x11.cpp:425: error: 'atom_message_type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:439: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:445: error: 'struct DndData' has no member named 'src_window'
    3rdparty/kernel/qmotifdnd_x11.cpp:446: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:456: error: 'struct DndData' has no member named 'src_window'
    3rdparty/kernel/qmotifdnd_x11.cpp:457: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:465: error: 'Bool' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp:531: error: 'Window' does not name a type
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'DndTargetsTableRec* TargetsTable(Display*)':
    3rdparty/kernel/qmotifdnd_x11.cpp:578: error: 'Atom' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:578: error: expected `;' before 'type'
    3rdparty/kernel/qmotifdnd_x11.cpp:582: error: 'Window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:582: error: expected `;' before 'motif_window'
    3rdparty/kernel/qmotifdnd_x11.cpp:592: error: 'motif_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:593: error: 'atom_target_list' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:594: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:595: error: 'type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:596: warning: dereferencing type-punned pointer will break strict-aliasing rules
    3rdparty/kernel/qmotifdnd_x11.cpp:596: error: 'XGetWindowProperty' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:596: error: 'Success' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:597: error: 'None' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:633: error: 'struct DndTargetsTableEntryRec' has no member named 'targets'
    3rdparty/kernel/qmotifdnd_x11.cpp:633: error: expected primary-expression before ')' token
    3rdparty/kernel/qmotifdnd_x11.cpp:634: error: expected `;' before 'malloc'
    3rdparty/kernel/qmotifdnd_x11.cpp:645: error: 'struct DndTargetsTableEntryRec' has no member named 'targets'
    3rdparty/kernel/qmotifdnd_x11.cpp:645: error: expected `;' before 'atom'
    3rdparty/kernel/qmotifdnd_x11.cpp:650: error: 'XFree' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: At global scope:
    3rdparty/kernel/qmotifdnd_x11.cpp:659: error: 'Atom' has not been declared
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'int _DndIndexToTargets(Display*, int, int**)':
    3rdparty/kernel/qmotifdnd_x11.cpp:672: error: 'Atom' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:672: error: expected primary-expression before ')' token
    3rdparty/kernel/qmotifdnd_x11.cpp:672: error: expected `;' before 'malloc'
    3rdparty/kernel/qmotifdnd_x11.cpp:675: error: 'struct DndTargetsTableEntryRec' has no member named 'targets'
    3rdparty/kernel/qmotifdnd_x11.cpp:680: error: 'struct DndTargetsTableEntryRec' has no member named 'targets'
    3rdparty/kernel/qmotifdnd_x11.cpp:680: error: 'XFree' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:683: error: 'XFree' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'QByteArray qt_motifdnd_obtain_data()':
    3rdparty/kernel/qmotifdnd_x11.cpp:694: error: 'Dnd_selection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:694: error: 'XGetSelectionOwner' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:694: error: 'None' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:704: error: 'Dnd_selection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:704: error: 'XA_STRING' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:705: error: 'Dnd_selection_time' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:705: error: 'XConvertSelection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:707: error: 'XFlush' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:709: error: aggregate 'XEvent xevent' has incomplete type and cannot be defined
    3rdparty/kernel/qmotifdnd_x11.cpp:712: error: 'SelectionNotify' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:714: error: 'Atom' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:714: error: expected `;' before 'type'
    3rdparty/kernel/qmotifdnd_x11.cpp:719: error: 'type' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:724: error: 'Dnd_transfer_success' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp: In function 'void qt_motifdnd_handle_msg(QWidget*, const XEvent*, bool)':
    3rdparty/kernel/qmotifdnd_x11.cpp:750: error: variable 'XEvent event' has initializer but incomplete type3rdparty/kernel/qmotifdnd_x11.cpp:751: error: 'XClientMessageEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:751: error: expected `;' before 'cm'
    3rdparty/kernel/qmotifdnd_x11.cpp:755: error: expected primary-expression before ')' token
    3rdparty/kernel/qmotifdnd_x11.cpp:756: error: 'DndParseClientMessage' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:795: error: 'True' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:798: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:798: error: 'CurrentTime' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:803: error: 'cur_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:804: error: 'cm' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:807: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:808: error: 'XSendEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:820: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:820: error: 'CurrentTime' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:825: error: 'cur_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:826: error: 'cm' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:829: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:830: error: 'XSendEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:836: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:839: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:839: error: 'CurrentTime' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:842: error: 'cur_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:843: error: 'cm' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:847: error: 'XSendEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:860: error: 'cur_window' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:860: error: 'struct DndData' has no member named 'src_window'
    3rdparty/kernel/qmotifdnd_x11.cpp:866: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:867: error: 'src_targets' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:881: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:881: error: 'Dnd_transfer_failure' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'struct DndData' has no member named 'time'
    3rdparty/kernel/qmotifdnd_x11.cpp:882: error: 'XConvertSelection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:894: error: 'cm' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:897: error: 'False' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:898: error: 'XSendEvent' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:901: error: 'Dnd_selection' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:901: error: 'struct DndData' has no member named 'property'
    3rdparty/kernel/qmotifdnd_x11.cpp:902: error: 'Dnd_selection_time' was not declared in this scope
    3rdparty/kernel/qmotifdnd_x11.cpp:902: error: 'struct DndData' has no member named 'time'
    make[1]: *** [tmp/release-shared-linux-g++/3rdparty/kernel/qmotifdnd_x11.o] Error 1
    In file included from kernel/qtaddons_x11.cpp:25:
    kernel/qt_x11_p.h:66:22: error: X11/Xlib.h: No such file or directory
    kernel/qt_x11_p.h:71:23: error: X11/Xutil.h: No such file or directory
    kernel/qt_x11_p.h:72:21: error: X11/Xos.h: No such file or directory
    kernel/qt_x11_p.h:73:23: error: X11/Xatom.h: No such file or directory
    make[2]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1
    make[1]: *** [sub-src] Error 2
    make[1]: *** No rule to make target `install'. Stop.
    + rm -rf /usr/local/ltib/ltib-imx31ads-20071008/tmp/qtopia-free
    + install -d /usr/local/ltib/ltib-imx31ads-20071008/tmp/qtopia-free//opt/freescale/rootfs/arm
    + cp -a qtopia/image/opt /usr/local/ltib/ltib-imx31ads-20071008/tmp/qtopia-free//opt/freescale/rootfs/armcp: cannot stat `qtopia/image/opt': No such file or directory
    error: Bad exit status from /usr/local/ltib/ltib-imx31ads-20071008/tmp/rpm-tmp.14624 (%install)


    RPM build errors:
    Bad exit status from /usr/local/ltib/ltib-imx31ads-20071008/tmp/rpm-tmp.14624 (%install)
    Build time for qtopia-tslib: 962 seconds

    Failed building qtopia-tslib


    f_buildrpms() returned an error, exiting

    Started: Fri Nov 16 14:32:50 2007
    Ended: Fri Nov 16 15:25:23 2007
    Elapsed: 3153 seconds

    These packages failed to build:
    qtopia-tslib
    Build Failed

    Exiting on error or interrupt
    You are not authorized to post a reply.