Re: [SPAM?] Re: gnu classpath with sun java vm
Hello, I indeed remember disbaling libffi (I'll send the config.log if you still would like to see it.). I disbaled it because I wanted to get it working quickly ... I need to compile it myself and I wasn't sure where I could get libffi (from gcc). If possible, could you provide me any info on where to find the correct version of libffi that I need or direct me to it? Thank you and greetings, Michel Hi Michel, It's obvious from the output below that you haven't just done ./configure ! Could you give the options you gave, or better still send me (and not the list) your config.log? From the looks of it, you've disabled use of libffi (on by default on AMD64). This is needed for calling native methods, and without this you will get the missing symbols below. Rob. On 4/26/07, Michel Brabants [EMAIL PROTECTED] wrote: Hello all, it took a while, but here is my compile-error (using gcc 4.1.2): config.status: creating lib/sun/Makefile config.status: creating lib/gnu/classpath/Makefile config.status: creating src/config.h config.status: src/config.h is unchanged config.status: linking ./src/arch/x86_64.h to src/arch.h config.status: executing depfiles commands Making all in src make[1]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' make all-recursive make[2]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' Making all in os make[3]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os' Making all in linux make[4]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux' Making all in x86_64 make[5]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux/x86_64' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux/x86_64' make[5]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux' make[4]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux' make[4]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os' make[3]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os' make[3]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' /bin/sh ../libtool --tag=CC --mode=link gcc -march=x86-64 -Os -pipe -m3dnow -ftree-vectorize -o jamvm jam.o libcore.la -lffi -lz -ldl -lm -lpthread gcc -march=x86-64 -Os -pipe -m3dnow -ftree-vectorize -o jamvm jam.o ./.libs/libcore.a -lffi -lz -ldl -lm -lpthread ./.libs/libcore.a(dll.o): In function `callJNIWrapper': dll.c:(.text+0x6b): undefined reference to `callJNIMethod' ./.libs/libcore.a(dll.o): In function `lookupLoadedDlls': dll.c:(.text+0x840): undefined reference to `nativeExtraArg' collect2: ld returned 1 exit status make[3]: *** [jamvm] Error 1 make[3]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' make: *** [all-recursive] Error 1 == ERROR: Build Failed. Aborting... Thank you and greetings, Michel Op Friday 20 April 2007, schreef [EMAIL PROTECTED]: Hello all, I'll try to show you the compile-error with jamvm. I just wanted to get it working ... and hoped it worked with sun's vm, which I already had installed. I'll also list the resourc-bundle-error. Maybe I4ll try the cacoa-vm. Thank you and greetings, Michel [EMAIL PROTECTED] wrote: Hello, I compiled the latest stable gnu classpath with as vm, the java-vm from Sun, because I'm getting a compile-error trying to compile the latest jamvm. I'm using an x86-64-machine. What compile errors do you get with Jamvm? Thanks Phillip
[SPAM?] Re: gnu classpath with sun java vm
Hello all, it took a while, but here is my compile-error (using gcc 4.1.2): config.status: creating lib/sun/Makefile config.status: creating lib/gnu/classpath/Makefile config.status: creating src/config.h config.status: src/config.h is unchanged config.status: linking ./src/arch/x86_64.h to src/arch.h config.status: executing depfiles commands Making all in src make[1]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' make all-recursive make[2]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' Making all in os make[3]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os' Making all in linux make[4]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux' Making all in x86_64 make[5]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux/x86_64' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux/x86_64' make[5]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux' make[5]: Nothing to be done for `all-am'. make[5]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux' make[4]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os/linux' make[4]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os' make[3]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src/os' make[3]: Entering directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' /bin/sh ../libtool --tag=CC --mode=link gcc -march=x86-64 -Os -pipe -m3dnow -ftree-vectorize -o jamvm jam.o libcore.la -lffi -lz -ldl -lm -lpthread gcc -march=x86-64 -Os -pipe -m3dnow -ftree-vectorize -o jamvm jam.o ./.libs/libcore.a -lffi -lz -ldl -lm -lpthread ./.libs/libcore.a(dll.o): In function `callJNIWrapper': dll.c:(.text+0x6b): undefined reference to `callJNIMethod' ./.libs/libcore.a(dll.o): In function `lookupLoadedDlls': dll.c:(.text+0x840): undefined reference to `nativeExtraArg' collect2: ld returned 1 exit status make[3]: *** [jamvm] Error 1 make[3]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/michel/archlinux-packages/jamvm/src/jamvm-1.4.5/src' make: *** [all-recursive] Error 1 == ERROR: Build Failed. Aborting... Thank you and greetings, Michel Op Friday 20 April 2007, schreef [EMAIL PROTECTED]: Hello all, I'll try to show you the compile-error with jamvm. I just wanted to get it working ... and hoped it worked with sun's vm, which I already had installed. I'll also list the resourc-bundle-error. Maybe I4ll try the cacoa-vm. Thank you and greetings, Michel [EMAIL PROTECTED] wrote: Hello, I compiled the latest stable gnu classpath with as vm, the java-vm from Sun, because I'm getting a compile-error trying to compile the latest jamvm. I'm using an x86-64-machine. What compile errors do you get with Jamvm? Thanks Phillip pgpHb6lGxficJ.pgp Description: PGP signature
Re: gnu classpath with sun java vm
Hello all, I'll try to show you the compile-error with jamvm. I just wanted to get it working ... and hoped it worked with sun's vm, which I already had installed. I'll also list the resourc-bundle-error. Maybe I4ll try the cacoa-vm. Thank you and greetings, Michel [EMAIL PROTECTED] wrote: Hello, I compiled the latest stable gnu classpath with as vm, the java-vm from Sun, because I'm getting a compile-error trying to compile the latest jamvm. I'm using an x86-64-machine. What compile errors do you get with Jamvm? Thanks Phillip
[SPAM?] Re: gnu classpath with sun java vm
Hello, thank you for helping out. Well, from what I saw. There are no resourcebundles present in tools.zip at all. In my case it is trying to find nl_BE, but I suppose it depends on your locale. If you need more info, feel free to ask :). Thank you(!) and greetings, Michel Op Thursday 19 April 2007, schreef Mark Wielaard: Hi Michel, On Thu, 2007-04-19 at 15:23 +0200, [EMAIL PROTECTED] wrote: When trying to start gappletviewer, I get a missing resource-bundle-error. Now, I saw that the resource-bundles are inside glibj.zip. I added this zip-file to the Xbootclasspath-parameter of the gappletviewer, but then I get a stackoverflow-error. Is there any way I can get the applet-support to work with the java-vm from Sun? Which resource bundle is missing? That might be a bug where we accidentally put a resource in glibj.zip that should be in tools.zip. Adding glibj.zip to the bootclasspath is certainly not going to work since it will have classes in it that conflict with the bootclasses from the sun java-vm. Try adding it to the classpath instead. Cheers, Mark pgpzlIP0dNvkz.pgp Description: PGP signature