|
From: | Robert Schuster |
Subject: | [commit-cp] [bug #12811] build fails on sparc-sun-solaris2.9 - FIONREAD not available |
Date: | Tue, 26 Apr 2005 00:07:10 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.6) Gecko/20050403 |
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12811> Summary: build fails on sparc-sun-solaris2.9 - FIONREAD not available Project: classpath Submitted by: rschuster Submitted on: Tue 04/26/2005 at 00:07 Category: classpath Severity: 3 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Open Platform Version: Solaris 9 _______________________________________________________ Details: Building classpath on sparc-sun-solaris2.9 configured with --disable-gtk-peer fails with this error: gcc -DHAVE_CONFIG_H -I. -I../../../../classpath-0.14+cvs/native/jni/java-net -I../../../include -I../../../../classpath-0.14+cvs/include -I../../../../classpath-0.14+cvs/native/jni/classpath -I../../../../classpath-0.14+cvs/native/target/Linux -I../../../../classpath-0.14+cvs/native/target/generic -pedantic -W -Wall -Wmissing-declarations -Wwrite-strings -Wmissing-prototypes -Wno-long-long -Wstrict-prototypes -g -O2 -MT gnu_java_net_PlainSocketImpl.lo -MD -MP -MF .deps/gnu_java_net_PlainSocketImpl.Tpo -c ../../../../classpath-0.14+cvs/native/jni/java-net/gnu_java_net_PlainSocketImpl.c -fPIC -DPIC -o .libs/gnu_java_net_PlainSocketImpl.o ../../../../classpath-0.14+cvs/native/jni/java-net/gnu_java_net_PlainSocketImpl.c: In function `Java_gnu_java_net_PlainSocketImpl_available': ../../../../classpath-0.14+cvs/native/jni/java-net/gnu_java_net_PlainSocketImpl.c:208: error: `FIONREAD' undeclared (first use in this function) ../../../../classpath-0.14+cvs/native/jni/java-net/gnu_java_net_PlainSocketImpl.c:208: error: (Each undeclared identifier is reported only once ../../../../classpath-0.14+cvs/native/jni/java-net/gnu_java_net_PlainSocketImpl.c:208: error: for each function it appears in.) gmake[3]: *** [gnu_java_net_PlainSocketImpl.lo] Error 1 gmake[3]: Leaving directory `/home/bude2/rschuste/cp-obj/native/jni/java-net' The problem leads to the TARGET_NATIVE_NETWORK_SOCKET_RECEIVE_AVAILABLE macro defined in native/target/generic/target_generic_network.h . It is supposed that a working implementation can be found in libgcj's does in natPlainSocketImpl.cc (or some similar file). _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12811> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |