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

Missing Import in TestFlow.java and Other Problems



	Hello.  I'm having some problems with ants-2.0, which in turn
may trace to JNodeOS.  So, I took a copy of of JNodeOS from the CVS
tree yesterday (and checked again today for changes) and attempted to
compile it on an x86 system running Red Hat Linux 7.1 and Sun Java
jdk1.3.0_02.  I used the following commands:

#!/bin/csh
echo '****** Configuiring ******'
./configure  --javac=/usr/local/jdk1.3.0_02/bin/javac
set buildtype=exposed

echo '****** Building ******'
setenv PREPROCESSOR "gcc -E -x c -P -Wcomment -nostdinc -undef -C"
./build -$buildtype clean
./build -$buildtype

echo '****** Checking ******'
./check -$buildtype

	I got lots of error messages of the sort:

/nfs/jade/rogers/activate/src/jnodeos/jnodeos-20010711.0127/src/services/icmp/UnknownPacketHandler.Java:22:9: warning: pasting "JANOS_ROOT_PKG" and "." does not give a valid preprocessing token

At first I thought this was a problem, but it doesn't seem to be.  Nonetheless,
should I use a different C compiler?  I'm using gcc 2.96.

	The class "src/tests/TestFlow.java" refused to compile until I
applied the followwing edit to it:

112% diff --unified TestFlow.Java.orig TestFlow.Java
--- TestFlow.Java.orig  Wed Jul 11 01:20:58 2001
+++ TestFlow.Java       Thu Jul 12 17:46:25 2001
@@ -25,6 +25,7 @@
 import JANOS_NODEOS_PKG.*;
 import JANOS_UTIL_PKG.FlowBase;
 
+import JVM_COMMSPACE_PKG.CommSpaceElement;
 import JVM_COMMSPACE_PKG.CommSpaceHandle;
 
 /**
113% 


	At this point I have failures in two check tests.  I haven't tried to
figure ou what's going on yet.  Can I ignore them?  Any suggestions?

TEST: HelloWorld-vanilla-exposed.
TEST: HelloWorld-jnodeos-exposed.
TEST: LogCheck.
TEST: DoWhileCompilerBug-exposed.
TEST: OverloadingCompilerBug-exposed.
TEST: FlowTest-exposed.
   Failed '/nfs/jade/rogers/activate/src/jnodeos/jnodeos-20010711.0127/jnodeos edu.utah.janos.nodeos.Main edu.utah.janos.tests.FlowTest'

TEST: TPTest-exposed.
TEST: UdpTest-exposed.
TEST: StdinTest-exposed.
   Failed '/nfs/jade/rogers/activate/src/jnodeos/jnodeos-20010711.0127/jnodeos edu.utah.janos.nodeos.Main edu.utah.janos.tests.StdinTest < /nfs/jade/rogers/activate/src/jnodeos/jnodeos-20010711.0127/testsuite/tests/StdinTestInput'

TEST: NodeOSTest-AddressFactory-exposed.
TEST: NodeOSTest-Address-exposed.
TEST: NodeOSTest-BufferHandle-exposed.
TEST: NodeOSTest-ClassInstantiationKey-exposed.
TEST: NodeOSTest-Credentials-exposed.
TEST: NodeOSTest-DemultiplexKey-exposed.
TEST: NodeOSTest-FlowClassLoader-exposed.
TEST: NodeOSTest-InChannel-exposed.
TEST: NodeOSTest-OutChannel-exposed.
TEST: NodeOSTest-Semaphore-exposed.



					Craig Milo Rogers




[ Janos ] [ OSKit ] [ Network Testbed ] [ Flick ] [ Fluke ]
Flux Research Group / Department of Computer Science / University of Utah