LinuxQuestions.org
Help answer threads with 0 replies.
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-16-2009, 03:54 PM   #1
rashmikant
LQ Newbie
 
Registered: Dec 2008
Posts: 7

Rep: Reputation: 1
undefined symbol 'page_remove_rmap' and 'page_add_new_anon_rmap'


Hi all,
I am having a warning while compiling followed by an error while insmoding my driver which does some page allocation and re-mapping of page table entries.

I am getting three errors for undefined symbols:
This is the output for compiling the module:

Building modules, stage 2.
MODPOST 1 modules
WARNING: "page_add_new_anon_rmap" [/home/rkghev/flash/driver_progs/pciedma/xapp1052.ko] undefined!
WARNING: "page_remove_rmap" [/home/rkghev/flash/driver_progs/pciedma/xapp1052.ko] undefined!
WARNING: "__mmu_notifier_invalidate_page" [/home/rkghev/flash/driver_progs/pciedma/xapp1052.ko] undefined!
make[1]: Leaving directory `/usr/src/linux-source-2.6.28.32bit/linux-source-2.6.28'

insmod gives the following error:

insmod xapp1052.ko
insmod: error inserting 'xapp1052.ko': -1 Unknown symbol in module
make: *** [load] Error 1

dmesg output for corresponding insmod:
[ 1420.037825] xapp1052: Unknown symbol page_remove_rmap
[ 1484.584608] xapp1052: Unknown symbol page_add_new_anon_rmap
[ 1484.584665] xapp1052: Unknown symbol __mmu_notifier_invalidate_page


Please throw some light on this.

Thanks a lot,
Rashmi
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: av_crc04C11DB7 priceey Linux - Software 0 05-06-2009 08:14 AM
./firefox-bin :symbol lookup error:/lib/libgthread-2.0.so.0: undefined symbol: arulupsaras Linux - General 1 11-08-2008 04:48 AM
symbol lookup error: /usr/lib/libgtk-x11.2.0.so.0: undefined symbol:... IamI Slackware 17 02-29-2008 11:10 AM
Workaround: 'symbol lookup error: k3b: undefined symbol: lstat64' devdol Linux - Software 2 02-15-2008 03:36 AM
./firefox-bin: symbol lookup error: /usr/lib/libpango-1.0.so.0: undefined symbol: g_s cb8100 Slackware 3 10-05-2006 10:55 AM

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

All times are GMT -5. The time now is 09:13 AM.

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