Build error in kernel build for rpmsg enabling

cancel
Showing results for 
Search instead for 
Did you mean: 

Build error in kernel build for rpmsg enabling

114 Views
Contributor I

Hi Guys,

I am doing an activity regarding cortex communication between M4 and A7 on IMX.7 dual sabre board 

I am building an linux kernel by enabling following options:in  menuconfig /drivers/rpmsg drivers

<*> Rpmsg device interface

1.IMX_RPMSG_PINGPONG

2.IMX_RPMSG_TTY

I am getting following build error please help me with the issue

drivers/rpmsg/rpmsg_char.c:272:10: error: implicit declaration of function 'rpmsg_poll'; did you mean 'rpmsg_send'? [-Werror=implicit-function-declaration]
  mask |= rpmsg_poll(eptdev->ept, filp, wait);
          ^~~~~~~~~~
          rpmsg_send
cc1: some warnings being treated as errors
scripts/Makefile.build:293: recipe for target 'drivers/rpmsg/rpmsg_char.o' failed
make[2]: *** [drivers/rpmsg/rpmsg_char.o] Error 1
scripts/Makefile.build:544: recipe for target 'drivers/rpmsg' failed
make[1]: *** [drivers/rpmsg] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:997: recipe for target 'drivers' failed
make: *** [drivers] Error 2

0 Kudos
1 Reply

80 Views
NXP TechSupport
NXP TechSupport

Hello,

 

Could you tell me which BSP version are you using?

Also, I suppose you are trying to build both modules at the same time, correct?

If you try with one at a time, do you see the same behavior?

 

Thank you,

Best regards,

Aldo.

0 Kudos