From: Gregoire Favre <greg@ulima.unil.ch>
To: linux-dvb@linuxtv.org
Cc: linux-kernel@vger.kernel.org
Subject: How to compil dvb CVS with 2.5.52?
Date: Thu, 19 Dec 2002 23:27:30 +0100 [thread overview]
Message-ID: <20021219222730.GA3324@ulima.unil.ch> (raw)
Hello,
I am too stupid to understand the README: with 2.5.52 should I patch
with both :
greg@localhost:linux >patch -p1 < /usr/src/CVS/dvb-kernel/00_knorr_v4l1_compat.patch
patching file drivers/media/video/Makefile
Hunk #1 succeeded at 5 with fuzz 1.
patching file drivers/media/video/v4l1-compat.c
patching file kernel/ksyms.c
Hunk #1 succeeded at 323 (offset 2 lines).
greg@localhost:linux >patch -p1 < /usr/src/CVS/dvb-kernel/01_video-buf.patch
patching file drivers/media/Makefile
patching file drivers/media/Kconfig
patching file drivers/media/common/Kconfig
patching file drivers/media/common/Makefile
patching file drivers/media/common/video-buf.c
patching file drivers/media/common/video-buf.h
patching file drivers/media/video/Makefile
Hunk #2 succeeded at 38 with fuzz 2.
patching file drivers/media/video/saa7134/Makefile
patching file drivers/media/video/video-buf.c
patching file drivers/media/video/video-buf.h
And then the makelinks /usr/src/linux-2.5.52-dvb
It then don't compil and i have to patch with the patch sent to this
list the Wed, 11 Dec 2002 10:53:43 +1100 from Rusty Russell:
--- drivers/media/dvb/dvb-core/dvb_i2c.c 2002-12-19 23:21:07.000000000 +0100
+++ drivers/media/dvb/dvb-core/dvb_i2c.c~ 2002-11-28 19:57:09.000000000 +0100
@@ -64,8 +64,10 @@
void try_attach_device (struct dvb_i2c_bus *i2c, struct dvb_i2c_device *dev)
{
if (dev->owner) {
- if (!try_inc_mod_count(dev->owner))
+ if (!MOD_CAN_QUERY(dev->owner))
return;
+
+ __MOD_INC_USE_COUNT(dev->owner);
}
if (dev->attach (i2c) == 0) {
And then:
ld -m elf_i386 -r -o drivers/media/common/saa7146.ko drivers/media/common/saa7146_core.o drivers/media/common/saa7146_hlp.o drivers/media/common/saa7146_i2c.o drivers/media/common/saa7146_vbi.o drivers/media/common/saa7146_video.o
make -f scripts/Makefile.build obj=drivers/media/dvb
make -f scripts/Makefile.build obj=drivers/media/dvb/av7110
make[4]: *** No rule to make target `drivers/media/dvb/av7110/saa7146_core.s', needed by `drivers/media/dvb/av7110/saa7146_core.o'. Stop.
make[3]: *** [drivers/media/dvb/av7110] Error 2
make[2]: *** [drivers/media/dvb] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2
>From my .config:
CONFIG_DVB=y
CONFIG_DVB_CORE=y
CONFIG_DVB_DEVFS_ONLY=y
CONFIG_DVB_ALPS_BSRV2=m
CONFIG_DVB_AV7110=m
CONFIG_DVB_AV7110_OSD=y
CONFIG_VIDEO_SAA7146=m
CONFIG_VIDEO_VIDEOBUF=m
Well, could you explain me what's wrong with my way to compil it?
Thank you very much,
Grégoire
________________________________________________________________
http://ulima.unil.ch/greg ICQ:16624071 mailto:greg@ulima.unil.ch
next reply other threads:[~2002-12-19 22:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-19 22:27 Gregoire Favre [this message]
2002-12-20 10:39 ` [linux-dvb] " Holger Waechtler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021219222730.GA3324@ulima.unil.ch \
--to=greg@ulima.unil.ch \
--cc=linux-dvb@linuxtv.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome