From: Fredrik Lingvall <fredrik.lingvall@gmail.com>
To: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: linux-media@vger.kernel.org
Subject: Re: media_build failures on 3.0.6 Gentoo
Date: Mon, 09 Jan 2012 15:50:31 +0100 [thread overview]
Message-ID: <4F0AFEB7.9080605@gmail.com> (raw)
In-Reply-To: <201201090022.51367.laurent.pinchart@ideasonboard.com>
On 01/09/12 00:22, Laurent Pinchart wrote:
> Hi Fredrik,
>
> On Wednesday 21 December 2011 11:50:53 Fredrik Lingvall wrote:
>> Hi,
>>
>> I get this build failure:
> [snip]
>
>> LD [M] /usr/src/media_build/v4l/m5mols.o
>> CC [M] /usr/src/media_build/v4l/s5k6aa.o
>> CC [M] /usr/src/media_build/v4l/adp1653.o
>> CC [M] /usr/src/media_build/v4l/as3645a.o
>> /usr/src/media_build/v4l/as3645a.c: In function 'as3645a_probe':
>> /usr/src/media_build/v4l/as3645a.c:815:2: error: implicit declaration of
>> function 'kzalloc'
>> /usr/src/media_build/v4l/as3645a.c:815:8: warning: assignment makes
>> pointer from integer without a cast
>> make[3]: *** [/usr/src/media_build/v4l/as3645a.o] Error 1
>> make[2]: *** [_module_/usr/src/media_build/v4l] Error 2
>> make[2]: Leaving directory `/usr/src/linux-3.0.6-gentoo'
>> make[1]: *** [default] Error 2
>> make[1]: Leaving directory `/usr/src/media_build/v4l'
>> make: *** [all] Error 2
>> build failed at ./build line 380.
>> lin-tv media_build #
> Could you please test this patch ?
>
> From c7ecae9b57cb29eaa134943d086fb0d83865514e Mon Sep 17 00:00:00 2001
> From: Laurent Pinchart<laurent.pinchart@ideasonboard.com>
> Date: Mon, 9 Jan 2012 00:18:19 +0100
> Subject: [PATCH] as3645a: Fix compilation by including slab.h
>
> The as3645a driver calls kzalloc(). Include slab.h.
>
> Reported-by: Fredrik Lingvall<fredrik.lingvall@gmail.com>
> Signed-off-by: Laurent Pinchart<laurent.pinchart@ideasonboard.com>
> ---
> drivers/media/video/as3645a.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/media/video/as3645a.c b/drivers/media/video/as3645a.c
> index ec859a5..f241702 100644
> --- a/drivers/media/video/as3645a.c
> +++ b/drivers/media/video/as3645a.c
> @@ -29,6 +29,7 @@
> #include<linux/i2c.h>
> #include<linux/module.h>
> #include<linux/mutex.h>
> +#include<linux/slab.h>
>
> #include<media/as3645a.h>
> #include<media/v4l2-ctrls.h>
Laurent,
I have upgraded to the latest stable Gentoo kernel, that is
3.1.6-gentoo, and I don't see the build problem with
http://linuxtv.org/downloads/drivers/linux-media-2012-01-07.tar.bz2
and above anymore (I had to enable DVB for Linux in the 3.1.6-gentoo
kernel) .
As of linux-media-2012-01-07.tar.bz2 I can now see clear video with
mplayer on some channels (using the HVR-930C) but it's not working
perfectly, in particular not with MythTV. I will do some more testing
and report back in the "Hauppauge HVR-930C problems" thread.
Regards,
/Fredrik
prev parent reply other threads:[~2012-01-09 14:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-21 10:50 media_build failures on 3.0.6 Gentoo Fredrik Lingvall
2012-01-08 23:22 ` Laurent Pinchart
2012-01-09 14:50 ` Fredrik Lingvall [this message]
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=4F0AFEB7.9080605@gmail.com \
--to=fredrik.lingvall@gmail.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@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 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.