PINE64

Full Version: Help Building Android Kernel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey,

Been trying to build the android kernel for the ROCKPRO64, as I've wanted to add support for a wifi usb dongle I'm using.

Using Kernel Source from ayufan: https://github.com/ayufan-rock64/android-kernel

The build is failing with:

Code:
drivers/built-in.o: In function `rk_pwm_config_v2':
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
rence to `rk3368_lcdc_cabc_status'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
: relocation truncated to fit: R_AARCH64_CALL26 against undef
tatus'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
rence to `rk3368_lcdc_update_pwm'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm
: relocation truncated to fit: R_AARCH64_CALL26 against undef
_pwm'
Makefile:815: recipe for target 'vmlinux' failed

Thanks!
Actual Error: (initial post error was cut off)

Code:
drivers/built-in.o: In function `rk_pwm_config_v2':
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm-rockchip.c:352: undefined reference to `rk3368_lcdc_cabc_status'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm-rockchip.c:352:(.text+0x104f4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk3368_lcdc_cabc_status'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm-rockchip.c:356: undefined reference to `rk3368_lcdc_update_pwm'
/home/khoa/rock64/src/rockchip-android-kernel/drivers/pwm/pwm-rockchip.c:356:(.text+0x1052c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk3368_lcdc_update_pwm'
Makefile:815: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1