Just built it on my Mac Pro, haven't 'taken it out for a spin yet' though ;)
One issue I've found is that although ./java runs and prints the version
./javac requires the DYLD_LIBRARY_PATH variable to be set
Cheers
--Calum
On 22/11/2007, Doug Zwick <email@hidden> wrote:
> Landon Fuller wrote:
>
> > On Nov 21, 2007, at 1:01 PM, Ralph Martin wrote:
> >
> >> /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
>
> Try running the C compiler with -E, which will place the C
> preprocessor output into the output file, then look to see what it
> did to those two typedefs.
> _______________________________________________
> 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
>
_______________________________________________
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