On 13 April 2011 18:24, John Bennett <hornetster@gmail.com> wrote:
Purchased a USB 2.0 DVB-T Stick that also does DAB. Wasn't really going to
use it on linux, bought it for the wife (win7 :-( ) but noticed that it actually came with "Linux Drivers". It's an "Ezcap USB 2.0 DVB-T Stick with FM& DAB" and, I must admit, works very well in Windows. The Linux drivers entail an install.sh executable and a bz2 file. The executable basically extracts the bz2, and makes the driver, which all goes OK for a while but then I get an error:
/home/Software/EzyCap/v4l_rtl2832_install/v4l-dvb-b88d4f790cd6/v4l/config-compat.h:4:28: fatal error: linux/autoconf.h: No such file or directory compilation terminated.
yes , the autoconf.h file is now in generated directory in the new linux kernel, and I the driver for linux is written for old kernel . So , just go into the config-compat.h and then change all the linux/autoconf.h to generated/autoconf.h , then build it again
Yep, thanks for that, that problem fixed, but... Now am getting:
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop/. modules CC [M] /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.o /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.c: In function 'free_firmware': /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.c:253:3: error: implicit declaration of function 'kfree' /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.c: In function 'load_all_firmwares': /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.c:315:2: error: implicit declaration of function 'kzalloc' /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.c:315:13: warning: assignment makes pointer from integer without a cast /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.c:366:21: warning: assignment makes pointer from integer without a cast /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.c: In function 'xc2028_attach': /home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.c:1269:13: warning: assignment makes pointer from integer without a cast make[5]: *** [/home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l/tuner-xc2028.o] Error 1 make[4]: *** [_module_/home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l] Error 2 make[3]: *** [sub-make] Error 2 make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/desktop' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/Software/EzyCap/v4l-dvb-b88d4f790cd6/v4l' make: *** [all] Error 2
Help....?
When such problem occurs , you can just cp the errors in google and find what's wrong with it . take this as example: we can cp " implicit declaration of function 'kfree'" in google , and you can see that someone else also runs into such problem and may also offer its solution . most of the problems results from the kernel's header file , kernel interface etc.Every version of kernel may change something . the drivers of hardware may written for the old kernel,not for the new one and it's happened to use the data structures ,variables etc in the old kernel but not in the new ones . So that's why the drivers in linux is troublesome . And I cannot tell all the difference between old kernel and the new one( so many versions @_@)
Thanks, John. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- ________________________ wolf python london(WPL) Do as you soul should do ! ________________________ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org