Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Open Source Java 6 Developer Preview Release




On Nov 21, 2007, at 1:01 PM, Ralph Martin wrote:

Landon

any clues as to my build failure I reported on the X11 list?

It has happened to me on 2 separate machines (64 bit non-debug build), yet others are apparently building OK, which is rather mysterious...

(This is not the missing Motif problem, but my second issue).

Howdy --

Looking at the error, I'm not quite sure how it could occur.

/usr/include/sys/types.h: At global scope:
/usr/include/sys/types.h:91: error: declaration does not declare anything
/usr/include/sys/types.h:92: error: multiple types in one declaration
/usr/include/sys/types.h:92: error: declaration does not declare anything

On my system, those two lines are:
typedef unsigned short ushort; /* Sys V compatibility */
typedef unsigned int uint; /* Sys V compatibility */


These #defines could cause the error you're seeing, but I don't know why your compiles would fail while other's work fine.
landonf@max:Documents/Code/Java/javasrc_1_6_jrl> grep '^#define' j2se/ src/share/native/com/sun/java/util/jar/pack/zip.h
#define ushort unsigned short
#define uint unsigned int


You might try commenting those out, and trying to see how they are evaluated prior to sys/types.h on your system

Alternatively, is there any chance you could supply a prebuilt version for people to try?

The JRL seems to imply that this would be OK: http://java.net/jrl.csp

I'm no lawyer, but if I've interpreted that correctly, I'd be happy to provide JRL binaries. By way of comparison, the BSD Java project develops entirely under the JRL, and FreeBSD then distributes non-JRL Java binaries under a Sun-granted license:
http://www.freebsd.org/java/


Post Java 1.6, the OpenJDK licensing is much simpler.

Best wishes and thanks for all your terrific efforts!

Thanks!

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Update -- FreeBSD's 1.6 JDK on Mac OS X (From: Landon Fuller <email@hidden>)
 >Open Source Java 6 Developer Preview Release (From: Landon Fuller <email@hidden>)
 >Re: Open Source Java 6 Developer Preview Release (From: Ralph Martin <email@hidden>)
 >Re: Open Source Java 6 Developer Preview Release (From: Landon Fuller <email@hidden>)
 >Re: Open Source Java 6 Developer Preview Release (From: Ralph Martin <email@hidden>)
 >Re: Open Source Java 6 Developer Preview Release (From: Alexander Babaev <email@hidden>)
 >Re: Open Source Java 6 Developer Preview Release (From: Landon Fuller <email@hidden>)
 >Re: Open Source Java 6 Developer Preview Release (From: Curtis Stanford <email@hidden>)
 >Re: Open Source Java 6 Developer Preview Release (From: Landon Fuller <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.