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:[EMAIL PROTECTED]
SkyTech Telecom SJC
Av. Heitor Vila lobos, 1565
Fone: 12-39232925 Ramal 215
Sao Jose Dos Campos - SP
--
video4linux-list mailing list
Unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/video4linux-list
