SOLVED - HELP! unresolved symbols when loading bttv-0.8.46

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



Problem Solved.....

For some reason, the video-buf.o module was exporting symbols prefaced with
"gpl". The bttv.o module was looking for symbols without this prefix.  So I 
editted the source video-buf.c and changed all of the "EXPORT_SYMBOL_GPL"
statements to just "EXPORT_SYMBOL".

I am sorry if I missed something somewhere....  But I found no mention anywhere
on the video4linux list or on the net explaining this had to be done.  In fact
I find the lack of any installation documentation quite distressing --- Maybe I
should write a howto?  Note, I also had to patch the ksyms.c file in the kernel
source as well in order to get rid of a get_user_pages unresolved symbol before
this happened.

Rett Walters
 
---- Previous message ----

Hello all:

I have been trying for some time to upgrade a kernel to V4l2 (the older
one, since my application hasn't been updated yet).  I have installed a
patch for 2.4.18 kernel, recompiled the kernel, and downloaded, and
compiled sucessfully the bttv-0.8.46 drivers.  Upon attempting to insmod
them either manually or via the "update" script included with the source
I get the following output:

[root@regulus bttv-0.8.46]# ./update
+ grep videodev /proc/modules
videodev                5984   0 (unused)
+ grep v4l2-common /proc/modules
v4l2-common             4784   0 (unused)
+ grep i2c-core /proc/modules
i2c-core               13312   0 [i2c-algo-bit]
+ grep i2c-algo-bit /proc/modules
i2c-algo-bit            7168   0
i2c-core               13312   0 [i2c-algo-bit]
+ sudo /sbin/rmmod bttv
rmmod: module bttv is not loaded
+ sudo /sbin/rmmod video-buf
+ sudo /sbin/insmod ./video-buf.o debug=1
+ sudo /sbin/insmod ./bttv.o bttv_debug=0 vbi_debug=0 irq_debug=0
latency=64 fdsr=0 sloppy=1 chroma_agc=1 mmap=1 vbibufs=4 radio=0,1
./bttv.o: unresolved symbol videobuf_read_stop
./bttv.o: unresolved symbol videobuf_streamon
./bttv.o: unresolved symbol videobuf_dma_pci_sync
./bttv.o: unresolved symbol videobuf_iolock
./bttv.o: unresolved symbol videobuf_querybuf
./bttv.o: unresolved symbol videobuf_dqbuf
./bttv.o: unresolved symbol videobuf_mmap_setup
./bttv.o: unresolved symbol videobuf_queue_init
./bttv.o: unresolved symbol videobuf_poll_stream
./bttv.o: unresolved symbol videobuf_waiton
./bttv.o: unresolved symbol videobuf_dma_pci_unmap
./bttv.o: unresolved symbol videobuf_reqbufs
./bttv.o: unresolved symbol videobuf_read_one
./bttv.o: unresolved symbol videobuf_dma_free
./bttv.o: unresolved symbol videobuf_mmap_mapper
./bttv.o: unresolved symbol videobuf_qbuf
./bttv.o: unresolved symbol videobuf_read_stream
./bttv.o: unresolved symbol videobuf_streamoff
./bttv.o: unresolved symbol videobuf_alloc
[root@regulus bttv-0.8.46]#

This has been quite perplexing, as I have been running into unresolved
symbols alot while trying to get this upgraded. The video-buf.o module
loads fine, which is where I assumed that these symbols are exported
from, according to the source code.  

How do I resolve this issue?  Any input would be greatly appreciated.

Rett Walters






[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