Shubhamvis98 / toolchains

9 stars 15 forks source link

Nexus 5 #3

Open wolfyy59 opened 1 month ago

wolfyy59 commented 1 month ago

What should I do to fix these errors thanks Screenshot_20240623-194700

= Kernel used =

https://github.com/cyanogenmod/android_kernel_lge_hammerhead

Shubhamvis98 commented 1 month ago

If you're compiling on your phone, it won't work. Try to compile from a x86_64/amd64 arch machine. Also the yylloc error can be fixed by adding 'extern' at beginning of the error-line. And you should use kernel source from lineageos. The cynogen kernel source is too old.

Shubhamvis98 commented 1 month ago

@wolfyy59 and try to compile the kernel without clang. Just use gcc, older kernels are not compatible with clang.

wolfyy59 commented 1 month ago

@wolfyy59 and try to compile the kernel without clang. Just use gcc, older kernels are not compatible with clang.

how to do that? any idea

Shubhamvis98 commented 1 month ago

you can follow this video. https://www.youtube.com/watch?v=mYp_NnY1jNs