[Q] build cm - no rule to make target - General Questions and Answers

I build cm11 for aries for my Xiaomi 2S. Using Ubuntu 10.04.
I use 'brunch aries'. Here is the reult:
GEN selinux/Config.in
/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c:481: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result
/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c:847: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
/home/henry/android/system/external/busybox/applets/applet_tables.c:144: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
GEN include/usage_compressed.h
GEN include/applet_tables.h
CC applets/applets.o
HOSTCC applets/usage_pod
LD applets/built-in.o
make[1]: Leaving directory `/home/henry/android/system/external/busybox'
Export includes file: bootable/recovery/applypatch/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/applypatch_intermediates/export_includes
Notice file: bootable/recovery/applypatch/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/applypatch.txt
Notice file: bootable/recovery/applypatch/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/lib/libapplypatch.a.txt
Notice file: external/bzip2/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/lib/libbz.a.txt
Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/arec_intermediates/import_includes
Export includes file: hardware/qcom/audio-caf/legacy/libalsa-intf/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/arec_intermediates/export_includes
Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/atrace_intermediates/import_includes
Export includes file: frameworks/native/cmds/atrace/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/atrace_intermediates/export_includes
Notice file: frameworks/native/cmds/atrace/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/atrace.txt
Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/auditd_intermediates/import_includes
Export includes file: system/core/auditd/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/auditd_intermediates/export_includes
make: *** No rule to make target `/home/henry/android/system/out/target/product/aries/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by `/home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/bdAddrLoader_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/core/auditd/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/auditd.txt
[email protected]:~/android/system$
So, the problem is
Code:
make: *** No rule to make target `/home/henry/android/system/out/target/product/aries/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by `/home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/bdAddrLoader_intermediates/import_includes'. Stop.
But I googled for it and couldn't find a solution. Is something called 'libqminvapi.so' that I have to edit?
Please help! Thanks in advance!
##EDIT##
This warning too:
************************************************************
You are attempting to build with an unsupported JDK.
You use OpenJDK but only Sun/Oracle JDK is supported.
Please follow the machine setup instructions at
https://source.android.com/source/download.html
Continue at your own peril!
************************************************************
************************************************************
You are attempting to build with an unsupported version
of java.
Your version is: java version "1.6.0_33".
The correct version is: Java SE 1.6 or 1.7.
Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************

henry0504 said:
I build cm11 for aries for my Xiaomi 2S. Using Ubuntu 10.04.
I use 'brunch aries'. Here is the reult:
GEN selinux/Config.in
/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘exec_conf’:
/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c:481: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result
/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c: In function ‘show_textbox’:
/home/henry/android/system/external/busybox/scripts/kconfig/mconf.c:847: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
/home/henry/android/system/external/busybox/applets/applet_tables.c:144: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
GEN include/usage_compressed.h
GEN include/applet_tables.h
CC applets/applets.o
HOSTCC applets/usage_pod
LD applets/built-in.o
make[1]: Leaving directory `/home/henry/android/system/external/busybox'
Export includes file: bootable/recovery/applypatch/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/applypatch_intermediates/export_includes
Notice file: bootable/recovery/applypatch/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/applypatch.txt
Notice file: bootable/recovery/applypatch/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/lib/libapplypatch.a.txt
Notice file: external/bzip2/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/lib/libbz.a.txt
Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/arec_intermediates/import_includes
Export includes file: hardware/qcom/audio-caf/legacy/libalsa-intf/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/arec_intermediates/export_includes
Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/atrace_intermediates/import_includes
Export includes file: frameworks/native/cmds/atrace/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/atrace_intermediates/export_includes
Notice file: frameworks/native/cmds/atrace/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/atrace.txt
Import includes file: /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/auditd_intermediates/import_includes
Export includes file: system/core/auditd/Android.mk -- /home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/auditd_intermediates/export_includes
make: *** No rule to make target `/home/henry/android/system/out/target/product/aries/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by `/home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/bdAddrLoader_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Notice file: system/core/auditd/NOTICE -- /home/henry/android/system/out/target/product/aries/obj/NOTICE_FILES/src//system/bin/auditd.txt
[email protected]:~/android/system$
So, the problem is
Code:
make: *** No rule to make target `/home/henry/android/system/out/target/product/aries/obj/SHARED_LIBRARIES/libqminvapi_intermediates/export_includes', needed by `/home/henry/android/system/out/target/product/aries/obj/EXECUTABLES/bdAddrLoader_intermediates/import_includes'. Stop.
But I googled for it and couldn't find a solution. Is something called 'libqminvapi.so' that I have to edit?
Please help! Thanks in advance!
##EDIT##
This warning too:
************************************************************
You are attempting to build with an unsupported JDK.
You use OpenJDK but only Sun/Oracle JDK is supported.
Please follow the machine setup instructions at
https://source.android.com/source/download.html
Continue at your own peril!
************************************************************
************************************************************
You are attempting to build with an unsupported version
of java.
Your version is: java version "1.6.0_33".
The correct version is: Java SE 1.6 or 1.7.
Please follow the machine setup instructions at
https://source.android.com/source/download.html
************************************************************
Click to expand...
Click to collapse
https://github.com/fallowu/slim_hardware_libhardware_legacy/blob/master/wifi/Android.mk

