file errors under win32-cygnus

Tim Daplyn (CSE-3) owlman at dcs.warwick.ac.uk
Sun Feb 28 09:12:23 PST 1999


Hi there.
A couple of problems with the kaffe build under Win32 (cygnus).
The configuration program in the current snapshot doen't recognise i386-cygnus
as a valid system, because the directory under config/i386 is still named
'cygnus32', not 'cygnus'.

I've configured kaffe with the following:
'--prefix=d:/Project/kaffe-build --with-engine=interpreter --with-gcblock=hash
--with-staticlib --with-staticvm'

When I run 'kaffe HelloWorld' under bash, I get:

	java.lang.NoClassDefFoundError: HelloWorld
		at java.lang.Throwable.<init>(Throwable.java:37)
		at java.lang.Error.<init>(Error.java:21)
		at java.lang.LinkageError.<init>(LinkageError.java:21)
		at java.lang.NoClassDefFoundError.<init>(NoClassDefFoundError.java:21)


But it runs fine if I add HelloWorld.class to Klasses.jar!

Running 'kaffe HelloWorld' in a dos shell in NT, I ALSO get:

	WARNING: previous dlopen of  wasn't correctly performed
	WARNING: previous dlopen of  wasn't correctly performed
	WARNING: previous dlopen of /WINNT/libio.dll wasn't correctly performed
	WARNING: previous dlopen of //d/Project/kaffe-build/libexec/libio.dll wasn't correctly performed
	WARNING: previous dlopen of /Program Files/cygnus/cygwin-b20/H-i586-cygwin32/bin/libio.dll wasn't correctly performed


I assume this is connected to the above error loading HelloWorld.

Any ideas anyone?

Cheers,
Tim Daplyn...



More information about the kaffe mailing list