realme-kernel-opensource / realme_C31_C33_C35_narzo50A-Prime-AndroidT-NEW-kernel-source

Other
1 stars 1 forks source link

Error Building #2

Open rifsxd opened 1 month ago

rifsxd commented 1 month ago

image

rifsxd commented 1 month ago

also please tell the proper way to build it if im doing it wrong, i used google gki method

rifsxd commented 1 month ago

for c35 rmx3511

realme-kernel-opensource commented 1 month ago

Dear Customer, Please compile using the following config, thanks. arch/arm64/configs/unisoc_fuzz_ums512_defconfig:1645:CONFIG_ZRAM=m

rifsxd commented 1 month ago

Screenshot_20240731-071419 Same error trying to build with clang r416183b with unisoc_fuzz_ums512_defconfig

rifsxd commented 1 month ago

There is a lot of code compilation error not just zram hybridswap, how did you guys built the kernel? Please provide full information, thanks

realme-kernel-opensource commented 1 month ago

There is a lot of code compilation error not just zram hybridswap, how did you guys built the kernel? Please provide full information, thanks

Please delete this line from this Makefile and try compiling again. drivers/block/zram/Makefile -- obj-$(CONFIG_ZRAM) += hybridswap/ According to the error information in the screenshot, some of them have duplicate definitions. Please analyze them according to the prompts. Thank.

rifsxd commented 1 month ago

I fixed it myself resolving the duplicates but there were more errors on power/supply/charger drivers And some sprd errors, lets see if these are still causing errors after removing hybridswap

rifsxd commented 1 month ago

Screenshot_20240803-063813 This is the other issue

rifsxd commented 1 month ago

Screenshot_20240803-084651

Also this

rifsxd commented 1 month ago

After fixing that this is the new error Screenshot_20240803-093507 Which is probably the last to complete the compilation

rifsxd commented 1 month ago

I just dont understand why is it so complex to build this specific kernel tree? It's the only linux kernel source which the user has to fix and modify to build stock device kernel, please either fix it or just make a new branch with the fixes for realme c35 rmx3511 which the user don't need to do anything extra

rifsxd commented 1 month ago

Now after resolving all these issues the kernel doesn't even boot on the device...

rifsxd commented 1 month ago

I don't think ums512 defconfig is the the correct config file for rmx3511 realme c35 which is ums9230_nico

rifsxd commented 1 month ago

I request a dedicated kernel source tree just for realme c35 ums9230_nico rmx3511 which will eliminate all the confusions and errors please!

rifsxd commented 2 weeks ago

Bro just provide a working realme rmx3511 c35 kernel code or just you compile the kernel with KernelSU and send me the kernel image