You are not logged in.
Pages: 1
Hi everyone,
I try to compile v4l from source to use my TV card ( i already did it with Ubuntu and it worked) but i have some error after "sudo make" :
make -C /home/cedric/v4l-dvb/v4l
make[1]: Entering directory `/home/cedric/v4l-dvb/v4l'
No version yet, using 3.0-ARCH
make[1]: Leaving directory `/home/cedric/v4l-dvb/v4l'
make[1]: Entering directory `/home/cedric/v4l-dvb/v4l'
Updating/Creating .config
Preparing to compile for kernel version
File not found: /lib/modules//build/.config at ./scripts/make_kconfig.pl line 32.
make[1]: *** [.config] Error 2
make[1]: Leaving directory `/home/cedric/v4l-dvb/v4l'
make: *** [all] Error 2The thing is there is 2 '/' in this line between 'modules' and 'build' : File not found: /lib/modules//build/.config at ./scripts/make_kconfig.pl line 32
and it's like the script can't determine my kernel version (3.0-ARCH)
i installed the package "linux-headers" but it still doesn't work
Any ideas ?
PS : sorry if my english is not very good, i'm not a native speaker ![]()
Last edited by ArchMaiden (2011-09-02 16:37:14)
Offline
I would suggest grabbing it from aur, there are several packages for it, including the devel tree and dvb rep.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Thanks for the quick reply,
I can't do that, i have to compile it myself because i need to modified few lines in files because if i don't, my TV card will not be able to work.
It's just i don't know why "it" doesn't recognize my kernel version, and i have no clue how to solve that.
Instead of the blank between the 2 "/", it shoud be "3.0-ARCH".
Someone has the same issue here : https://bbs.archlinux.org/viewtopic.php?pid=977329
Offline
Up please ![]()
Offline
Thanks for the quick reply,
I can't do that, i have to compile it myself because i need to modified few lines in files because if i don't, my TV card will not be able to work.
Wrong.
Just add the patch you need to the PKGBUILD, or use -e flag with makepkg and edit the source by hand.
There isn't really any reason not to use makepkg/pacman.
Last edited by Mr.Elendig (2011-08-31 16:41:51)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
How can i do that ? (that's why i post it in the "Newbie Corner"
)
Offline
What a mess.
From looking at the error message you provided, I'm going to assume that you are trying to compile the V4L code from LinuxTV's Mercurial repository and not their Git repository.
If I am correct, you can get past that message by running:
make release /usr/src/linux-3.0-ARCH/
BUT... I tried it, and you're going to almost immediately run into another problem where the compile stops and complains about not being able to find "T_DIGITAL_TV". I did some research and found that's because the V4L folks removed it from the header files back in February:
http://www.mail-archive.com/linuxtv-com … 09834.html
BUT... even if you can get it to compile, you would see the following in your kernel logs or dmesg:
WARNING: You're using an obsolete driver! You shouldn't be using it!
If you want anything new, you can use http://git.linuxtv.org/media_build.git.
The tree is still here just to preserve the development history.
In other words, the V4L developers are saying that the Mercurial repository is dead, dead, dead.
Next, then I tried the v4l-dvb development-5 and v4l-dvb-git 20110706-1 packages from Arch's AUR... and they don't compile cleanly either.
So now a question. Since Arch usually runs the latest versions of software, are you absolutely 100% sure that the patch you are trying to apply has not already been applied in the current kernel?
If the answer is yes, you are sure it's not already applied, then what I might try in your case is to install the "abs" package on your box, then run it, then modify the core/linux/PKGBUILD file to include your patch, then rebuild the kernel.
BUT... since Arch is a "rolling release", it updates the kernel frequently... so you'd need to repeat the that process frequently. Not fun.
Good luck.
Last edited by pigiron (2011-09-01 16:51:37)
Offline
Solved !
Thanks for your help, i didn't understand everything your tried to explain me, but it helped. I realised that v4l was already in my kernel and when i plugged my TVCard (AverMedia RedHD+), it was already recognized !
Here is how i solved that, if someone have the same problem :
After i plugged my TV Card, i run "dmesg | grep dvb" :
dvb-usb: found a 'AverMedia RedHD+' in cold state, will try to load a firmware
dvb-usb: did not find the firmware file. (dvb-usb-af9015.fw) Please see linux/Documentation/dvb/ for more details on firmware-problems. (-2)
dvb-usb-af9015: probe of 2-5:1.0 failed with error -2
usbcore: registered new interface driver dvb-usb-af9015so i just find somewhere to download the file "dvb-usb-af9015", here for example : http://www.telecable.es/personales/bbba … -af9015.fw
and i put it in /lib/firmware
then i restarted my computer and VLC loaded my channel list !
Thanks everyone for your help ! ![]()
Offline
Pages: 1