LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-09-2009, 03:37 AM   #1
rajkumar278
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
About Kernel Modules in Linux


Hi all,

I am building the two kernel modules means 2 .ko files. Some functions of the module 1 are being used by module 2. I have also exported the symbols for functions which will be used by 2nd module. But When I am compiling the modules, i am getting the following errors:

WARNING: "A_UnRegister_Driver" [/usr/src/linux/drivers/usb/my/device/src/a.ko] undefined!
WARNING: "A_Free" [/usr/src/linux/drivers/usb/my/device/src/b.ko] undefined!

I am exporting the above function using the EXPORT_SYMBOL. Can some body point out why am i getting this and what is workaround for this?

regards.
 
Old 06-09-2009, 09:21 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by rajkumar278 View Post
Hi all,

I am building the two kernel modules means 2 .ko files. Some functions of the module 1 are being used by module 2. I have also exported the symbols for functions which will be used by 2nd module. But When I am compiling the modules, i am getting the following errors:

WARNING: "A_UnRegister_Driver" [/usr/src/linux/drivers/usb/my/device/src/a.ko] undefined!
WARNING: "A_Free" [/usr/src/linux/drivers/usb/my/device/src/b.ko] undefined!

I am exporting the above function using the EXPORT_SYMBOL. Can some body point out why am i getting this and what is workaround for this?

regards.
Don't know how anyone but you can diagnose this problem. You don't say what modules you're trying to compile, on what version/distro of Linux. We can't guess as to what you're doing.......so post useful information.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux loadable kernel modules help greplinux Linux - Newbie 4 04-06-2009 01:52 AM
No kernel modules found for Linux 2.6.27.7-smp. w1k0 Slackware 11 12-23-2008 02:24 PM
LINUX kernel modules arunachalam Linux - General 2 11-14-2005 10:11 PM
Kernel modules in VMware 3.11 not compatible with Linux-2.4.20-8 Armoredcav4 Linux - Software 1 11-01-2003 10:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration