[opensuse] Error trying to build drivers
Don't know whether anyone can help, but... 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. I believe I have all the kernel dev headers and stuff installed.... Anyone have any ideas? Thanks, John. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* John Bennett <hornetster@gmail.com> [04-12-11 09:22]:
/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.
I believe I have all the kernel dev headers and stuff installed.... Anyone have any ideas?
You do not say which kernel you use, but I show autoconf.h is provided by: kernel-desktop-devel-2.6.38.2-19.1.x86_64 -- (paka)Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 http://en.opensuse.org openSUSE Community Member Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 12 April 2011 20:19, John Bennett <hornetster@gmail.com> wrote:
Don't know whether anyone can help, but... 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
I believe I have all the kernel dev headers and stuff installed.... Anyone have any ideas? 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
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....? Thanks, John. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
participants (3)
-
John Bennett
-
Patrick Shanahan
-
wolf python london