Related

[Q] Building cm7 - no rule to make target liba2dp.so

i was compiling for lg optimus one. why is this happening? is it a cause of a bad download of liba2dp.so?
Code:
host Java: signapk (out/host/common/obj/JAVA_LIBRARIES/signapk_intermediates/classes)
SignApk.java:19: warning: sun.misc.BASE64Encoder is internal proprietary API and may be removed in a future release
import sun.misc.BASE64Encoder;
^
SignApk.java:20: warning: sun.security.pkcs.ContentInfo is internal proprietary API and may be removed in a future release
import sun.security.pkcs.ContentInfo;
^
SignApk.java:21: warning: sun.security.pkcs.PKCS7 is internal proprietary API and may be removed in a future release
import sun.security.pkcs.PKCS7;
.
.
.
.
<some more SignApk.java errors :confused:>
.
.
.
.
make: *** No rule to make target `vendor/lge/thunderg/proprietary/lib/liba2dp.so', needed by `out/target/product/thunderg/system/lib/liba2dp.so'. Stop.
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

[Q] can we install openjdk as building envirement

Ubuntu does not support sun-java6-jdk installation forever. So I only can install openjdk in my Ubuntu. Then I build Android with command "make -j4", but it failed. the Error information as below:
find: "drm/java": not found
find: "drm/java": not found
/bin/bash: prebuilt/linux-x86/sdl/bin/sdl-config: not found
/bin/bash: prebuilt/linux-x86/sdl/bin/sdl-config: not found
........
........
........
external/qemu/elff/elf_alloc.h: In static member function ‘static void* DwarfAllocBase:perator new(size_t)’:
external/qemu/elff/elf_alloc.h:156: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
host C++: emulator-elff <= external/qemu/elff/elf_file.cc
In file included from external/qemu/elff/dwarf_die.h:21,
from external/qemu/elff/elf_file.h:20,
from external/qemu/elff/elf_file.cc:18:
external/qemu/elff/elf_alloc.h: In static member function ‘static void* DwarfAllocBase:perator new(size_t)’:
external/qemu/elff/elf_alloc.h:156: warning: ‘operator new’ must not return NULL unless it is declared ‘throw()’ (or -fcheck-new is in effect)
host C++: emulator-elff <= external/qemu/elff/elf_mapped_section.cc
make: *** no rules to creat “out/host/linux-x86/obj/EXECUTABLES/emulator_intermediates/emulator”

Compiling Kernel

