On 10/14/05, Ben Holt <[EMAIL PROTECTED]> wrote: > 1st: 0.4.0 installed to wrong directory > > I run debian unstable/sid with the stock 2.6.12-1-686 kernel as such > ivtv should be installed to /lib/modules/2.6.12-1-686/ivtv however > make install installed ivtv to /lib/modules/2.6.12/ivtv. Figuring out > why my old 0.2.0 version of ivtv kept loading took a while ;-). > Copying the files from /lib/modules/2.6.12/ivtv to > /lib/modules/2.6.12-1-686/ivtv solved the problem. I had a quick look > at the driver/Makefile2.6 and didn't see an obvious reason why it > installed the modules to the wrong directory, but I know next to > nothing about Makefile syntax. uname -r returns the proper > 2.6.12-1-686. Thinking back I recall this happening on at least one > other occassion with a 0.2.0 version.
I believe it's a problem with the debian kernel-headers package. It didn't happen when I was using sarge 2.6.8 kernel, but started appearing when I upgraded th kernel a while ago. I don't really know what's causing it, my 'fix' might be completely the wrong way to go about it, but this is what I found, and it worked for me. The file /usr/src/kernel-headers-2.6.12-1-686/Makefile is a symlink to /usr/src/kernel-headers-2.6.12/Makefile (ie: the extraversion stuff is removed) Firstly, remove the symlink, and copy the /usr/src/kernel-headers-2.6.12/Makefile to /usr/src/kernel-headers-2.6.12-1-686/Makefile (so you can modify it and not break any other kernel versions you may have). Edit /usr/src/kernel-headers-2.6.12-1-686/Makefile, and change the EXTRAVERSION = line to actually include your extra version (eg: EXTRAVERSION = -1-686) To me, this seems the cleanest way to fix the problem, but I'm no kernel developer. btw, there are debian source packages for ivtv, which IMHO is a much cleaner way of going about building (although you'll still run into this problem) See http://www.ivtvdriver.org/index.php/Howto:Debian Cheers, Ross _______________________________________________ ivtv-users mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-users
