From: partmaps@vortex.physik.uni-konstanz.de
To: linux-kernel@vger.kernel.org
Subject: 2.4.20 compile problem
Date: Fri, 29 Nov 2002 11:01:29 +0100 [thread overview]
Message-ID: <200211291101.29880.partmaps@vortex.physik.uni-konstanz.de> (raw)
Hi guys and gals,
there is still a (minor) compile problem in 2.4.20 which has been pointed out
before. See analysis in message attached below.
concerns
mod_firmware_load() in drivers/media/video/bttv-cards.c
Cheers,
Max
---------- Forwarded Message ----------
Date: Mon, 2 Sep 2002 15:59:07 +0200 (CEST)
From: Adrian Bunk <bunk@fs.tum.de>
To: partmaps@vortex.physik.uni-konstanz.de,
Gerd Knorr <kraxel@bytesex.org>
cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.19(-pre5) problems
On Mon, 2 Sep 2002 partmaps@vortex.physik.uni-konstanz.de wrote:
> Hi,
Hi Max,
> I have a few problems here moving up from a 2.4.18 (which is working well).
> Hope this will be useful to somebody.
yes, thanks for your mail.
>...
> 2.4.19-pre5 (make oldconfig again) fails to compile with an obscure
> undefined reference. (see output below.)
>
> I will also attach my '.config' file (as obtaind after doing a 2.4.19-pre5
> make oldconfig and answering (ENTER) to all questions. Please contact me if
> you need more information. (Mind I am not on lkml).
>
> Regards,
> Max
>...
> --end-group \
> -o vmlinux
> drivers/media/media.o: In function `pvr_boot':
> drivers/media/media.o(.text+0x6e99): undefined reference to
> `mod_firmware_load'
> make: *** [vmlinux] Error 1
This is caused by Gerd Knorr's bttv driver update. The problem is:
drivers/media/video/bttv-cards.c uses
extern int mod_firmware_load(const char *fn, char **fp);
mod_firmware_load is in drivers/sound/sound_firmware.c but since your
sound is completely modular it's not in the kernel.
Workarounds (untested):
Either compile the bt848 driver modular or compile the sound supprt
statically into your kernel (the driver for your sound card can stay
modular).
Gerd:
If you want to use mod_firmware_load in drivers/media/video/bttv-cards.c
you must make this driver depend on CONFIG_SOUND (IIRC there was a
similar problem reported by someone who's bt848 driver was modular but
CONFIG_SOUND was completely unset which resulted in a depmod error).
cu
Adrian
reply other threads:[~2002-11-29 9:54 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200211291101.29880.partmaps@vortex.physik.uni-konstanz.de \
--to=partmaps@vortex.physik.uni-konstanz.de \
--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
all inboxes | Powered by JetHome®