I keep getting kernel compilation error when trying to compile CM kernel from sources.
Code:
/tmp/cc0DKVco.s: Assembler messages:
/tmp/cc0DKVco.s:172: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
/tmp/cc0DKVco.s:199: Warning: swp{b} use is deprecated for ARMv6 and ARMv7
CC arch/arm/mach-msm/smd_private.o
CC arch/arm/mach-msm/smem.o
CC arch/arm/kernel/pmu.o
CC kernel/resource.o
CC arch/arm/kernel/perf_event.o
CC arch/arm/mach-msm/smd_init_dt.o
CC kernel/sysctl.o
arch/arm/mach-msm/smd_init_dt.c:24:25: fatal error: smd_private.h: No such file or directory
#include <smd_private.h>
^
compilation terminated.
make[1]: *** [arch/arm/mach-msm/smd_init_dt.o] Error 1
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
No mods or tweaks has been added, just compiling with A7 optimized (linaro) toolchain on Ubuntu 13.10. I'm pretty sure I have installed all the necessary files and set-up the build environment. I'm new to this so could a dev help me?
bu,p
Same for me, where is the problem? can anyone help?
here is my output:
Code:
arch/arm/mach-msm/smd_init_dt.c:24:25: error: smd_private.h: No such file or directory
arch/arm/mach-msm/smd_init_dt.c: In function 'msm_smsm_probe':
arch/arm/mach-msm/smd_init_dt.c:66: error: 'disable_smsm_reset_handshake' undeclared (first use in this function)
arch/arm/mach-msm/smd_init_dt.c:66: error: (Each undeclared identifier is reported only once
arch/arm/mach-msm/smd_init_dt.c:66: error: for each function it appears in.)
arch/arm/mach-msm/smd_init_dt.c:88: error: 'msm_smd_debug_mask' undeclared (first use in this function)
arch/arm/mach-msm/smd_init_dt.c:88: error: 'MSM_SMSM_DEBUG' undeclared (first use in this function)
arch/arm/mach-msm/smd_init_dt.c:88: error: 'smd_log_ctx' undeclared (first use in this function)
arch/arm/mach-msm/smd_init_dt.c:114: error: implicit declaration of function 'smd_get_intr_config'
arch/arm/mach-msm/smd_init_dt.c:114: warning: assignment makes pointer from integer without a cast
error, forbidden warning: smd_init_dt.c:114
make[1]: *** [arch/arm/mach-msm/smd_init_dt.o] Errore 1
make: *** [arch/arm/mach-msm] Errore 2
make: *** Attesa per i processi non terminati....
CC arch/arm/kernel/pmu.o
LD arch/arm/perfmon/built-in.o
CC arch/arm/kernel/perf_event.o
arch/arm/kernel/bootinfo.c: In function 'bootinfo_bck_buf_check':
arch/arm/kernel/bootinfo.c:277: warning: integer constant is too large for 'long' type
error, forbidden warning: bootinfo.c:277
EDIT: I solved the smd_privae.h not found simply by copying it from mach-msm into mach-msm/include/mach and replacing
Code:
#include <smd_private.h>
with
Code:
#include <mach/smd_private.h>
But i still have this problem: in bootinfo.c the value BOOTINFO_BCK_MAGIC (defined as #define BOOTINFO_BCK_MAGIC 0x626f6f74696e666f) is an integer costant which is too large for 'long' type (at line 277 in the expression if (bck->magic != BOOTINFO_BCK_MAGIC))
Any help?
EDIT2: solved it thanks to google and stackoverflow, just replace 0x626F6F74696E666F with 0x626F6F74696E666FULL (where ULL = Unsigned Long Long, not sure about the meaning, still a complete noob at C++ (not even sure it is C++) :silly:

[Q] Cannot find -lpthread

Hi all,
I am trying to build AOSP kitkat for Canvas Magnus. While building i get this error and compiling stops. "Cannot find -lpthred" in <path-to-toolchain>/bin/ld. I have tried using android toolchain 4.8, 4.7 came along with source. I tried it with Linaro 4.7, still the same.
I tried searching on XDA & google but not much help found.
Under frameworks/compile/libcc/Android.mk i found this:
ifndef USE_MINGW
LOCAL_LDLIBS := -ldl -lpthread
endif
Seems on non windows os (nix) its asking to use local LD Libs, I am using Mint 17, gcc version 4.8.2.
I need any help understanding why its failing. I don't need a fix, but if you can guide me in a direction i will be greatful.
Regards
AJ
Here's the few lines with the error: its happing while linking gsm0710 modem
Install: out/target/product/a117/system/lib/libext2fs.so
target Executable: bugreport (out/target/product/a117/obj/EXECUTABLES/bugreport_intermediates/LINKED/bugreport)
target Executable: toolbox (out/target/product/a117/obj/EXECUTABLES/toolbox_intermediates/LINKED/toolbox)
target Executable: clatd (out/target/product/a117/obj/EXECUTABLES/clatd_intermediates/LINKED/clatd)
target SharedLib: libbacktrace_libc++ (out/target/product/a117/obj/SHARED_LIBRARIES/libbacktrace_libc++_intermediates/LINKED/libbacktrace_libc++.so)
target Executable: dnsmasq (out/target/product/a117/obj/EXECUTABLES/dnsmasq_intermediates/LINKED/dnsmasq)
target Executable: dumpstate (out/target/product/a117/obj/EXECUTABLES/dumpstate_intermediates/LINKED/dumpstate)
target Executable: gsm0710muxd (out/target/product/a117/obj/EXECUTABLES/gsm0710muxd_intermediates/LINKED/gsm0710muxd)
target Executable: installd (out/target/product/a117/obj/EXECUTABLES/installd_intermediates/LINKED/installd)
/home/xelion/droid-dev/asop/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lpthread
collect2: error: ld returned 1 exit status
make: *** [out/target/product/a117/obj/EXECUTABLES/gsm0710muxd_intermediates/LINKED/gsm0710muxd] Error 1
make: *** Waiting for unfinished jobs....
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

[Q] How to Use a Different Kernel When Building CM12?

I have been learning how to compile CM12 on my own and it has been going really good so far. I've done two nightly builds for myself but now I am curious how I would go about compiling a custom kernel with it. Say I wanted to substitute in Franco's kernel or Faux. . .what do I need to do in order to sync the required code to my build?
Off the top of my head, I would think that the line in the local_manifest needs to be changed, but I honestly have no idea if it is that easy.
Here you go.
http://wiki.cyanogenmod.org/w/Doc:_integrated_kernel_building
So, I have added Franco's details into the local_manifest.xml file and done the repo sync command to pull down all of the source code. Franco's kernel source seemed to pull down successfully and I thought everything was good
However, when I try the "time brunch hammerhead" command, I get some errors. . .
Code:
PRODUCT_COPY_FILES device/lge/hammerhead/apns-full-conf.xml:system/etc/apns-conf.xml ignored.
PRODUCT_COPY_FILES device/lge/hammerhead/spn-conf.xml:system/etc/spn-conf.xml ignored.
build/core/Makefile:46: warning: overriding commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/etc/permissions/android.software.live_wallpaper.xml'
build/core/Makefile:46: warning: overriding commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/lib/libgps.utils.so'
build/core/Makefile:46: warning: overriding commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/lib/libloc_core.so'
build/core/base_rules.mk:550: warning: ignoring old commands for target `/home/doug/cm12-n5/out/target/product/hammerhead/system/lib/libloc_core.so'
No private recovery resources for TARGET_DEVICE hammerhead
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: acp <= build/tools/acp/acp.c
host StaticLib: libmincrypt_32 (/home/doug/cm12-n5/out/host/linux-x86/obj32/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
make -C kernel/lge/hammerhead O=/home/doug/cm12-n5/out/target/product/hammerhead/obj/KERNEL_OBJ ARCH=arm CROSS_COMPILE=" arm-eabi-" VARIANT_DEFCONFIG= SELINUX_DEFCONFIG= cyanogenmod_hammerhead_defconfig
make[1]: Entering directory `/home/doug/cm12-n5/kernel/lge/hammerhead'
host StaticLib: libhost_32 (/home/doug/cm12-n5/out/host/linux-x86/obj32/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
host Executable: mkbootfs (/home/doug/cm12-n5/out/host/linux-x86/obj32/EXECUTABLES/mkbootfs_intermediates/mkbootfs)
host C: checkpolicy <= external/checkpolicy/queue.c
host C: checkpolicy <= external/checkpolicy/module_compiler.c
host C: checkpolicy <= external/checkpolicy/parse_util.c
external/checkpolicy/module_compiler.c: In function 'add_perm_to_class':
external/checkpolicy/module_compiler.c:710:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/module_compiler.c: In function 'is_scope_in_stack':
external/checkpolicy/module_compiler.c:1233:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/module_compiler.c: In function 'end_optional':
external/checkpolicy/module_compiler.c:1448:22: warning: unused parameter 'pass' [-Wunused-parameter]
external/checkpolicy/module_compiler.c: In function 'copy_requirements':
external/checkpolicy/module_compiler.c:1511:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/module_compiler.c:1517:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
host C: checkpolicy <= external/checkpolicy/policy_define.c
GEN /home/doug/cm12-n5/out/target/product/hammerhead/obj/KERNEL_OBJ/Makefile
host C: checkpolicy <= external/checkpolicy/checkpolicy.c
host C++: checkpolicy <= /home/doug/cm12-n5/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_parse.cpp
cc1: warning: command line option '-Wsign-promo' is valid for C++/ObjC++ but not for C [enabled by default]
host C++: checkpolicy <= /home/doug/cm12-n5/out/host/linux-x86/obj32/EXECUTABLES/checkpolicy_intermediates/policy_scan.cpp
cc1: warning: command line option '-Wsign-promo' is valid for C++/ObjC++ but not for C [enabled by default]
host StaticLib: libsepol_32 (/home/doug/cm12-n5/out/host/linux-x86/obj32/STATIC_LIBRARIES/libsepol_intermediates/libsepol.a)
host C: checkfc <= external/sepolicy/tools/checkfc.c
external/checkpolicy/policy_define.c: In function 'define_dominance':
external/checkpolicy/policy_define.c:867:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/policy_define.c: In function 'clone_level':
external/checkpolicy/policy_define.c:997:38: warning: unused parameter 'key' [-Wunused-parameter]
external/checkpolicy/policy_define.c: In function 'define_compute_type_helper':
external/checkpolicy/policy_define.c:1569:2: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/policy_define.c: In function 'dominate_role_recheck':
external/checkpolicy/policy_define.c:2146:3: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/policy_define.c:2152:3: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/policy_define.c:2125:48: warning: unused parameter 'key' [-Wunused-parameter]
external/checkpolicy/policy_define.c: In function 'parse_semantic_categories':
external/checkpolicy/policy_define.c:3445:64: warning: unused parameter 'levdatum' [-Wunused-parameter]
host C: libselinux_32 <= external/libselinux/src/callbacks.c
external/checkpolicy/checkpolicy.c: In function 'display_bools':
external/checkpolicy/checkpolicy.c:296:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
external/checkpolicy/checkpolicy.c: In function 'check_level':
external/checkpolicy/checkpolicy.c:364:72: warning: unused parameter 'arg' [-Wunused-parameter]
external/checkpolicy/checkpolicy.c: In function 'main':
external/checkpolicy/checkpolicy.c:472:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
host C: libselinux_32 <= external/libselinux/src/check_context.c
host C: libselinux_32 <= external/libselinux/src/freecon.c
***
*** Can't find default configuration "arch/arm/configs/cyanogenmod_hammerhead_defconfig"!
***
make[3]: *** [cyanogenmod_hammerhead_defconfig] Error 1
make[2]: *** [cyanogenmod_hammerhead_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/doug/cm12-n5/kernel/lge/hammerhead'
host C: libselinux_32 <= external/libselinux/src/init.c
make: *** [/home/doug/cm12-n5/out/target/product/hammerhead/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
real 0m55.220s
user 0m46.604s
sys 0m11.489s
It seems to be hanging up on this error "Can't find default configuration "arch/arm/configs/cyanogenmod_hammerhead_defconfig"!" and I'm not sure how to proceed
I found this and he said that person needed to "Go to the device tree BoardConfig.mk and change cyanogenmod_d802_defconfig to d802_defconfig"
So I went into the BoardConfig.mk file and rmeoved the cyanogenmod bit from that line.
repo sync'd and set everything back up and it seems to be going through the full build right now *crossing my fingers*
Blah
So not I'm getting this error about 20 minutes into the build
Code:
target thumb C++: libqdutils <= hardware/qcom/display/msm8974/libqdutils/profiler.cpp
hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp: In member function 'virtual int gralloc::IonAlloc::alloc_buffer(gralloc::alloc_data&)':
hardware/qcom/display/msm8974/libgralloc/ionalloc.cpp:76:18: error: 'struct ion_allocation_data' has no member named 'heap_id_mask'
ionAllocData.heap_id_mask = data.flags & ~ION_SECURE;
^
make: *** [/home/doug/cm12-n5/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libmemalloc_intermediates/ionalloc.o] Error 1
make: *** Waiting for unfinished jobs....
Does anyone have any idea what this pertains to?

Categories

Resources