[Galaxy Ace II Android Development] sgace2:
compile cm11

Hello (Rox),

I try to compile cm11 according this, but it fails:

target thumb C: recovery <= bootable/recovery/../../system/core/toolbox/dynarray.c
target thumb C: recovery <= bootable/recovery/../../system/core/toolbox/newfs_msdos.c
bootable/recovery/../../system/core/toolbox/newfs_msdos.c:238:0: warning: "powerof2" redefined [enabled by default]
In file included from bootable/recovery/../../system/core/toolbox/newfs_msdos.c:33:0:
bionic/libc/include/sys/param.h:40:0: note: this is the location of the previous definition
bootable/recovery/../../system/core/toolbox/newfs_msdos.c: In function 'newfs_msdos_main':
bootable/recovery/../../system/core/toolbox/newfs_msdos.c:370:6: warning: null argument where non-null required (argument 2) [-Wnonnull]
bootable/recovery/../../system/core/toolbox/newfs_msdos.c:503:3: warning: null argument where non-null required (argument 2) [-Wnonnull]
bootable/recovery/../../system/core/toolbox/newfs_msdos.c:621:6: warning: null argument where non-null required (argument 2) [-Wnonnull]
target thumb C: recovery <= bootable/recovery/firmware.c
target thumb C: recovery <= bootable/recovery/edifyscripting.c
bootable/recovery/edifyscripting.c: In function 'FormatFn':
bootable/recovery/edifyscripting.c:151:9: warning: too many arguments for format [-Wformat-extra-args]
bootable/recovery/edifyscripting.c: In function 'run_script_from_buffer':
bootable/recovery/edifyscripting.c:286:5: warning: implicit declaration of function 'yy_scan_bytes' [-Wimplicit-function-declaration]
bootable/recovery/edifyscripting.c:287:5: warning: implicit declaration of function 'yyparse' [-Wimplicit-function-declaration]
bootable/recovery/edifyscripting.c: In function 'run_and_remove_extendedcommand':
bootable/recovery/edifyscripting.c:318:5: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
bootable/recovery/edifyscripting.c:318:5: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat]
bootable/recovery/edifyscripting.c:353:5: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Wformat]
bootable/recovery/edifyscripting.c:361:5: warning: implicit declaration of function 'run_script' [-Wimplicit-function-declaration]
target thumb C: recovery <= bootable/recovery/prop.c
target thumb C: recovery <= bootable/recovery/default_recovery_ui.c
target thumb C: recovery <= bootable/recovery/adb_install.c
target thumb C: recovery <= bootable/recovery/verifier.c
#
# configuration written to .config
#
make[1]: Verlasse Verzeichnis '/home/user/cyanogenmod/system/kernel/samsung/u8500'
target thumb C: recovery <= bootable/recovery/../../system/vold/vdc.c
target thumb C: recovery <= bootable/recovery/../../device/samsung/u8500-common/recovery/recovery_keys.c
make: Zirkuläre Datei /home/user/cyanogenmod/system/out/target/product/codina/recovery/root.ts <- /home/user/cyanogenmod/system/out/target/product/codina/kernel Abhängigkeit wird nicht verwendet.
target Java: Apollo (/home/user/cyanogenmod/system/out/target/common/obj/APPS/Apollo_intermediates/classes)
bootable/recovery/../../device/samsung/u8500-common/recovery/recovery_keys.c: In function 'device_toggle_display':
bootable/recovery/../../device/samsung/u8500-common/recovery/recovery_keys.c:17:5: warning: implicit declaration of function 'get_allow_toggle_display' [-Wimplicit-function-declaration]
Copying: /home/user/cyanogenmod/system/out/target/common/obj/APPS/Bluetooth_intermediates/noproguard.classes.jar
Copying: /home/user/cyanogenmod/system/out/target/common/obj/APPS/BluetoothExt_intermediates/noproguard.classes.jar
target Java: Calculator (/home/user/cyanogenmod/system/out/target/common/obj/APPS/Calculator_intermediates/classes)
packages/apps/Apollo/src/com/andrew/apollo/lastfm/DomElement.java:24: cannot access org.w3c.dom.Element
bad class file: org/w3c/dom/Element.class(org/w3c/dom:Element.class)
unable to access file: corrupted zip file
Please remove or make sure it appears in the correct subdirectory of the classpath.
import org.w3c.dom.Element;
^
make: *** [/home/user/cyanogenmod/system/out/target/common/obj/APPS/Apollo_intermediates/classes-full-debug.jar] Fehler 41
make: *** Warte auf noch nicht beendete Prozesse...
packages/apps/Calculator/src/com/android/calculator2/HistoryAdapter.java:68: cannot access org.xmlpull.v1.XmlPullParser
bad class file: org/xmlpull/v1/XmlPullParser.class(org/xmlpull/v1:XmlPullParser.class)
unable to access file: corrupted zip file
Please remove or make sure it appears in the correct subdirectory of the classpath.
view = (HistoryLine) mInflater.inflate(R.layout.history_entry, parent, false);
^
Note: packages/apps/Calculator/src/com/android/calculator2/CalculatorPageAdapter.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
make: *** [/home/user/cyanogenmod/system/out/target/common/obj/APPS/Calculator_intermediates/classes-full-debug.jar] Fehler 41
user@user-System-Product-Name:~/cyanogenmod/system$

Is the readme maybe not up to date? Because when i apply the commits it breaks something in my makefile, without it works better....

kind regards,

sgace2