答复: get_user_pages symbol

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



you should 
1. edit the /linux/kernel/ksyms.c ,add a line
"EXPORT_SYMBOL(get_user_pages)",this can export the kernel symbol
"get_user_pages"
2. recompile the linux kernel. 
3.use new kernel to start linux

then video_buf.o can be loaded sucessfully.



--------------------------------------------------
Willis.Yang




-----原始邮件-----
发件人: Ivan Gustavo [mailto:ivan@xxxxxxxxxxxx]
发送时间: 2002年11月28日 03:32
收件人: video4linux-list@xxxxxxxxxx
主题: get_user_pages symbol


hy all,
I downloaded the kernel source 2.4.18 using apt-get on an debian woody 
(3.0r0), and patched it with the
v4l2-api-2.4.18.diff patch file of gerd knorr, and tried to compile the 
bttv-0.8.46 module pack, but when I
try to load the module video_buf.o I get "video-buf.o: unresolved symbol 
get_user_pages_Rb50ef32f"

I am trying to fix it by exporting the get_user_pages symbol on the 
linux/mm/memory.c...

Is that the best way to fix it?
Anybody had the same problem?
Have any patch to fix it?


Tanks
-- 

Ivan Gustavo Munix dos Santos
-----------------------------
http://www.munix.com.br
mailto:ivan@xxxxxxxxxxxx
SkyTech Telecom SJC
Av. Heitor Vila lobos, 1565
Fone: 12-39232925 Ramal 215
Sao Jose Dos Campos - SP 




--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/video4linux-list





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux