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