HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /X11R6 HEADERS AND Compiler errors
Operating System - HP-UX
1827691
Members
3297
Online
109967
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 07:30 AM
02-09-2005 07:30 AM
/X11R6 HEADERS AND Compiler errors
Hello,
I am attempting to build Qt 3.3.4 on Hp 11 (64-bit). I am using the 64-bit gcc 3.3.3 compiler.
It seems like the compiler does not like the X11R6 header files, as I am getting a lot of messages of the following type:
In file included from kernel/qt_x11_p.h:71,
from kernel/qtaddons_x11.cpp:25:
/usr/include/X11R6/X11/Xutil.h:363: error: ISO C++ forbids declaration of `
XClipBox' with no type
/usr/include/X11R6/X11/Xutil.h:389: error: ISO C++ forbids declaration of `
XDestroyRegion' with no type
/usr/include/X11R6/X11/Xutil.h:395: error: ISO C++ forbids declaration of `
XEmptyRegion' with no type
/usr/include/X11R6/X11/Xutil.h:402: error: ISO C++ forbids declaration of `
XEqualRegion' with no type
/usr/include/X11R6/X11/Xutil.h:548: error: ISO C++ forbids declaration of `
XIntersectRegion' with no type
/usr/include/X11R6/X11/Xutil.h:584: error: ISO C++ forbids declaration of `
XOffsetRegion' with no type
/usr/include/X11R6/X11/Xutil.h:627: error: ISO C++ forbids declaration of `
XSetClassHint' with no type
/usr/include/X11R6/X11/Xutil.h:636: error: ISO C++ forbids declaration of `
XSetIconSizes' with no type
/usr/include/X11R6/X11/Xutil.h:644: error: ISO C++ forbids declaration of `
XSetNormalHints' with no type
/usr/include/X11R6/X11/Xutil.h:663: error: ISO C++ forbids declaration of `
XSetSizeHints' with no type
/usr/include/X11R6/X11/Xutil.h:676: error: ISO C++ forbids declaration of `
XSetStandardProperties' with no type
/usr/include/X11R6/X11/Xutil.h:701: error: ISO C++ forbids declaration of `
XSetWMHints' with no type
/usr/include/X11R6/X11/Xutil.h:770: error: ISO C++ forbids declaration of `
XSetRegion' with no type
/usr/include/X11R6/X11/Xutil.h:787: error: ISO C++ forbids declaration of `
XSetZoomHints' with no type
/usr/include/X11R6/X11/Xutil.h:795: error: ISO C++ forbids declaration of `
XShrinkRegion' with no type
/usr/include/X11R6/X11/Xutil.h:811: error: ISO C++ forbids declaration of `
XSubtractRegion' with no type
/usr/include/X11R6/X11/Xutil.h:871: error: ISO C++ forbids declaration of `
XUnionRectWithRegion' with no type
/usr/include/X11R6/X11/Xutil.h:879: error: ISO C++ forbids declaration of `
XUnionRegion' with no type
/usr/include/X11R6/X11/Xutil.h:903: error: ISO C++ forbids declaration of `
XXorRegion' with no type
gmake[2]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1
gmake[2]: Leaving directory `/net/lonestar/space2/tfrencel/qt/qt_release_hp11w/src'
gmake[1]: *** [sub-src] Error 2
gmake[1]: Leaving directory `/net/lonestar/space2/tfrencel/qt/qt_release_hp11w'
gmake: *** [init] Error 2
bash-2.04$
Does any one know how I may be able to fix these problems? Is this a known gcc incompatibility with HP's X11R6 headers? Are there "header-only" patches available. I am using a build server, used by others, so applying patches to it is not a simple matter.
Much thanks and appreciation for any help!
=Tom F.=
I am attempting to build Qt 3.3.4 on Hp 11 (64-bit). I am using the 64-bit gcc 3.3.3 compiler.
It seems like the compiler does not like the X11R6 header files, as I am getting a lot of messages of the following type:
In file included from kernel/qt_x11_p.h:71,
from kernel/qtaddons_x11.cpp:25:
/usr/include/X11R6/X11/Xutil.h:363: error: ISO C++ forbids declaration of `
XClipBox' with no type
/usr/include/X11R6/X11/Xutil.h:389: error: ISO C++ forbids declaration of `
XDestroyRegion' with no type
/usr/include/X11R6/X11/Xutil.h:395: error: ISO C++ forbids declaration of `
XEmptyRegion' with no type
/usr/include/X11R6/X11/Xutil.h:402: error: ISO C++ forbids declaration of `
XEqualRegion' with no type
/usr/include/X11R6/X11/Xutil.h:548: error: ISO C++ forbids declaration of `
XIntersectRegion' with no type
/usr/include/X11R6/X11/Xutil.h:584: error: ISO C++ forbids declaration of `
XOffsetRegion' with no type
/usr/include/X11R6/X11/Xutil.h:627: error: ISO C++ forbids declaration of `
XSetClassHint' with no type
/usr/include/X11R6/X11/Xutil.h:636: error: ISO C++ forbids declaration of `
XSetIconSizes' with no type
/usr/include/X11R6/X11/Xutil.h:644: error: ISO C++ forbids declaration of `
XSetNormalHints' with no type
/usr/include/X11R6/X11/Xutil.h:663: error: ISO C++ forbids declaration of `
XSetSizeHints' with no type
/usr/include/X11R6/X11/Xutil.h:676: error: ISO C++ forbids declaration of `
XSetStandardProperties' with no type
/usr/include/X11R6/X11/Xutil.h:701: error: ISO C++ forbids declaration of `
XSetWMHints' with no type
/usr/include/X11R6/X11/Xutil.h:770: error: ISO C++ forbids declaration of `
XSetRegion' with no type
/usr/include/X11R6/X11/Xutil.h:787: error: ISO C++ forbids declaration of `
XSetZoomHints' with no type
/usr/include/X11R6/X11/Xutil.h:795: error: ISO C++ forbids declaration of `
XShrinkRegion' with no type
/usr/include/X11R6/X11/Xutil.h:811: error: ISO C++ forbids declaration of `
XSubtractRegion' with no type
/usr/include/X11R6/X11/Xutil.h:871: error: ISO C++ forbids declaration of `
XUnionRectWithRegion' with no type
/usr/include/X11R6/X11/Xutil.h:879: error: ISO C++ forbids declaration of `
XUnionRegion' with no type
/usr/include/X11R6/X11/Xutil.h:903: error: ISO C++ forbids declaration of `
XXorRegion' with no type
gmake[2]: *** [.obj/release-shared-mt/qtaddons_x11.o] Error 1
gmake[2]: Leaving directory `/net/lonestar/space2/tfrencel/qt/qt_release_hp11w/src'
gmake[1]: *** [sub-src] Error 2
gmake[1]: Leaving directory `/net/lonestar/space2/tfrencel/qt/qt_release_hp11w'
gmake: *** [init] Error 2
bash-2.04$
Does any one know how I may be able to fix these problems? Is this a known gcc incompatibility with HP's X11R6 headers? Are there "header-only" patches available. I am using a build server, used by others, so applying patches to it is not a simple matter.
Much thanks and appreciation for any help!
=Tom F.=
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 08:31 PM
02-09-2005 08:31 PM
Re: /X11R6 HEADERS AND Compiler errors
cd $QTDIR/src
vi Makefile
change g++ to 'g++ -fpermissive'
Worth a try!
vi Makefile
change g++ to 'g++ -fpermissive'
Worth a try!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2005 09:26 PM
02-09-2005 09:26 PM
Re: /X11R6 HEADERS AND Compiler errors
Tom,
have you had alook at :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=37511 ?
Although this seems to have ended without anybody marking a resolution!
Regards
have you had alook at :
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=37511 ?
Although this seems to have ended without anybody marking a resolution!
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2005 03:03 AM
02-10-2005 03:03 AM
Re: /X11R6 HEADERS AND Compiler errors
Thanks Peter - I'll give your suggested switch a try.
Thanks Stephen - I did check out the referred post before I decided to write my own. The prior post did not capture the same architecture/Qt version that I am building. Furthermore, the post that you referred to ends with a rant and does not seem to have a concrete resolution;-)
Thanks Guys,
=Tom F.=
Thanks Stephen - I did check out the referred post before I decided to write my own. The prior post did not capture the same architecture/Qt version that I am building. Furthermore, the post that you referred to ends with a rant and does not seem to have a concrete resolution;-)
Thanks Guys,
=Tom F.=
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP