Re: Build failure on Mac OS X

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Oct 21, 2006 at 09:01:01AM +0200, Christian Thalinger wrote:
> On Sat, 2006-10-21 at 00:45 +0100, Robert Lougher wrote:
> > Hi,
> > 
> > I tried building the lastest distcheck on Mac OS X last night (first
> > time in a while).  The build trivially failed in two files:
> > 
> > native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
> > native/jni/java-nio/gnu_java_nio_VMChannel.c
> > 
> > The type uint32_t is undefined.  This is easily fixed by including <stdint.h>.
> 
> Oops, I have a fix laying around for ages.  Will commit it today.

Commited.

- twisti


2006-10-22  Christian Thalinger  <twisti@xxxxxxxxxxxxxxxxxxxxx>

        * native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
        Added include.
        * native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
        Likewise.


Index: native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,v
retrieving revision 1.11
diff -u -3 -p -r1.11 gnu_java_net_VMPlainSocketImpl.c
--- native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c        9 Oct 2006 11:10:41 -0000       1.11
+++ native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c        22 Oct 2006 16:21:44 -0000
@@ -40,6 +40,8 @@ exception statement from your version. *
 #include <config.h>
 #endif /* HAVE_CONFIG_H */
 
+#include <config-int.h>
+
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/socket.h>
Index: native/jni/java-nio/gnu_java_nio_VMChannel.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/jni/java-nio/gnu_java_nio_VMChannel.c,v
retrieving revision 1.5
diff -u -3 -p -r1.5 gnu_java_nio_VMChannel.c
--- native/jni/java-nio/gnu_java_nio_VMChannel.c        11 Oct 2006 17:04:29 -0000      1.5
+++ native/jni/java-nio/gnu_java_nio_VMChannel.c        22 Oct 2006 16:21:44 -0000
@@ -40,6 +40,8 @@ exception statement from your version. *
 #include <config.h>
 #endif
 
+#include <config-int.h>
+
 #include <sys/types.h>
 #include <sys/ioctl.h>
 #include <sys/mman.h>
 


[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux