file errors under win32-cygnus
Godmar Back
gback at cs.utah.edu
Sun Feb 28 09:37:41 PST 1999
Hi Tim,
>
> 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'.
The directory is not named cygnus32, but cygwin32, which works for me the
last time I tried it. The old directory was called win32/cygnus.
Anyway, what exactly happens if you try to configure?
>
> I've configured kaffe with the following:
> '--prefix=d:/Project/kaffe-build --with-engine=interpreter --with-gcblock=hash
> --with-staticlib --with-staticvm'
>
I don't know which version you're using, but the most recent versions do not
require --with-gcblock=hash.
Secondly, configure doesn't usually like the colon. You should
use \\d\Project\kaffe-build instead.
> 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!
Under normal circumstances, this would happen if you don't include the
current directory in your CLASSPATH. The current directory is included
automatically, unless you set your CLASSPATH explicitly, which you shouldn't
in this case.
>
> 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
>
No idea.
- Godmar
More information about the kaffe
mailing list