Skip to contentSkip to conversation

classpath-minimum fails

DISCUSSION Pascal Kesseli 1 participant 1 message Jun 19, 2009

lore
Share & tools
lore
#0 lore raw

Hi everyone

Using the following DISTRO:

DISTRO = ewbmeter
DISTRO_NAME = EwbMeter
DISTRO_VERSION = "3.0"
TARGET_OS = linux
INHERIT += " package_ipk"
PREFERRED_VERSION_gcc = "3.3.2" PREFERRED_VERSION_gcc-cross = "3.3.2" PREFERRED_VERSION_glibc = "2.2.5" PREFERRED_PROVIDER_virtual/libc = "glibc" PREFERRED_PROVIDER_classpath = classpath-minimal PREFERRED_VERSION_classpath-minimal = 0.96.1.bb PREFERRED_PROVIDER_virtual/java-initial = jamvm-initial PREFERRED_VERSION_jamvm-initial = 1.5.0 PREFERRED_PROVIDER_classpath-initial = classpath PREFERRED_PROVIDER_virtual/java-native = jamvm-native PREFERRED_VERSION_jamvm-native = 1.5.3 PREFERRED_PROVIDER_virtual/javac-native = openjdk-javac-native

PREFERRED_PROVIDER_gtk+ = gtk+
PREFERRED_PROVIDER_gconf = gconf PREFERRED_PROVIDER_virtual/libintl = glibc PREFERRED_PROVIDER_linux-libc-headers = linux-libc-headers PREFERRED_PROVIDER_virtual/libiconv = glibc PREFERRED_PROVIDER_virtual/libx11 = libx11 PREFERRED_PROVIDER_virtual/arm-linux-binutils = binutils-cross PREFERRED_PROVIDER_virtual/arm-linux-libc-initial = glibc-initial PREFERRED_PROVIDER_virtual/db-native = db-native

the classpath-minimal build fails with a Java compiler error:

| 3205. ERROR in ../java/nio/ShortViewBufferImpl.java (at line 57) 
| this.address = VMDirectByteBuffer.adjustAddress(bb.address, offset); 
|                                  ^^^^^^^^^^^^^ 
| The method adjustAddress(RawData, int) in the type VMDirectByteBuffer is
not applicable for the arguments (Pointer, int) 
| ---------- 
| 3206. ERROR in ../java/nio/ShortViewBufferImpl.java (at line 70) 
| this.address = VMDirectByteBuffer.adjustAddress(bb.address, offset); 
|                                  ^^^^^^^^^^^^^ 
| The method adjustAddress(RawData, int) in the type VMDirectByteBuffer is

not applicable for the arguments (Pointer, int)

What am I missing?

Thanks for any help and best regards
Kessi