harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From George Harley1 <GHAR...@uk.ibm.com>
Subject Re: Code contribution to harmony
Date Wed, 09 Nov 2005 23:54:05 GMT
Hi Jean-Frederic, 

It sounds like you do not have a compatible VM to run with (i.e. a VM that 
implements the proposed interface to the class libraries). As mentioned by 
Tim the other day you can obtain one from the IBM developerWorks site at 
http://www.ibm.com/developerworks/java/jdk/harmony

If you unzip the archive from the above link into the same directory that 
you unzipped the code contribution to then the current problem should be 
sorted. Note that the VM is not part of the code contribution and is only 
available in binary form under an evaluation license. 

Hope this helps, 
George





Jean-frederic Clere <jfclere@telefonica.net> 
09/11/2005 22:56
Please respond to
harmony-dev@incubator.apache.org


To
harmony-dev@incubator.apache.org
cc

Subject
Re: Code contribution to harmony






Tim Ellison wrote:

>Jean-frederic Clere wrote:
> 
>
>>Note when doing ant I get the following:
>>+++
>>cc -fpic  -DLINUX -D_REENTRANT -O1 -march=pentium3
>>-DIPv6_FUNCTION_SUPPORT  -DHYX86 -DHYPORT_LIBRARY_DEFINE
>>-I../include     -c -o hyvmem.o hyvmem.c
>>hyvmem.c: In function `hyvmem_reserve_memory':
>>hyvmem.c:311: `SHM_HUGETLB' undeclared (first use in this function)
>>hyvmem.c:311: (Each undeclared identifier is reported only once
>>hyvmem.c:311: for each function it appears in.)
>>make[1]: Leaving directory
>>`/home/jfclere/harmony/Harmony/native-src/linux.IA32/port'
>>make[1]: *** [hyvmem.o] Error 1
>>make: *** [_port] Error 2
>>+++
>>
>>So the requirements on Linux are a 2.6.x kernel, aren't they?
>> 
>>
>
>No, should work ok on 2.4 (e.g. RHEL3) What are you compiling on?
> 
>
Suse 8.1:
+++
jfclere@jfcexpert:~/harmony/Harmony> more /etc/SuSE-release
SuSE Linux 8.1 (i386)
VERSION = 8.1
+++
I have added:
#define SHM_HUGETLB     04000   /* segment will use huge TLB pages */
in native-src/linux.IA32/port/hyvmem.c to work-round the problem.

The next problem is:
+++
jfclere@jfcexpert:~/harmony/Harmony> ./deploy/jre/bin/java --help
Failed to open JVM DLL: 
/home/jfclere/harmony/Harmony/deploy/jre/bin/default/clearvm 
(/home/jfclere/harmony/Harmony/deploy/jre/bin/default/libclearvm.so: 
cannot open shared object file: No such file or directory)
+++

>The platforms we are using include:
> - Red Hat EL3 Update 5
> - Red Hat EL4 Update 1
> - SLES 9 SP1
>(on Pentium III, Pentium 4, and Pentium Xeon processors).
>
>Regards,
>Tim
>
> 
>
>>Cheers
>>
>>Jean-Frederic
>>
>>
>> 
>>
>
> 
>




Mime
View raw message