[TUTORIAL][KERNEL] Kernel Development Tuts

Wo hapert es den?
 
Hi

also ich bekomme erst diese Meldung, wenn ./build.sh -j1 starte

Code:
Checking build tools versions...
************************************************************
You are attempting to build with the incorrect version
of java.
 
Your version is: Fake java 1.6.0 revisiion.
The correct version is: Java SE 1.6.
 
Please follow the machine setup instructions at
    http://source.android.com/source/download.html
************************************************************
find: "../../external/nist-sip/java": Datei oder Verzeichnis nicht gefunden
da läuft es allerdings weiter und bleibt dann mit dieser Meldung stehen

Code:
frameworks/base/include/utils/KeyedVector.h: In instantiation of 'const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptSymbols>]':
frameworks/base/tools/aapt/AaptAssets.h:446:59:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: 'indexOfKey' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base 'android::KeyedVector<android::String8, android::sp<AaptSymbols> >' are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use 'this->indexOfKey' instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of 'const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptGroup>]':
frameworks/base/tools/aapt/AaptAssets.cpp:1636:41:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: 'indexOfKey' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base 'android::KeyedVector<android::String8, android::sp<AaptGroup> >' are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use 'this->indexOfKey' instead
frameworks/base/include/utils/KeyedVector.h: In instantiation of 'const VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&) const [with KEY = android::String8; VALUE = android::sp<AaptDir>]':
frameworks/base/tools/aapt/AaptAssets.cpp:1700:53:   required from here
frameworks/base/include/utils/KeyedVector.h:193:31: error: 'indexOfKey' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
frameworks/base/include/utils/KeyedVector.h:193:31: note: declarations in dependent base 'android::KeyedVector<android::String8, android::sp<AaptDir> >' are not found by unqualified lookup
frameworks/base/include/utils/KeyedVector.h:193:31: note: use 'this->indexOfKey' instead
make: *** [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] Fehler 1

real    0m10.150s
user    0m5.228s
sys     0m2.356s

> Build failed! <
Bei ./build.sh kommt dieses

Code:
Done
Profile Ready: please run [b2g|firefox] -profile /home/rene/Daten/Auslagerung/Android/Samsung/Firmware/boot2gecko/Versuch1/B2G/gaia/profile
make[1]: Leaving directory `/home/rene/Daten/Auslagerung/Android/Samsung/Firmware/boot2gecko/Versuch1/B2G/gaia'
cd /home/rene/Daten/Auslagerung/Android/Samsung/Firmware/boot2gecko/Versuch1/B2G/gaia/profile && tar cfz /home/rene/Daten/Auslagerung/Android/Samsung/Firmware/boot2gecko/Versuch1/B2G/gaia/profile.tar.gz webapps user.js permissions.sqlite

real    0m12.929s
user    0m13.385s
sys     0m2.924s

> Build failed! <
Dachte es liegt an der Java-Version und habe OpenJDK1.6 deinstalliert und Sun-Java-JDK1.6 installiert, mit dem gleichen Ergebnis. Ich kann dummerweise nicht viel mit den Fehlermeldungen anfangen, was mich schon des öfteren angenervt hat bei anderen händischen Installationen.

MfG
 
Zuletzt bearbeitet:
Debian Stable oder Debian Testing/Sid am laufen?
 
Hi

Sorry, als Grundsystem Unstable/Sid, die Java-Version von Stable, da Sun-Java bei Wheezy rausflog.

MfG
 
Hi

auch wenn ich es ungern mache, Ubuntu mit Debian zu mischen, hab ich es mal versucht, aber genau die gleichen Meldungen.

java-version gibt das aus

Code:
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)

also die aktuelle.

MfG
 
und wenn du
sudo update-alternatives --config javac

machst und auf oracle linkst?
 
Hi

da kommt das raus
Code:
Es gibt nur eine Alternative in Link-Gruppe javac (die /usr/bin/javac bereitstellt): /usr/lib/jvm/java-7-oracle/bin/javac
Nichts zu konfigurieren.

MfG
 
Hm sehr komisch :/
Ansonsten schmeiß das mal wieder runter..openjdk könnte noch eine Möglichkeit sein.
 
Hi

gesagt, getan und alles, wirklich alles geblieben. Liegt dann wohl nicht an java, würde ich behaupten.

MfG
 

Ähnliche Themen

Androidflash
Antworten
5
Aufrufe
3.104
firemaker911
firemaker911
j1gga84
Antworten
299
Aufrufe
78.018
j1gga84
j1gga84
beicuxhaven
Antworten
6
Aufrufe
3.286
HCD
HCD
Zurück
Oben Unten