Talk:Compile kernel module

From ArchWiki
Latest comment: 30 January 2022 by Msoulier in topic Out of tree build

Module.symvers

The article doesn't mention the Module.symvers file, which is provided by linux-headers (and also generated when building the entire kernel), but has to be copied manually into the sources directory. When compiling an isolated module without this file, some warnings are produced, although the module seems to compile succesfully (I have not tested it). Is it safe to ignore these warnings?

—This unsigned comment is by Tomsod (talk) 00:38, 20 August 2020‎. Please sign your posts with ~~~~!

EXTRAVERSION

The example in: make EXTRAVERSION=-arch1 modules_prepare. was giving error I fixed mine using make EXTRAVERSION=-arch1-1 Is That right or was typo?

Mozlima (talk) 00:59, 15 January 2021 (UTC)Reply[reply]

Out of tree build

Running the asp commands and checking out linux does not result in the trunk/src directory referenced in the article.

  msoulier@anton:~$ ls build/linux/trunk/
  config  PKGBUILD
  

--Msoulier (talk) 14:49, 30 January 2022 (UTC)Reply[reply]