简体   繁体   中英

Accessing Symbols of dynamic module from static module in linux

I have a requirement such that i want to call a function which is defined in my loadbale kernel module (.ko ) from a static kernel module.

When i tried building, my static module could not find symbol during likning stage. So I would like to know whether this scenario is possible.

Thanks for your inputs

一个适合您的解决方案是将设备驱动程序框架与您自己的特定BUS对象一起使用,这两个模块将在该对象中注册。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM