[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-video
Subject:    Re: =?UTF-8?B?562U5aSNOiBnZXRfdXNlcl9wYWdlcyBzeW1ib2w=?=
From:       Ivan Gustavo <ivan () munix ! com ! br>
Date:       2002-11-28 10:11:39
[Download RAW message or body]

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@munix.com.br
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@redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/video4linux-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic