Bug 187547
| Summary: | build failure when including jawt_md.h | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Thomas Fitzsimmons <fitzsim> | ||||
| Component: | java-1.4.2-ibm | Assignee: | Thomas Fitzsimmons <fitzsim> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.0 | CC: | bugproxy, overholt | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 1.4.2.8-1jpp.1.el4 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2007-05-03 02:22:21 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 234547 | ||||||
| Attachments: |
|
||||||
Created attachment 127152 [details]
Failing C source file.
----- Additional Comments From chavez.com(prefers email via lnx1138.com) 2006-04-05 17:20 EDT ------- I\'lI tried the testcase on a RHEL 4 U3 x86 box and it worked fine so I started comparing the devel packages for x86 and X86_64. The two jawt*.h header files are identical between the ones in the X86_64 and the x86 devel packages The jni.h that jawt.h include unfortunetly are not and X86_64 version seems to be missing the following: #ifdef _JNI_IMPLEMENTATION_ #define _JNI_IMPORT_OR_EXPORT_ JNIEXPORT_PROTOTYPE /*ibm.54*/ #else #define _JNI_IMPORT_OR_EXPORT_ JNIIMPORT #endif The \"/usr/lib/jvm/java/include/jawt.h:301: error: syntax error before \"jboolean\"\" is complaining about the _JNI_IMPORT_OR_EXPORT_ which doesn\'t exist. I\'m going to grab the Java 1.4.2 SR4 package and see what it contains. changed:
What |Removed |Added
----------------------------------------------------------------------------
Owning Team|LTC Internal Support |JTC
Reference| |35801,001,866
------- Additional Comments From chavez.com(prefers email via lnx1138.com) 2006-04-07 10:30 EDT -------
I created PMR 35801,001,866 to report the problem to the Java support folks
since SR4 jni.h is still missing the definition.
This is fixed in the latest 1.4.2 drop from IBM, which will be released with RHEL4U5. ----- Additional Comments From chavez.com (prefers email at lnx1138.com) 2006-09-12 15:54 EDT ------- Java 1.4.2 SR6 is now available so whenever the next update of RHEL comes about and SR6 hopefully is picked up we can likely close this. I built java-1.4.2-ibm-1.4.2.6-1jpp.2.el4 into dist-4E-lacd-qu-candidate. Changing to MODIFIED. Proposing for RHEL-4.5. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. ----- Additional Comments From chavez.com (prefers email at lnx1138.com) 2006-11-30 12:13 EDT -------
Thomas,
I revisted this bug with IBM Java SDK 1.4.2 SR6 for x86_64 and I still get the
original error of:
In file included from /root/IBMJava2-amd64-142/include/jawt_md.h:46,
from swt_awt.c:12:
/root/IBMJava2-amd64-142/include/jawt.h:301: error: syntax error before "jboolean"
so I am wondering in one comment you mention the latest drop from IBM fixed it.
What who that have been?
----- Additional Comments From chavez.com (prefers email at lnx1138.com) 2006-11-30 12:45 EDT ------- From what I can tell the fix may show up in SR7 though I am trying to confirm. ----- Additional Comments From chavez.com (prefers email at lnx1138.com) 2006-12-01 09:36 EDT ------- I received confirmation from the Java team that the fix for this problem is in SR7 which is not yet available. OK, pushing this to RHEL-4.6. Re-assigning to myself. I'll change the status back to MODIFIED once I've received and packaged the SR7 drop from IBM. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ACCEPTED |CLOSED
------- Additional Comments From chavez.com (prefers email at lnx1138.com) 2007-01-26 10:15 EDT -------
Since Java 1.4.2 SR7 is already publically available and we've verified on our
side that the missing #define is fixed in SR7, I don't see any reason to keep
this bug open on the IBM side any longer. Closing...
|
The attached source file fails to build against the latest RHEL4 x86-64 IBM JVM: $ gcc -O2 -Wall -DSWT_VERSION=3139 -DLINUX -DGTK -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -fpic -DSWT_PTR_SIZE_64 -c -o swt_awt.o swt_awt.c In file included from /usr/lib/jvm/java/include/jawt_md.h:46, from swt_awt.c:12: /usr/lib/jvm/java/include/jawt.h:301: error: syntax error before "jboolean" $ java -version java version "1.4.2" Java(TM) 2 Runtime Environment, Standard Edition (build 2.2) IBM J9SE VM (build 2.2, J2RE 1.4.2 IBM J9 2.2 Linux amd64-64 j9xa64142-20050929 (JIT enabled) J9VM - 20050915_1103_LHdSMr JIT - r7_level20050909_1801) $ rpm -q java-1.4.2-ibm java-1.4.2-ibm-devel java-1.4.2-ibm-1.4.2.3-1jpp_14rh java-1.4.2-ibm-devel-1.4.2.3-1jpp_14rh