linux icon indicating copy to clipboard operation
linux copied to clipboard

v5.14.0-FATAL: modpost: drivers/net/wwan/rpmsg_wwan_ctrl: sizeof(struct rpmsg_device_id)=32 is not a modulo of the size of section __mod_rpmsg__<identifier>_device_table=120.

Open HougeLangley opened this issue 2 years ago • 5 comments

FATAL: modpost: drivers/net/wwan/rpmsg_wwan_ctrl: sizeof(struct rpmsg_device_id)=32 is not a modulo of the size of section __mod_rpmsg__<identifier>_device_table=120.
Fix definition of struct rpmsg_device_id in mod_devicetable.h
make[1]: *** [scripts/Makefile.modpost:150:modules-only.symvers] 错误 1
make: *** [Makefile:1767:modules] 错误 2
make: *** 正在等待未完成的任务....

HougeLangley avatar Sep 02 '21 07:09 HougeLangley

image

Disable this driver if you do not using Qualcomm

HougeLangley avatar Sep 02 '21 08:09 HougeLangley

@Minecrell

xanmod avatar Sep 02 '21 11:09 xanmod

The same problem in arch AUR, but gentoo is ok

HougeLangley avatar Sep 06 '21 03:09 HougeLangley

image

Disable this driver if you do not using Qualcomm

which program are you using to disable this interactively?

JoeSchr avatar Sep 26 '21 21:09 JoeSchr

nvm, I got it. unpack and then use nconfig

  tar -xvf linux-5.14.tar.xz
  cd linux-5.14/
  make nconfig

JoeSchr avatar Sep 26 '21 21:09 JoeSchr