Sm680-Development / kernel_motorola_sm6225

Other
2 stars 2 forks source link

Face problem during compile kernel #1

Open anuragpindoriya opened 11 months ago

anuragpindoriya commented 11 months ago

CC techpack/display/rotator/sde_rotator_util.o ../drivers/input/touchscreen/focaltech_touch_v3/focaltech_flash.c:49:10: fatal error: 'include/firmware/fw_sample.i' file not found

include FTS_UPGRADE_FW_FILE

     ^~~~~~~~~~~~~~~~~~~

../drivers/input/touchscreen/focaltech_touch_v3/focaltech_config.h:301:49: note: expanded from macro 'FTS_UPGRADE_FW_FILE'

define FTS_UPGRADE_FW_FILE "include/firmware/fw_sample.i"

                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated. make[5]: [../scripts/Makefile.build:338: drivers/input/touchscreen/focaltech_touch_v3/focaltech_flash.o] Error 1 make[4]: [../scripts/Makefile.build:642: drivers/input/touchscreen/focaltech_touch_v3] Error 2 make[3]: [../scripts/Makefile.build:642: drivers/input/touchscreen] Error 2 make[2]: [../scripts/Makefile.build:642: drivers/input] Error 2 make[1]: [/home/runner/work/kernel_motorola_sm6225_FPSensor/kernel_motorola_sm6225_FPSensor/Makefile:1212: drivers] Error 2 make[1]: Waiting for unfinished jobs.... CC techpack/display/rotator/sde_rotator_io_util.o

-- Here is error log --

and here is full log https://github.com/anuragpindoriya/kernel_motorola_sm6225_FPSensor/actions/runs/6524206854/job/17715616839

@FPSensor help me

FPSensor commented 11 months ago

git clone https://gitlab.com/FPSensor/clang_r487747x prebuilts/clang/host/linux-x86/clang-r487747c --depth=1

FPSensor commented 11 months ago

Wich branch are u using?

anuragpindoriya commented 11 months ago

Wich branch are u using?

13

FPSensor commented 11 months ago

I saw u fixed the error in your repos, it didn't happened to me but if u want make a pull request with the fix and I can merge

anuragpindoriya commented 11 months ago

git clone https://gitlab.com/FPSensor/clang_r487747x prebuilts/clang/host/linux-x86/clang-r487747c --depth=1

I use proton clang

https://github.com/kdrag0n/proton-clang

And also make github worflow for compilation

https://github.com/anuragpindoriya/kernel_motorola_sm6225_FPSensor/blob/13/.github/workflows/main.yml

anuragpindoriya commented 11 months ago

git clone https://gitlab.com/FPSensor/clang_r487747x prebuilts/clang/host/linux-x86/clang-r487747c --depth=1

I use proton clang

https://github.com/kdrag0n/proton-clang

And also make github worflow for compilation

https://github.com/anuragpindoriya/kernel_motorola_sm6225_FPSensor/blob/13/.github/workflows/main.yml

FPSensor commented 11 months ago

Kernel is prepared to work with clang 1702 We don't test with proton clang So Try to change to clang 1702

anuragpindoriya commented 11 months ago

Kernel is prepared to work with clang 1702 We don't test with proton clang So Try to change to clang 1702

Try but same result

It's need include/firmware/fw_sample.i file in at

include/firmware

But i check source code this file can't present at this location

Can you verify this

My repolink https://github.com/anuragpindoriya/kernel_motorola_sm6225_FPSensor

Kernel compile log using clang 1702

https://github.com/anuragpindoriya/kernel_motorola_sm6225_FPSensor/actions/runs/6525997242/job/17719270733

@FPSensor