Kirisakura_Raviole icon indicating copy to clipboard operation
Kirisakura_Raviole copied to clipboard

Fails to Build

Open quisys opened this issue 10 months ago • 4 comments

make clean make mrproper make gki_defconfig make -j8

ld: Unexpected GOT/PLT entries detected!
ld: Unexpected run-time procedure linkages detected!
ld: drivers/misc/inputfilter/sweep2sleep.o: in function `__s2s_input_filter':
/home/debian/phone/Kirisakura_Raviole/drivers/misc/inputfilter/sweep2sleep.c:689: undefined reference to `s2s_setup_values'
make: *** [Makefile:1294: vmlinux] Error 1

quisys avatar Feb 12 '25 17:02 quisys

Fixable by disabling sweep2sleep, but this should be fixed

quisys avatar Feb 12 '25 20:02 quisys

What config do you use to build? gki_defconfig doesn't even generate the correct dts

quisys avatar Feb 12 '25 22:02 quisys

the kernel needs to be built in the kernel build environment. it´s not a standalone tree. Link with more information is below.

you will also require the other platform/device specific drivers and put them in the correct place. https://github.com/freak07/raviole_modules

https://source.android.com/docs/setup/build/building-kernels

freak07 avatar Feb 13 '25 08:02 freak07

I see. Forgive my ignorance, but after cloning the Google build environment, how would one integrate your tree?

I appreciate your willingness to help :)

quisys avatar Feb 14 '25 23:02 quisys