[Android Software Development] Mandy $ingh:
target SharedLib: libc++ (/home/mandy/twrp/out/target/product/j7xeltexx/obj/SHARED_LIBRARIES/libc++_intermediates/LINKED/libc++.so)
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c: In function 'arch_get_fast_and_slow_cpus':
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:304:13: error: 'CONFIG_HMP_FAST_CPU_MASK' undeclared (first use in this function)
if (strlen(CONFIG_HMP_FAST_CPU_MASK) && strlen(CONFIG_HMP_SLOW_CPU_MASK)) {
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:304:13: note: each undeclared identifier is reported only once for each function it appears in
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:304:49: error: 'CONFIG_HMP_SLOW_CPU_MASK' undeclared (first use in this function)
if (strlen(CONFIG_HMP_FAST_CPU_MASK) && strlen(CONFIG_HMP_SLOW_CPU_MASK)) {
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:326:3: error: implicit declaration of function 'get_logical_index' [-Werror=implicit-function-declaration]
cpu = get_logical_index(be32_to_cpup(mpidr));
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:333:3: error: implicit declaration of function 'is_little_cpu' [-Werror=implicit-function-declaration]
if (is_little_cpu(cn))
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c: In function 'arch_get_hmp_domains':
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:366:19: error: invalid application of 'sizeof' to incomplete type 'struct hmp_domain'
kmalloc(sizeof(struct hmp_domain), GFP_KERNEL);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:367:23: error: dereferencing pointer to incomplete type
cpumask_copy(&domain->possible_cpus, &hmp_slow_cpu_mask);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:368:22: error: dereferencing pointer to incomplete type
cpumask_and(&domain->cpus, cpu_online_mask, &domain->possible_cpus);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:368:54: error: dereferencing pointer to incomplete type
cpumask_and(&domain->cpus, cpu_online_mask, &domain->possible_cpus);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:369:19: error: dereferencing pointer to incomplete type
list_add(&domain->hmp_domains, hmp_domains_list);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:372:18: error: invalid application of 'sizeof' to incomplete type 'struct hmp_domain'
kmalloc(sizeof(struct hmp_domain), GFP_KERNEL);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:373:22: error: dereferencing pointer to incomplete type
cpumask_copy(&domain->possible_cpus, &hmp_fast_cpu_mask);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:374:21: error: dereferencing pointer to incomplete type
cpumask_and(&domain->cpus, cpu_online_mask, &domain->possible_cpus);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:374:53: error: dereferencing pointer to incomplete type
cpumask_and(&domain->cpus, cpu_online_mask, &domain->possible_cpus);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:375:18: error: dereferencing pointer to incomplete type
list_add(&domain->hmp_domains, hmp_domains_list);
^
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c: At top level:
/home/mandy/twrp/kernel/samsung/j7xeltexx/arch/arm/kernel/topology.c:377:2: error: #endif without #if
#endif /* CONFIG_SCHED_HMP */
^
cc1: all warnings being treated as errors
/home/mandy/twrp/kernel/samsung/j7xeltexx/scripts/Makefile.build:257: recipe for target 'arch/arm/kernel/topology.o' failed
make[3]: *** [arch/arm/kernel/topology.o] Error 1
/home/mandy/twrp/kernel/samsung/j7xeltexx/Makefile:960: recipe for target 'arch/arm/kernel' failed
make[2]: *** [arch/arm/kernel] Error 2
/home/mandy/twrp/kernel/samsung/j7xeltexx/Makefile:960: recipe for target 'arch/arm/mm' failed
make[2]: *** [arch/arm/mm] Error 2
make[2]: *** wait: No child processes. Stop.
Makefile:145: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/mandy/twrp/kernel/samsung/j7xeltexx'
build/core/tasks/kernel.mk:286: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
target Pack Relocations: libc++ (/home/mandy/twrp/out/target/product/j7xeltexx/obj/SHARED_LIBRARIES/libc++_intermediates/PACKED/libc++.so)
INFO: Compaction