[Android] SpiritualWarrior:
Asking kindly for help

Hello

i would like first to thank you for your great job and for your 'share philosophy' mentality.

I m not a developper just a user and since a time i began messing with kernels to study and test. It would be very kind of you if you can help me.

before i ask for help i did a lot of research to find fix for my compilation errors without disturbing anyone and would appreciate if you can enlight an learn me what to do.Thanks in advance anyway.

i m on ubuntu 16.04 64bits version becoz of latest GCC 5.3 included

i m working on source code for Galaxy Note 5 N920C SkyHigh v3 Kernel for MM 6.0.1 from github

i did install all needed packages and setup build environement:

- libncurses5-dev

- git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386

- sudo ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

sudo apt-get install -y ccache &&echo 'export PATH="/usr/lib/ccache:$PATH"' | tee -a ~/.bashrc &&source ~/.bashrc && echo $PATH

export USE_CCACHE=1

mkdir ~/bin

export PATH=~/bin:$PATH

curl https://dl-ssl.google.com/dl/googleso... > ~/bin/repo

chmod a+x ~/bin/repo

java -version:

openjdk version "1.8.0_03-Ubuntu"

OpenJDK Runtime Environment (build 1.8.0_03-Ubuntu-8u77-b03-3ubuntu3-b03)

OpenJDK 64-Bit Server VM (build 25.03-b03, mixed mode)

gcc -v 5.3.1 :

gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2)

Toolchain = provided from Dev link =UBERTC-aarch64-linux-android-5.3-kernel-1144fd2773c1

==============================================

commands:

1. export CROSS_COMPILE=/home/mus/android/UBERTC-aarch64-linux-android-5.3-kernel-1144fd2773c1/bin/aarch64-linux-android-

export ARCH=arm64

export SUBARCH=arm64

make SkyHigh_N920C_defconfig

make menuconfig

make -j$(grep -c ^processor /proc/cpuinfo) Also tried with -j4 -j3 -j8 as my i7 can handlle more jobs

I compiled many time with different toolchains,i got the 'image' and the 5 .ko files.

During all paste compilations i got errors wich could be fixed by replacing missing or corrupted files , but always got these same reccuring errors without fix as shown bellow : :rolleyes:

- Warning (device_type_is_string): "device_type" property in /rgb is not a string

- WARNING: modpost: Found 1 section mismatch(es).

- make[1]: Nothing to be done for 'dtbs'.

- WARNING: vmlinux.o(.text+0x585a9c): Section mismatch in reference from the function store_cpucore_max_num_limit() to the function .cpuinit.text:cpu_up()

The function store_cpucore_max_num_limit() references

the function __cpuinit cpu_up().

This is often because store_cpucore_max_num_limit lacks a __cpuinit

annotation or the annotation of cpu_up is wrong.

I rebuilt for debug with command : make CONFIG_DEBUG_SECTION_MISMATCH=y

log file is attached containing copy paste of the output text on terminal

i m stucking right now at this level and don't know what to do,maybe missing library or some corrupted code..i don't know ..

i would appreciate your help if you can and anyway i m thankful in advance .:o