WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compiling a missing kernel modul  (Read 836 times)

Offline HoerMirAuf

  • Newbie
  • *
  • Posts: 10
Compiling a missing kernel modul
« on: May 08, 2023, 12:41:37 AM »
I'm trying to compile a missing kernel modul for a intel Soc Soundcard cht-bsw-rt5672

Made the steps from this post:
http://forum.tinycorelinux.net/index.php/topic,26236.0.html

And enable the driver with "make menuconfig".

All compiled well but loading the driver with insmod run in a "unknow symbol" error.
Can anyone give me a hint, how to compile a working driver modul from kernel source?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14564
Re: Compiling a missing kernel modul
« Reply #1 on: May 08, 2023, 01:08:01 AM »
This typically means that your new module depends on another module(s) that it cannot find.

Try the command "modinfo /path-to-module/new-module-name" and check the "depends" line.

Offline HoerMirAuf

  • Newbie
  • *
  • Posts: 10
Re: Compiling a missing kernel modul
« Reply #2 on: May 08, 2023, 05:39:52 AM »
Ahhhh !  ;D

Thank you very much ! Now i could load the modul succesfully  :)