PINE64
Help Building Android Kernel - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: Android on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=100)
+--- Thread: Help Building Android Kernel (/showthread.php?tid=6978)



Help Building Android Kernel - cocoastorm - 12-20-2018

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!


RE: Help Building Android Kernel - cocoastorm - 12-20-2018

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