classpath
[Top][All Lists]
Advanced

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

Re: JamVM 1.3.3 released


From: Robert Lougher
Subject: Re: JamVM 1.3.3 released
Date: Thu, 15 Sep 2005 14:19:39 +0100

Hi,

The problem is you're trying to build on AMD64.  This is the only
platform which needs libffi.  On my AMD64 system I've installed libffi
from the distribution, and configure has no problems in finding this.

>From your message you've compiled libffi yourself.  I guess it's in a
"non-standard" place and so configure can't find it.  I've no idea how
to make configure find it, beyond putting it where configure expects.

Disabling libffi with --disable-ffi won't work because AMD64 requires
it (and it's the only platform which has it enabled by default).  I
will make configure bomb out on AMD64 in this case.

Anybody know how to get configure to find it?  If not, I'll look at it tonight.

Rob.

On 9/15/05, theUser BL <address@hidden> wrote:
> I have tested it - to compile - and become errors.
> 
> At first I tried this:
> 
> address@hidden:~/zzzzz/jamvm-1.3.3> ./configure --prefix=$HOME/jamvm
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets $(MAKE)... yes
> [...]
> checking for inflate in -lz... yes
> checking for ffi_call in -lffi... no
> configure: error: cannot find libffi
> address@hidden:~/zzzzz/jamvm-1.3.3>
> 
> After that Error I tried to set LD_LIBRARY_PATH to the path where my
> compiled libffi is. But it don't helped. There comes the same error, that it
> wasn't found. So I have given in:
> 
> address@hidden:~/zzzzz/jamvm-1.3.3> ./configure --prefix=$HOME/jamvm
> -disable-ffi
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> [...]
> config.status: creating lib/gnu/classpath/Makefile
> config.status: linking ./src/arch/x86_64.h to src/arch.h
> config.status: executing depfiles commands
> address@hidden:~/zzzzz/jamvm-1.3.3>
> 
> That works.
> But if I tried to compile it:
> 
> address@hidden:~/zzzzz/jamvm-1.3.3> make
> Making all in src
> make[1]: Entering directory `/home/patrick/zzzzz/jamvm-1.3.3/src'
> Making all in os
> make[2]: Entering directory `/home/patrick/zzzzz/jamvm-1.3.3/src/os'
> Making all in linux
> [...]
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\"
> -DVERSION=\"1.3.3\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1
> -DHAVE_LIBPTHREAD=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBZ=1
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1
> -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1  -I. -I.
> -DINSTALL_DIR=\"/home/patrick/jamvm\"
> -DCLASSPATH_INSTALL_DIR=\"/usr/local/classpath\"   -g -O2 -c `test -f
> 'direct.c' || echo './'`direct.c
> source='dll_ffi.c' object='dll_ffi.o' libtool=no \
> depfile='.deps/dll_ffi.Po' tmpdepfile='.deps/dll_ffi.TPo' \
> depmode=gcc3 /bin/sh ../depcomp \
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\"
> -DVERSION=\"1.3.3\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1
> -DHAVE_LIBPTHREAD=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBZ=1
> -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
> -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_ENDIAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1
> -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1
> -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1  -I. -I.
> -DINSTALL_DIR=\"/home/patrick/jamvm\"
> -DCLASSPATH_INSTALL_DIR=\"/usr/local/classpath\"   -g -O2 -c `test -f
> 'dll_ffi.c' || echo './'`dll_ffi.c
> gcc  -g -O2   -o jamvm  alloc.o cast.o class.o dll.o excep.o execute.o
> hash.o interp.o jam.o jni.o lock.o natives.o reflect.o resolve.o string.o
> thread.o utf8.o zip.o properties.o direct.o dll_ffi.o
> os/linux/x86_64/libnative.a os/linux/libos.a -lz -ldl -lm -lpthread
> dll.o(.text+0x8e): In function `callJNIWrapper':
> /home/patrick/zzzzz/jamvm-1.3.3/src/dll.c:322: undefined reference to
> `callJNIMethod'
> dll.o(.text+0x809): In function `lookupLoadedDlls':
> /home/patrick/zzzzz/jamvm-1.3.3/src/dll.c:350: undefined reference to
> `nativeExtraArg'
> collect2: ld returned 1 exit status
> make[2]: *** [jamvm] Fehler 1
> make[2]: Leaving directory `/home/patrick/zzzzz/jamvm-1.3.3/src'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/patrick/zzzzz/jamvm-1.3.3/src'
> make: *** [all-recursive] Fehler 1
> address@hidden:~/zzzzz/jamvm-1.3.3>
> 
> 
> I have also used later an other compiler and have written "make clean",
> "make".
> But the error is everytime the same.
> 
> The reason, why I have written it here in Classpath and not only to Robert,
> I will write in a later posting called "GNU Classpath and JVMs".
> 
> 
> Greatings
> theuserbl
> 
> 
> 
> 
> _______________________________________________
> Classpath mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]