1756020 Members
2709 Online
108839 Solutions
New Discussion юеВ

Howto fix X11 headers?

 
Mehdi_1
Regular Advisor

Howto fix X11 headers?

Hi

I am trying to port "qt" to HPUX 11.00 ans 11.20 (Ia64) platforms.
The program has compiled fine on 11.00 platform, but on 11.20 in fails with lot of messages like: /usr/include/X11R6/X11/Xlib.h:2765: ISO C++ forbids declaration of `XFillArc'
with no type

I had the same problem on 11.00 platform , but the problem was fixed when I apply PHSS_25878 patch.

But I can't find anything similar for 11.20.

Has anyone got any idea please.

__Mehdi

PS. I am using gcc-3.0.

5 REPLIES 5
Bill McNAMARA_1
Honored Contributor

Re: Howto fix X11 headers?

XMotif Devkit

patch details: PHSS_25880

Equivalent Patches:
PHSS_25882:
s700: 11.11
s800: 11.11

http://support5.itrc.hp.com/service/patch/patchDetail.do?patchid=PHSS_25880&context=hpux:800:11:00

Later,
Bill
It works for me (tm)
Stefan Farrelly
Honored Contributor

Re: Howto fix X11 headers?


11.20 is completely binary compatible with 11.0 so simply copy over the binary to 11.20
You may need to build it statically on 11.0 first.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Mehdi_1
Regular Advisor

Re: Howto fix X11 headers?

I don't think it advisable to apply 11.11 patch (PA-RISC) to 11.20
(IA64).

Regards

__Mehdi
Rick Beldin
HPE Pro

Re: Howto fix X11 headers?

Re - 11.11 patch for 11.20. In general, maybe not a good idea, but if it is a fix for header files I don't see much of a danger.
Necessary questions: Why? What? How? When?
Mehdi_1
Regular Advisor

Re: Howto fix X11 headers?

I can't believe, you guys suggest this things.

Nearly all the XMotif Devkit patches are to fix libraries as well as headers. I would have applied the patches if they only patched the header files.
In paticular the 11.11 patch even doesn't fix any headers, it only fixes the library that some of them even don't exist in 11.20 paltform!!.
In my opinion the 11.00 patch would work better than 11.11 patch!.

How do you expect me to apply patch to something that even doesn't exist ??!!


It would be nice to hear from one of HP-UX engineers regarding this matter.

Thanks for all the posting.

Regards

__Mehdi