Sorry, I should have included the error
messages in my previous email. They are appended. I'm a little
baffled as to what is going on as the undeclared definitions can be found
in fcntl.h and sys/stat.h and it looked to me like those files were being
included. But, I'm not a big C hacker, so I am probably missing something
obvious.
--dave
make[3]: Entering directory `/homes/angmar/dgrove/rvmRoot/classpath/powerpc-ibm-aix5.1.0.0/native/jni/java-io'
if /bin/sh ../../../libtool --mode=compile
/usr/gnu/bin/gcc -w -O -Wa,-mppc -DHAVE_CONFIG_H -I. -I../../../../classpath/native/jni/java-io
-I../../../include -I. -I../../../../classpath/native/target/Linux
-I../../../../classpath/native/target/generic -I../../../../classpath/native/jni/classpath
-I../../../../classpath/include -I../../../include -ansi -pedantic
-Wall -Wno-long-long -D_BSD_SOURCE -g -O2 -MT javaio.lo -MD -MP -MF ".deps/javaio.Tpo"
-c -o javaio.lo ../../../../classpath/native/jni/java-io/javaio.c; \
then mv -f ".deps/javaio.Tpo"
".deps/javaio.Plo"; else rm -f ".deps/javaio.Tpo";
exit 1; fi
/usr/gnu/bin/gcc -w -O -Wa,-mppc
-DHAVE_CONFIG_H -I. -I../../../../classpath/native/jni/java-io -I../../../include
-I. -I../../../../classpath/native/target/Linux -I../../../../classpath/native/target/generic
-I../../../../classpath/native/jni/classpath -I../../../../classpath/include
-I../../../include -ansi -pedantic -Wall -Wno-long-long -D_BSD_SOURCE -g
-O2 -MT javaio.lo -MD -MP -MF .deps/javaio.Tpo -c ../../../../classpath/native/jni/java-io/javaio.c
-DPIC -o .libs/javaio.o
../../../../classpath/native/jni/java-io/javaio.c:
In function `_javaio_open_read':
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `O_RDONLY' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: (Each undeclared identifier is reported only once
../../../../classpath/native/jni/java-io/javaio.c:71:
error: for each function it appears in.)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `S_IRUSR' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `S_IWUSR' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `S_IRGRP' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `S_IWGRP' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `S_IROTH' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `S_IWOTH' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `F_SETFD' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:71:
error: `FD_CLOEXEC' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:
In function `_javaio_open_readwrite':
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `O_RDWR' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `S_IRUSR' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `S_IWUSR' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `S_IRGRP' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `S_IWGRP' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `S_IROTH' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `S_IWOTH' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `F_SETFD' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:107:
error: `FD_CLOEXEC' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:
In function `_javaio_skip_bytes':
../../../../classpath/native/jni/java-io/javaio.c:164:
error: `off_t' undeclared (first use in this function)
../../../../classpath/native/jni/java-io/javaio.c:
In function `_javaio_get_file_length':
../../../../classpath/native/jni/java-io/javaio.c:195:
error: storage size of `__statBuffer' isn't known
make[3]: *** [javaio.lo] Error 1
make[3]: Leaving directory `/homes/angmar/dgrove/rvmRoot/classpath/powerpc-ibm-aix5.1.0.0/native/jni/java-io'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/homes/angmar/dgrove/rvmRoot/classpath/powerpc-ibm-aix5.1.0.0/native/jni'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/homes/angmar/dgrove/rvmRoot/classpath/powerpc-ibm-aix5.1.0.0/native'
make: *** [all-recursive] Error 1