Stefan Bayer wrote:
> I'm new to v4l2 and
> I want to use a saa7134 based tv-card and I patched kernel 2.4.19-rc3 with
> v4l2-01-v4l2-api-2.5.8-pre2.diff.
> The kernel compiled with no problems.
> Then I compiled module saa7134 and put it in the corresponding directory for 
> my new kernel.
> When I now do a
> # modprobe saa7134
> I get following error message:
> # modprobe saa7134
> /lib/modules/2.4.19-rc3/kernel/drivers/media/video/v4l1-compat.o: unresolved \ 
> symbol do_select
> /lib/modules/2.4.19-rc3/kernel/drivers/media/video/v4l1-compat.o: insmod \ 
> /lib/modules/2.4.19-rc3/kernel/drivers/media/video/v4l1-compat.o failed
> /lib/modules/2.4.19-rc3/kernel/drivers/media/video/v4l1-compat.o: insmod \ 
> saa7134 failed
> 
> what do I have to do to get this working? (change kernel to 2.4.19-pre2?)



Did the patches partly fail when you applied them
(look for a file kernel/ksyms.c.rej)? They did with me, and
I had to go in and edit kernel/ksyms.c by hand, inserting
the do_select line below. (I assume you mean you used
v4l2-01-add-api-2.4.19-pre8.diff.gz and not the 2.5 patch
you mention)

EXPORT_SYMBOL(dcache_dir_close);
EXPORT_SYMBOL(dcache_dir_lseek);
EXPORT_SYMBOL(dcache_dir_fsync);
EXPORT_SYMBOL(dcache_readdir);
EXPORT_SYMBOL(do_select);
EXPORT_SYMBOL(dcache_dir_ops);

Also, I found that "make install" with the
saa7134 stuff kept wiping out my i2c modules,
so I re-installed the kernel modules with
make modules_install and then used an
older version of the saa7134 Makefile
to install it.
-- 
Bill Eldridge
Radio Free Asia
[EMAIL PROTECTED]



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to