From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Help with selecting package
Date: Mon, 14 Oct 2013 11:47:54 +0200 [thread overview]
Message-ID: <20131014114754.12f56017@skate> (raw)
In-Reply-To: <525BAB59.4020105@gmail.com>
Dear Marco Trapanese,
On Mon, 14 Oct 2013 10:29:13 +0200, Marco Trapanese wrote:
> I receive a lot of warning during the compilation of a kernel module,
> like this:
>
> WARNING: "videobuf_read_stream"
> [/home/mark/dev/rpiqt5/buildroot-rpi/output/build/sensoray2253-1.2.6/driver/s2253.ko]
> undefined!
>
> "videobuf_read_stream" is defined in media/videobuf-core.h.
>
> How to find which package I have to add to "depends on" and to
> "PACKAGE_DEPENDENCIES" ?
> I've already added libv4l.
It's not a dependency on an userspace library, it's a dependency on a
kernel option, and there's no way to ensure this option is enabled by
mean of Buildroot dependencies. You should just make sure your kernel
configuration has the right option enabled.
Make sure you have CONFIG_VIDEOBUF_GEN enabled in your kernel, which
seems to be the option that ensures videobuf_read_stream() is provided
by the kernel.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2013-10-14 9:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 8:29 [Buildroot] Help with selecting package Marco Trapanese
2013-10-14 9:47 ` Thomas Petazzoni [this message]
2013-10-14 10:51 ` Marco Trapanese
2013-10-14 11:47 ` Thomas Petazzoni
2013-10-14 13:10 ` Marco Trapanese
2013-10-14 14:02 ` Thomas De Schampheleire
2013-10-14 15:23 ` Marco Trapanese
2013-10-14 15:42 ` Marco Trapanese
2013-10-14 16:43 ` Thomas Petazzoni
2013-10-16 7:32 ` Marco Trapanese
2013-10-16 7:40 ` Thomas Petazzoni
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=20131014114754.12f56017@skate \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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