Re: JamVM 1.3.3 released

2005-09-16 Thread theUser BL

The problem is you're trying to build on AMD64.


Lets say a "x86-64 platform".
It is an Intel processor, with 64 bit.



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.


On my computer with SusSE 9.3 are not all programs in 32 or 64 bit, but the 
most libraries are in 32 abd 64 bit. (there existing the directories /lib , 
/lib64 , /usr/lib , /usrlib64 and so on).
So, is it possible to create on x86-64 platforms Makefiles, which enables 
the 32bit version?
I think "gcc -m32" creates 32-bit programs. Now only the 32bit libraries 
must been used.



Greatings
theuserbl




___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: JamVM 1.3.3 released

2005-09-15 Thread Tom Tromey
> "Robert" == Robert Lougher <[EMAIL PROTECTED]> writes:

Robert> Ubuntu definately has a libffi-dev package, which I installed (header
Robert> file).  So the lib I guess is part of gcc?

Yeah.  But in gcc it is built for libgcj as a convenience library.
Hmm, I guess it does actually install some files -- I didn't remember
that.  I suppose the RPMs leave these out though.

Tom


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: JamVM 1.3.3 released

2005-09-15 Thread Robert Lougher
Hi Tom,

Ubuntu definately has a libffi-dev package, which I installed (header
file).  So the lib I guess is part of gcc?

Rob.

On 15 Sep 2005 09:52:57 -0600, Tom Tromey <[EMAIL PROTECTED]> wrote:
> > "Robert" == Robert Lougher <[EMAIL PROTECTED]> writes:
> 
> Robert> Anybody know how to get configure to find it?  If not, I'll
> Robert> look at it tonight.
> 
> libffi isn't really separately released or installed.
> Most packages just ship their own copy.  There was talk a while back
> about doing releases again (now that more folks seem to be using it),
> but nobody has done it yet.
> 
> Tom
>


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: JamVM 1.3.3 released

2005-09-15 Thread Tom Tromey
> "Robert" == Robert Lougher <[EMAIL PROTECTED]> writes:

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

libffi isn't really separately released or installed.
Most packages just ship their own copy.  There was talk a while back
about doing releases again (now that more folks seem to be using it),
but nobody has done it yet.

Tom


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


Re: JamVM 1.3.3 released

2005-09-15 Thread Robert Lougher
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 <[EMAIL PROTECTED]> wrote:
> I have tested it - to compile - and become errors.
> 
> At first I tried this:
> 
> [EMAIL PROTECTED]:~/z/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
> [EMAIL PROTECTED]:~/z/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:
> 
> [EMAIL PROTECTED]:~/z/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
> [EMAIL PROTECTED]:~/z/jamvm-1.3.3>
> 
> That works.
> But if I tried to compile it:
> 
> [EMAIL PROTECTED]:~/z/jamvm-1.3.3> make
> Making all in src
> make[1]: Entering directory `/home/patrick/z/jamvm-1.3.3/src'
> Making all in os
> make[2]: Entering directory `/home/patrick/z/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/z/jamvm-1.3.3/src/dll.c:322: undefined reference to
> `callJNIMethod'
> dll.o(.text+0x809): In function `lookupLoadedDlls':
> /home/patrick/z/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/z/jamvm-1.3.3/src'
> make[1]: *** [all-recursive] Fehler 1
> make[1]: Leaving directory `/home/p

Re: JamVM 1.3.3 released

2005-09-15 Thread theUser BL

I have tested it - to compile - and become errors.

At first I tried this:

[EMAIL PROTECTED]:~/z/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
[EMAIL PROTECTED]:~/z/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:


[EMAIL PROTECTED]:~/z/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
[EMAIL PROTECTED]:~/z/jamvm-1.3.3>

That works.
But if I tried to compile it:

[EMAIL PROTECTED]:~/z/jamvm-1.3.3> make
Making all in src
make[1]: Entering directory `/home/patrick/z/jamvm-1.3.3/src'
Making all in os
make[2]: Entering directory `/home/patrick/z/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/z/jamvm-1.3.3/src/dll.c:322: undefined reference to 
`callJNIMethod'

dll.o(.text+0x809): In function `lookupLoadedDlls':
/home/patrick/z/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/z/jamvm-1.3.3/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/patrick/z/jamvm-1.3.3/src'
make: *** [all-recursive] Fehler 1
[EMAIL PROTECTED]:~/z/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
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath


JamVM 1.3.3 released

2005-09-13 Thread Robert Lougher
Hi,

I'm pleased to announce the release of JamVM 1.3.3
(http://jamvm.sourceforge.net).  This release adds ports to AMD64 and
PowerPC64 and a couple of other minor features/bug-fixes.

The full list of changes are here:

http://sourceforge.net/project/shownotes.php?release_id=356099

Thanks,

Rob.


___
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath