From: Michael Krufky <mkrufky@linuxtv.org>
To: Adrian Bunk <bunk@stusta.de>
Cc: Linus Torvalds <torvalds@osdl.org>,
v4l-dvb-maintainer@linuxtv.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew de Quincey <adq_dvb@lidskialf.net>
Subject: Re: [v4l-dvb-maintainer] 2.6.19-rc1: DVB frontend selection causes compile errors
Date: Mon, 09 Oct 2006 04:27:26 -0400 [thread overview]
Message-ID: <452A07EE.9020303@linuxtv.org> (raw)
In-Reply-To: <20061009080542.GE3172@stusta.de>
Adrian Bunk wrote:
> On Mon, Oct 09, 2006 at 03:53:00AM -0400, Michael Krufky wrote:
>> Adrian Bunk wrote:
>>> The DVB frontend selection changes in 2.6.19-rc1 are giving me the
>>> following compile error:
>>>
>>> <-- snip -->
>>>
>>> ...
>>> LD .tmp_vmlinux1
>>> drivers/built-in.o: In function `dvb_init':
>>> saa7134-dvb.c:(.text+0x91d94): undefined reference to `tda10086_attach'
>>> saa7134-dvb.c:(.text+0x91db0): undefined reference to `tda826x_attach'
>>> make: *** [.tmp_vmlinux1] Error 1
>>>
>>> <-- snip -->
>>>
>>> .config attached.
>>>
>>> cu
>>> Adrian
>>
>> Adrian,
>
> Hi Michael,
>
>> Does this fix it for you?
>
> it does fix it with my .config, but
>
>> Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
>>
>> diff -r 7efa405e2d66 linux/drivers/media/dvb/frontends/tda10086.h
>> --- a/drivers/media/dvb/frontends/tda10086.h Fri Oct 06 17:12:00 2006 -0300
>> +++ b/drivers/media/dvb/frontends/tda10086.h Mon Oct 09 03:43:28 2006 -0400
>> @@ -35,7 +35,16 @@ struct tda10086_config
>> u8 invert;
>> };
>>
>> +#if defined(CONFIG_DVB_TDA10086) || defined(CONFIG_DVB_TDA10086_MODULE)
>> extern struct dvb_frontend* tda10086_attach(const struct tda10086_config* config,
>> struct i2c_adapter* i2c);
>> +#else
>> +static inline struct dvb_frontend* tda10086_attach(const struct tda10086_config* config,
>> + struct i2c_adapter* i2c)
>> +{
>> + printk(KERN_WARNING "%s: driver disabled by Kconfig\n", __FUNCTION__);
>> + return NULL;
>> +}
>> +#endif // CONFIG_DVB_TDA10086
>> ...
>
> this breaks with CONFIG_VIDEO_SAA7134_DVB=y, CONFIG_DVB_TDA1004X=m.
>
> #if defined(CONFIG_DVB_TDA10086) || (defined(CONFIG_DVB_TDA10086_MODULE) && defined(MODULE))
> might work, but the whole manual frontend selection IMHO looks a bit
> fragile.
>
> cu
> Adrian
>
That's never going to work -- If the card driver is build as y, then the frontend must also be built y...
Andrew, we need some Kconfig logic to prevent that case described by Adrian, above.
-Mike
next prev parent reply other threads:[~2006-10-09 8:27 UTC|newest]
Thread overview: 107+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-05 3:29 Merge window closed: v2.6.19-rc1 Linus Torvalds
2006-10-05 4:28 ` 2.6.19-rc1: known regressions Adrian Bunk
2006-10-05 4:45 ` Benjamin Herrenschmidt
2006-10-05 6:37 ` Jens Axboe
2006-10-05 6:52 ` Benjamin Herrenschmidt
2006-10-05 11:01 ` Gene Heskett
2006-10-05 14:04 ` Adrian Bunk
2006-10-05 20:27 ` Andreas Schwab
2006-10-05 21:15 ` Mel Gorman
2006-10-06 0:24 ` Andreas Schwab
2006-10-06 9:51 ` [PATCH] Use symbolic names instead of indices for zone initialisation Mel Gorman
2006-10-05 7:16 ` 2.6.19-rc1: known regressions Nigel Cunningham
2006-10-05 8:27 ` [patch] x86, fix rwsem build bug on CONFIG_M386=y Ingo Molnar
2006-10-05 9:41 ` [discuss] " Andi Kleen
2006-10-10 12:18 ` cpufreq not working on AMD K8 (was Re: 2.6.19-rc1: known regressions) Christian
2006-10-10 14:59 ` Langsdorf, Mark
2006-10-10 16:37 ` Christian
2006-10-10 16:43 ` Langsdorf, Mark
2006-10-11 14:06 ` Christian
2006-10-11 17:33 ` Langsdorf, Mark
2006-10-11 18:16 ` Christian
2006-10-11 18:38 ` Tomasz Torcz
2006-10-11 4:23 ` Adrian Bunk
2006-10-11 9:30 ` Christian
2006-10-11 14:57 ` Adrian Bunk
2006-10-05 15:09 ` Merge window closed: v2.6.19-rc1 Alistair John Strachan
2006-10-05 18:56 ` ohci1394 regression in 2.6.19-rc1 (was Re: Merge window closed: v2.6.19-rc1) Stefan Richter
2006-10-05 20:30 ` Alistair John Strachan
2006-10-05 20:32 ` Alistair John Strachan
2006-10-05 22:16 ` Stefan Richter
2006-10-05 22:37 ` Alistair John Strachan
2006-10-05 23:22 ` ohci1394 regression in 2.6.19-rc1 Stefan Richter
2006-10-06 13:55 ` Stefan Richter
2006-10-06 17:17 ` Stefan Richter
2006-10-06 18:33 ` Stefan Richter
2006-10-06 22:52 ` Alistair John Strachan
2006-10-05 15:41 ` Merge window closed: v2.6.19-rc1 Gene Heskett
2006-10-06 8:36 ` usb resets [Was Re: Merge window closed: v2.6.19-rc1] Uwe Zeisberger
2006-10-06 12:18 ` Gene Heskett
2006-10-05 19:17 ` Merge window closed: v2.6.19-rc1 Peter Osterlund
2006-10-05 19:21 ` Eric Sandeen
2006-10-05 20:49 ` [patch] fix qla{2,4} build error Frederik Deweerdt
2006-10-05 22:01 ` Andrew Vasquez
2006-10-06 16:54 ` [PATCH] Maintain module-parameter name consistency with qla2xxx/qla4xxx Andrew Vasquez
2006-10-05 21:09 ` monitor not active after boot (was Re: Merge window closed: v2.6.19-rc1) Olaf Hering
2006-10-08 10:12 ` Olaf Hering
2006-10-06 4:31 ` Merge window closed: v2.6.19-rc1 Alex Romosan
2006-10-06 18:47 ` 2.6.19-rc1 regression: airo suspend fails Adrian Bunk
2006-10-07 3:54 ` Alex Romosan
2006-10-07 3:54 ` Alex Romosan
2006-10-07 19:52 ` Dave Kleikamp
2006-10-07 20:17 ` Alex Romosan
2006-10-07 20:17 ` Alex Romosan
2006-10-08 6:43 ` Pavel Machek
2006-10-06 17:49 ` Merge window closed: v2.6.19-rc1 caszonyi
2006-10-06 18:12 ` Linus Torvalds
2006-10-06 19:05 ` Eric W. Biederman
2006-10-07 18:23 ` Gabor Gombas
2006-10-07 20:29 ` Eric W. Biederman
2006-10-06 22:43 ` Grant Coady
2006-10-06 22:47 ` Jesper Juhl
2006-10-07 2:33 ` Linus Torvalds
2006-10-07 13:16 ` James Bottomley
2006-10-07 21:46 ` 2.6.19-rc1: known regressions (v2) Adrian Bunk
2006-10-07 21:46 ` Adrian Bunk
2006-10-07 21:46 ` Adrian Bunk
2006-10-07 23:02 ` Prakash Punnoor
2006-10-07 23:02 ` Prakash Punnoor
2006-10-08 7:12 ` x60 backlight Re: [discuss] " Pavel Machek
2006-10-08 17:38 ` Adrian Bunk
2006-10-08 17:59 ` Michael S. Tsirkin
2006-10-08 17:59 ` Michael S. Tsirkin
2006-10-08 19:30 ` Adrian Bunk
2006-10-16 19:39 ` Michael S. Tsirkin
2006-10-16 19:39 ` Michael S. Tsirkin
2006-10-08 18:36 ` Pavel Machek
2006-10-08 19:29 ` Adrian Bunk
2006-10-08 23:44 ` Jeremy Fitzhardinge
2006-10-08 8:56 ` matthieu castet
2006-10-08 8:56 ` matthieu castet
2006-10-08 8:56 ` matthieu castet
2006-10-08 11:10 ` [GIT PULL] ieee1394 update (was 2.6.19-rc1: known regressions (v2)) Stefan Richter
2006-10-09 15:32 ` 2.6.19-rc1: known regressions (v2) - xfrm_register_mode Steve Fox
2006-10-09 15:51 ` Mel Gorman
2006-10-08 11:47 ` BUG when doing parallel NFS mounts (WAS: Re: Merge window closed: v2.6.19-rc1) Peter Osterlund
2006-10-08 15:19 ` Peter Osterlund
2006-10-08 18:35 ` Trond Myklebust
2006-10-08 18:54 ` Peter Osterlund
2006-10-08 19:21 ` Trond Myklebust
2006-10-09 0:31 ` 2.6.19-rc1: DVB frontend selection causes compile errors Adrian Bunk
2006-10-09 7:53 ` [v4l-dvb-maintainer] " Michael Krufky
2006-10-09 8:05 ` Adrian Bunk
2006-10-09 8:27 ` Michael Krufky [this message]
2006-10-14 5:23 ` Randy Dunlap
2006-10-14 13:32 ` Trent Piepho
2006-10-10 5:10 ` 2.6.19-rc1: known regressions (v3) Adrian Bunk
2006-10-10 5:10 ` Adrian Bunk
2006-10-10 5:10 ` Adrian Bunk
2006-10-10 5:10 ` [lm-sensors] " Adrian Bunk
2006-10-10 5:16 ` Benjamin Herrenschmidt
2006-10-10 8:41 ` Mel Gorman
2006-10-10 8:41 ` Mel Gorman
2006-10-10 22:58 ` Paul Mackerras
2006-10-10 22:58 ` Paul Mackerras
2006-10-10 22:58 ` Paul Mackerras
2006-10-11 3:08 ` Adrian Bunk
2006-10-11 3:08 ` Adrian Bunk
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=452A07EE.9020303@linuxtv.org \
--to=mkrufky@linuxtv.org \
--cc=adq_dvb@lidskialf.net \
--cc=bunk@stusta.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
--cc=v4l-dvb-maintainer@linuxtv.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.