Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mtk-v5.15-dev-rity-kirkstone-v24.0 doesnt compile #359

Open
Rippanda12 opened this issue Aug 29, 2024 · 2 comments
Open

mtk-v5.15-dev-rity-kirkstone-v24.0 doesnt compile #359

Rippanda12 opened this issue Aug 29, 2024 · 2 comments

Comments

@Rippanda12
Copy link

Rippanda12 commented Aug 29, 2024

drivers/soc/mediatek/hdmirx/hdmi_rx2_cmd.c:27:10: fatal error: mtk_hdmirx.h: No such file or directory
   27 | #include <mtk_hdmirx.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[4]: *** [scripts/Makefile.build:288: drivers/soc/mediatek/hdmirx/hdmi_rx2_cmd.o] Error 1

Adding this to drivers/soc/mediatek/hdmirx/Makefile makes it compile

ccflags-y += -I$(srctree)/drivers/soc/mediatek/hdmirx/

Same for

In file included from drivers/media/platform/mediatek/mdp3/mtk-img-ipi.h:14,
                 from drivers/media/platform/mediatek/mdp3/mtk-mdp3-cmdq.h:13,
                 from drivers/media/platform/mediatek/mdp3/mtk-mdp3-comp.h:10,
                 from drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.h:15,
                 from drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.c:16:
drivers/media/platform/mediatek/mdp3/mt8183/mdp3-comp-mt8183.h:10:10: fatal error: mtk-mdp3-type.h: No such file or directory
   10 | #include "mtk-mdp3-type.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make[5]: *** [scripts/Makefile.build:288: drivers/media/platform/mediatek/mdp3/mtk-mdp3-core.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC [M]  drivers/media/rc/keymaps/rc-asus-pc39.o
  CC [M]  drivers/usb/serial/usb_wwan.o
In file included from drivers/media/platform/mediatek/mdp3/mtk-img-ipi.h:14,
                 from drivers/media/platform/mediatek/mdp3/mtk-mdp3-vpu.h:11,
                 from drivers/media/platform/mediatek/mdp3/mtk-mdp3-vpu.c:9:
drivers/media/platform/mediatek/mdp3/mt8183/mdp3-comp-mt8183.h:10:10: fatal error: mtk-mdp3-type.h: No such file or directory
   10 | #include "mtk-mdp3-type.h"
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.

Adding this to /drivers/media/platform/mediatek/mdp3/Makefile

ccflags-y += -I$(srctree)/drivers/media/platform/mediatek/mdp3
@RadxaStephen
Copy link
Member

RadxaStephen commented Oct 10, 2024

Can you show me your full build command on your PC? What is your Host PC?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants