Results 1 to 5 of 5

Thread: Qt-x11-commercial-src-4.2.0-snapshot-20060824 error

  1. #1
    Join Date
    Aug 2006
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt-x11-commercial-src-4.2.0-snapshot-20060824 error

    I have been having trouble compiling Qt libs in my debian linux 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 ----working fine now

    make fail with following error message





    ../../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-commercial-src-4.2.0-snapshot-20060824 /src/gui'

    gmake[2]: *** [debug-all] Error 2

    gmake[2]: Leaving directory `/ins/Qt-x11-commercial-src-4.2.0-snapshot-20060824 /src/gui'

    gmake[1]: *** [sub-gui-make_default-ordered] Error 2

    gmake[1]: Leaving directory `/ins/Qt-x11-commercial-src-4.2.0-snapshot-20060824 /src'

    gmake: *** [sub-src-make_default-ordered] Error 2



    Regards,

    Praful Shah

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt-x11-commercial-src-4.2.0-snapshot-20060824 error

    What is the first error message? Do you have X11 headers installed?

  3. #3
    Join Date
    Aug 2006
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt-x11-commercial-src-4.2.0-snapshot-20060824 error

    Hi Jacek,

    freeglut3-dev
    kdelibs4-dev
    libart-2.0-dev
    libarts1-dev
    libartsc0-dev
    libasound2-dev
    libatk1.0-dev
    libaudio-dev
    libaudiofile-dev
    libcupsys2-dev
    libdvdread3-dev
    libesd0-dev
    libexpat1-dev
    libfam-dev
    libfontconfig1-dev
    libgcrypt11-dev
    libglib1.2-dev
    libglib2.0-dev
    libglut3-dev
    libgnutls11-dev
    libgpg-error-dev
    libgtk1.2-dev
    libgtk2.0-dev
    libidn11-dev
    libjack0.80.0-dev
    liblcms1-dev
    libmad0-dev
    libmng-dev
    libncurses5-dev
    libogg-dev
    libopencdk8-dev
    libpango1.0-dev
    libpcap0.8-dev
    libpcre3-dev
    libperl-dev
    libpng3-dev
    libpopt-dev
    libqt3-mt-dev
    libreadline4-dev
    libsablot0-dev
    libssl-dev
    libtasn1-2-dev
    libvorbis-dev
    libxcursor-dev
    libxft-dev
    libxmuu-dev
    libxp-dev
    libxrandr-dev
    libxrender-dev
    libxtrap-dev
    libxtst-dev
    ntfsprogs-dev
    pciutils-dev
    pm-dev
    qt3-dev-tools
    render-dev
    slang1-dev
    uuid-dev
    xlibmesa-gl-dev
    xlibmesa-glu-dev
    xlibs-dev

    I need all above development list for fix this error or some of this.

    Regards,
    Regards,
    Praful Shah

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt-x11-commercial-src-4.2.0-snapshot-20060824 error

    Quote Originally Posted by DevObject
    I need all above development list for fix this error or some of this.
    Is that a question?

    Certainly you don't need kdelibs4-dev, qt3-dev-tools, libqt3-mt-dev, libncurses5-dev, libpcap0.8-dev and libreadline4-dev to compile Qt4.

    Install xlibs-dev and xlibmesa-gl-dev and see if it compiles.

  5. #5
    Join Date
    Aug 2006
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt-x11-commercial-src-4.2.0-snapshot-20060824 error

    X-windows-Developement tools , I install , does it fix problem

Similar Threads

  1. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 13:52
  2. Problems
    By euthymos in forum Installation and Deployment
    Replies: 2
    Last Post: 13th June 2006, 20:11
  3. Fed up with M$ Window$ !!! Why is Tux leaving me alone???
    By fullmetalcoder in forum General Discussion
    Replies: 35
    Last Post: 18th March 2006, 13:57
  4. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 13:54
  5. qmake_image_collection.cpp gives me a compiling error
    By vfernandez in forum Qt Programming
    Replies: 2
    Last Post: 31st January 2006, 02:42

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.