Re: 答复: get_user_pages symbol

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



Tanks willian,
I fixed it adding EXPORT_SYMBOL(get_user_pages) on the /linux/mm/memory.o,
also #include<modules.h> and added memory.o to the export-objs: in Makefile..

reg..

Ivan Munix..

Willis.yang[楊中志] wrote:

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 Munix wrote:


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






[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