I tried -p1 and it worked, thanks a lot dharmbhai. Javier Santos On Tuesday 11 March 2003 05:14, dharmbhai wrote: > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > All that glitters has a high refractive index. ;)) > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > video4linux-list@xxxxxxxxxx wrote: > > > > > > > I am trying to compile the 2.4.20 kernel whith the bttv 0.7.105 patch > applied to it. I have got it from kernel.org, and then try to patch it with > the file "patch-2.4.20-kraxel.gz" from bytesex.org but there are three > places where the patch fails: > > =========================================================================== >========= [jsantos@mediabox linux]$ gunzip -cd > bttv_patches/no_usados/patch-2.4.20-kraxel.gz |patch -p0 > > > try -p1 it works > > > > > > > patching file linux-2.4.20/arch/x86_64/config.in > patching file linux-2.4.20/drivers/media/video/videodev.c > patching file linux-2.4.20/include/scsi/scsi.h > patching file linux-2.4.20/include/linux/major.h > patching file linux/include/linux/chio.h > patching file linux-2.4.20/drivers/scsi/ch.c > patching file linux-2.4.20/drivers/scsi/Makefile > patching file linux-2.4.20/drivers/scsi/Config.in > can't find file to patch at input line 1332 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > > |--- linux/arch/sparc64/kernel/ioctl32.c 2003-01-08 14:54:07.000000000 > > +0100 > > |+++ linux/arch/sparc64/kernel/ioctl32.c 2003-01-08 14:55:08.000000000 > > +0100 > -------------------------- > File to patch: > Skip this patch? [y] > Skipping patch. > 5 out of 5 hunks ignored > patching file linux-2.4.20/arch/sparc64/config.in > patching file linux-2.4.20/Documentation/scsi-changer.txt > can't find file to patch at input line 1620 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > > |--- linux/Documentation/Configure.help 2003-01-08 14:54:07.000000000 +0100 > |+++ linux/Documentation/Configure.help 2003-01-08 14:55:08.000000000 +0100 > > -------------------------- > File to patch: > Skip this patch? [y] > Skipping patch. > 2 out of 2 hunks ignored > can't find file to patch at input line 1665 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > > |--- linux/kernel/ksyms.c 2003-01-08 14:54:07.000000000 +0100 > |+++ linux/kernel/ksyms.c 2003-01-08 14:55:07.000000000 +0100 > > -------------------------- > File to patch: > Skip this patch? [y] > Skipping patch. > 2 out of 2 hunks ignored > patching file linux/include/linux/videodev2.h > patching file linux-2.4.20/include/linux/videodev.h > patching file linux-2.4.20/drivers/media/video/v4l2-common.c > patching file linux-2.4.20/drivers/media/video/v4l1-compat.c > can't find file to patch at input line 3781 > Perhaps you used the wrong -p or --strip option? > The text leading up to this was: > -------------------------- > > |--- linux/drivers/media/video/Makefile 2003-01-08 14:55:32.000000000 +0100 > |+++ linux/drivers/media/video/Makefile 2003-01-16 10:33:28.000000000 +0100 > > -------------------------- > File to patch: > Skip this patch? [y] > Skipping patch. > 1 out of 1 hunk ignored > patching file linux-2.4.20/drivers/media/video/bt832.h > patching file linux-2.4.20/drivers/media/video/bt832.c > patching file linux-2.4.20/drivers/media/video/bttvp.h > patching file linux-2.4.20/drivers/media/video/bttv.h > patching file linux-2.4.20/drivers/media/video/bttv-if.c > patching file linux-2.4.20/drivers/media/video/bttv-driver.c > patching file linux-2.4.20/drivers/media/video/bttv-cards.c > patching file linux-2.4.20/drivers/media/video/bt848.h > patching file linux-2.4.20/Documentation/video4linux/bttv/Cards > patching file linux-2.4.20/Documentation/video4linux/bttv/CARDLIST > patching file linux-2.4.20/drivers/media/video/tvmixer.c > patching file linux-2.4.20/drivers/media/video/tvaudio.c > patching file linux-2.4.20/drivers/media/video/tda9887.c > patching file linux-2.4.20/drivers/media/video/tda9875.c > patching file linux-2.4.20/drivers/media/video/tda7432.c > patching file linux-2.4.20/drivers/media/video/msp3400.c > patching file linux-2.4.20/drivers/media/video/audiochip.h > patching file linux-2.4.20/drivers/media/video/tuner.h > patching file linux-2.4.20/drivers/media/video/tuner.c > patching file linux/mm/mempool.c > patching file linux-2.4.20/mm/Makefile > patching file linux/include/linux/mempool.h > patching file linux-2.4.20/mm/vmalloc.c > patching file linux-2.4.20/include/linux/vmalloc.h > patching file linux-2.4.20/include/linux/jbd.h > patching file linux-2.4.20/include/linux/fs.h > patching file linux-2.4.20/fs/jbd/journal.c > patching file linux-2.4.20/fs/buffer.c > patching file linux-2.4.20/drivers/md/Config.in > patching file linux-2.4.20/MAINTAINERS > patching file linux/include/linux/dm-ioctl.h > patching file linux/include/linux/device-mapper.h > patching file linux-2.4.20/drivers/md/kcopyd.h > patching file linux-2.4.20/drivers/md/kcopyd.c > patching file linux-2.4.20/drivers/md/dm.h > patching file linux-2.4.20/drivers/md/dm.c > patching file linux-2.4.20/drivers/md/dm-target.c > patching file linux-2.4.20/drivers/md/dm-table.c > patching file linux-2.4.20/drivers/md/dm-stripe.c > patching file linux-2.4.20/drivers/md/dm-snapshot.h > patching file linux-2.4.20/drivers/md/dm-snapshot.c > patching file linux-2.4.20/drivers/md/dm-linear.c > patching file linux-2.4.20/drivers/md/dm-ioctl.c > patching file linux-2.4.20/drivers/md/dm-exception-store.c > patching file linux-2.4.20/drivers/md/Makefile > patching file linux-2.4.20/arch/s390x/kernel/ioctl32.c > patching file linux-2.4.20/arch/ppc64/kernel/ioctl32.c > patching file linux-2.4.20/arch/mips64/kernel/ioctl32.c > > =========================================================================== > > If I then carry on with make xconfig and make dep it fails on: > > make[2]: *** No rule to make target `mempool.c', needed by > `/home/jsantos/Apps/linux/linux-2.4.20/include/linux/modules/mempool.ver'. > Stop. > > > I tried the little patches as well and I got the same problem. What am I > doing wrong? > > Thank you > > Javier Santos > > > > -- > video4linux-list mailing list > Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/video4linux-list > > Get Your Private, Free E-mail from Indiatimes at > http://email.indiatimes.com Buy the best in Movies at > http://www.videos.indiatimes.com > Bid for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to > http://airsahara.indiatimes.com and Bid Now !