This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

natVMNetworkInterfaceWin32.cc


Hi, gcj people!

Got problem compiling 4.1 snapshots (--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i686-pc-mingw32):

java/net/natVMNetworkInterface.cc:118: error: 'java::net::VMNetworkInterface' has not been declared
java/net/natVMNetworkInterface.cc: In function 'java::util::Vector* getInterfaces()':
java/net/natVMNetworkInterface.cc:133: error: 'InetAddress' was not declared in this scope
java/net/natVMNetworkInterface.cc:133: error: 'arpInetAddress' was not declared in this scope
make: *** [java/net/natVMNetworkInterface.o] Error 1



Adding


#include <java/net/VMNetworkInterface.h>
to
java/net/natVMNetworkInterfaceWin32.cc

seems to solve that.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]