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




Reply via email to