[Qt-interest] compilation error

Yuvaraj R yuvaraj at ongobiz.com
Tue Nov 3 04:53:16 CET 2009


Hi All

 I am compiling qt again to generate libs as static

http://wiki.qtcentre.org/index.php?title=Building_static_Qt_on_Linux

I referred above mentioned link


I got error for make sub-src command

 file included from ../../include/QtGui/private/qt_x11_p.h:1,
                 from kernel/qapplication.cpp:76:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:94:37: error:
X11/extensions/XInput.h: No such file or directory
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:142:41:
error: X11/extensions/Xinerama.h: No such file or directory
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:149:37:
error: X11/extensions/Xrandr.h: No such file or directory
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:200:33:
error: X11/Xcursor/Xcursor.h: No such file or directory
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
                 from kernel/qapplication.cpp:76:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:207: error:
expected initializer before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:218: error:
‘XDevice’ has not been declared
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:219: error:
expected initializer before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:220: error:
expected initializer before ‘*’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:221: error:
typedef ‘PtrXFreeDeviceList’ is initialized (use __typeof__ instead)
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:221: error:
‘XDeviceInfo’ was not declared in this scope
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:221: error:
expected primary-expression before ‘)’ token
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:222: error:
‘XEventClass’ has not been declared
In file included from ../../include/QtGui/private/qt_x11_p.h:1,
                 from kernel/qapplication.cpp:76:
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:410: error:
‘PtrXListInputDevices’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:411: error:
‘PtrXOpenDevice’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:412: error:
‘PtrXFreeDeviceList’ does not name a type
../../include/QtGui/private/../../../src/gui/kernel/qt_x11_p.h:673: error:
‘PtrXineramaQueryScreens’ does not name a type
make[1]: *** [.obj/release-static/qapplication.o] Error 1
make[1]: Leaving directory `/home/ongobiz/qtsdk-2009.04/qt/src/gui'
make: *** [sub-gui-install_subtargets-ordered] Error 2
ongobiz at ongobiz-desktop:~/qtsdk-2009.04/qt$

please help me

Thanks

Yuvaraj R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091103/423f5b98/attachment.html 


More information about the Qt-interest-old mailing list