MiCode / Xiaomi_Kernel_OpenSource

Xiaomi Mobile Phone Kernel OpenSource
8.74k stars 3.22k forks source link

Errors while compiling spes-r-oss branch #4236

Closed PavelAtr closed 1 year ago

PavelAtr commented 1 year ago

Please help me get rid of compilation errors at the final stage of spes-r-oss branch.

WARNING: EXPORT symbol "gsi_write_channel_scratch" [vmlinux] version generation failed, symbol will not be versioned.

drivers/gpu/drm/drm_sysfs.o: In function doze_backlight_store': /home/pavel/xiaomi-spesn/kernels/linux-source-4.19.157-tiny/drivers/gpu/drm/drm_sysfs.c:350: undefined reference todsi_bridge_disp_set_doze_backlight'

drivers/gpu/drm/drm_sysfs.o: In function doze_backlight_show': /home/pavel/xiaomi-spesn/kernels/linux-source-4.19.157-tiny/drivers/gpu/drm/drm_sysfs.c:359: undefined reference todsi_bridge_disp_get_doze_backlight'

drivers/gpu/drm/drm_sysfs.o: In function mipi_reg_store': /home/pavel/xiaomi-spesn/kernels/linux-source-4.19.157-tiny/drivers/gpu/drm/drm_sysfs.c:318: undefined reference todsi_display_mipi_reg_write'

drivers/gpu/drm/drm_sysfs.o: In function mipi_reg_show': /home/pavel/xiaomi-spesn/kernels/linux-source-4.19.157-tiny/drivers/gpu/drm/drm_sysfs.c:310: undefined reference todsi_display_mipi_reg_read'

drivers/input/touchscreen/nt36525b_spi/nt36xxx.o: In function lct_nvt_tp_gesture_callback': /home/pavel/xiaomi-spesn/kernels/linux-source-4.19.157-tiny/drivers/input/touchscreen/nt36525b_spi/nt36xxx.c:2918: undefined reference toset_lcd_reset_gpio_keep_high'

/home/pavel/xiaomi-spesn/kernels/linux-source-4.19.157-tiny/drivers/input/touchscreen/nt36525b_spi/nt36xxx.c:2912: undefined reference to `set_lcd_reset_gpio_keep_high'

drivers/thermal/thermal_core.o: In function thermal_exit': /home/pavel/xiaomi-spesn/kernels/linux-source-4.19.157-tiny/drivers/thermal/thermal_core.c:1997: undefined reference todrm_unregister_client'

drivers/thermal/thermal_core.o: In function thermal_init': /home/pavel/xiaomi-spesn/kernels/linux-source-4.19.157-tiny/drivers/thermal/thermal_core.c:1972: undefined reference todrm_register_client'

PavelAtr commented 1 year ago

/techpack is empty in branch spes-r-oss

Guilher89 commented 1 year ago

where did you find the build guide for spes-r-oss? i need it, please help me

PavelAtr commented 1 year ago

I copy /techpack directory from https://github.com/PixelExperience-Devices/kernel_xiaomi_sm6225.git repository. And then build kernel.

вс, 20 авг. 2023 г. в 18:23, Guilher89 @.***>:

where did you find the build guide for spes-r-oss? i need it, please help me

— Reply to this email directly, view it on GitHub https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/4236#issuecomment-1685311164, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMNCZYEPPKKZFNZU7XAXFJDXWITWJANCNFSM6AAAAAAZB5DE64 . You are receiving this because you modified the open/close state.Message ID: @.***>

Guilher89 commented 1 year ago

thank you so much, i'm using pixel experience too

Em dom., 20 de ago. de 2023 13:13, Pavel Samsonov @.***> escreveu:

I copy /techpack directory from https://github.com/PixelExperience-Devices/kernel_xiaomi_sm6225.git repository. And then build kernel.

вс, 20 авг. 2023 г. в 18:23, Guilher89 @.***>:

where did you find the build guide for spes-r-oss? i need it, please help me

— Reply to this email directly, view it on GitHub < https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/4236#issuecomment-1685311164>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/AMNCZYEPPKKZFNZU7XAXFJDXWITWJANCNFSM6AAAAAAZB5DE64>

. You are receiving this because you modified the open/close state.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/MiCode/Xiaomi_Kernel_OpenSource/issues/4236#issuecomment-1685344296, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBDC7ZFT5TGZM7TSJGYQNWDXWJAU3ANCNFSM6AAAAAAZB5DE64 . You are receiving this because you commented.Message ID: @.***>

Guilher89 commented 1 year ago

did you manage to compile?, I need your knowledge could you tell me which configuration you used and which tool you used?

PavelAtr commented 1 year ago

Email me pvsamsonov76@gmail.com