Find the answer to your Linux question:
Results 1 to 3 of 3
Hi I have been having trouble compiling Qt libs in my mandrake 10.1 system I would appreciate if you could look at the error messages and tell me how I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2005
    Posts
    22

    errors during Qt package make process


    Hi
    I have been having trouble compiling Qt libs in my mandrake 10.1 system I would appreciate if you could look at the error messages and tell me how I should proceed.
    I followed the following instructions
    Un pack the tar.gz file
    run ./configure script
    gmake #result in errors

    Errors during make process are as follows

    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:246: error: `Colormap' does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:247: error: ISO C++ forbids declaration of `Visual' with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:247: error: expected `;' before '*' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:260: error: `Window' does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:263: error: expected `;' before '(' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:264: error: expected `;' before '(' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:266: error: expected `;' before '(' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:277: error: expected `,' or `...' before '*' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:277: error: ISO C++ forbids declaration of `XSelectionRequestEvent' with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:279: error: expected `;' before '(' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:280: error: `Atom' does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:328: error: ISO C++ forbids declaration of `Atom' with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:328: error: expected `;' before '*' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:330: error: ISO C++ forbids declaration of `Window' with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:330: error: expected `;' before '*' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:332: error: `Window' does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:338: error: `Time' does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:339: error: `Time' does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:365: error: ISO C++ forbids declaration of `Visual' with no type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:365: error: expected `;' before '*' token
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:366: error: `Colormap' does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:511: error: `Atom' does not name a type
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:521: error: `FocusOut' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:521: error: enumerator value for `XFocusOut' not integer constant
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:522: error: `FocusIn' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:522: error: enumerator value for `XFocusIn' not integer constant
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:523: error: `KeyPress' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:523: error: enumerator value for `XKeyPress' not integer constant
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:524: error: `KeyRelease' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:524: error: enumerator value for `XKeyRelease' not integer constant
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:525: error: `None' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:525: error: enumerator value for `XNone' not integer constant
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:526: error: `RevertToParent' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:526: error: enumerator value for `XRevertToParent' not integer constant
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:527: error: `GrayScale' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:527: error: enumerator value for `XGrayScale' not integer constant
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:529: error: `CursorShape' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:529: error: enumerator value for `XCursorShape' not integer constant
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:543: error: `XPoint' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:543: error: template argument 1 is invalid
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:543: error: explicit specialization of non-template `<type error>'
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:544: error: `XRectangle' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:544: error: template argument 1 is invalid
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:544: error: explicit specialization of non-template `<type error>'
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:545: error: `XChar2b' was not declared in this scope
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:545: error: template argument 1 is invalid
    ../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:545: error: explicit specialization of non-template `<type error>'
    gmake[3]: *** [.obj/debug-shared/qapplication.o] Error 1
    gmake[3]: Leaving directory `/ins/qt-x11-opensource-src-4.0.1/src/gui'
    gmake[2]: *** [debug-all] Error 2
    gmake[2]: Leaving directory `/ins/qt-x11-opensource-src-4.0.1/src/gui'
    gmake[1]: *** [sub-gui-make_default-ordered] Error 2
    gmake[1]: Leaving directory `/ins/qt-x11-opensource-src-4.0.1/src'
    gmake: *** [sub-src-make_default-ordered] Error 2



    I am using gcc version: 3.4.1
    kernel version :2.6.8.1-12mdk
    Qt source I downloaded was : qt-x11-opensource-src-4.0.1.tar.gz
    So far I have been trying to install various packages from the mandrake installation disk including kernel source packages thanks in advance

  2. #2
    Just Joined!
    Join Date
    Dec 2005
    Posts
    22
    can anybody help me on this issue. I have waited for an answer for a long time yet I haven received please Can anybody help me thanks.

  3. #3
    Just Joined!
    Join Date
    Dec 2005
    Posts
    54
    Could you post the config.log? You do know they make a pre-compiled package of QT for mandrake right?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •