All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] linux/videodev.h missing
@ 2013-04-19 21:47 Richard Cagley
  2013-04-19 23:07 ` Gustavo Zacarias
  2013-04-19 23:57 ` Arnout Vandecappelle
  0 siblings, 2 replies; 12+ messages in thread
From: Richard Cagley @ 2013-04-19 21:47 UTC (permalink / raw)
  To: buildroot

Anyone else seen this error out of the current github trunk?
mxc_ipu_hl_lib.c:44:28: fatal error: linux/videodev.h: No such file or
directory
compilation terminated.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-19 21:47 [Buildroot] linux/videodev.h missing Richard Cagley
@ 2013-04-19 23:07 ` Gustavo Zacarias
  2013-04-19 23:57 ` Arnout Vandecappelle
  1 sibling, 0 replies; 12+ messages in thread
From: Gustavo Zacarias @ 2013-04-19 23:07 UTC (permalink / raw)
  To: buildroot

On 04/19/2013 06:47 PM, Richard Cagley wrote:

> Anyone else seen this error out of the current github trunk?
> mxc_ipu_hl_lib.c:44:28: fatal error: linux/videodev.h: No such file or
> directory
> compilation terminated.

github trunk? Official buildroot isn't maintained in github.
Also how about some context?
Fails building what? With which options?
You've gotta be more specific, there are gazillions of possible
combinations in buildroot.
Regards.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-19 21:47 [Buildroot] linux/videodev.h missing Richard Cagley
  2013-04-19 23:07 ` Gustavo Zacarias
@ 2013-04-19 23:57 ` Arnout Vandecappelle
  2013-04-22 16:12   ` Richard Cagley
  2013-04-29 19:25   ` Richard Cagley
  1 sibling, 2 replies; 12+ messages in thread
From: Arnout Vandecappelle @ 2013-04-19 23:57 UTC (permalink / raw)
  To: buildroot

On 19/04/13 23:47, Richard Cagley wrote:
> Anyone else seen this error out of the current github trunk?
> mxc_ipu_hl_lib.c:44:28: fatal error: linux/videodev.h: No such file or
> directory
> compilation terminated.

  See the help text of imx-lib:

"It requires a kernel that includes the i.MX specific headers to be built."

  In this particular case it's the old Freescale kernel that still has 
the ancient videodev.h header (it died in v2.6.38). Basically, Freescale 
assumes everybody wants to use Freescale's own stuff.

  Regards,
  Arnout
-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-19 23:57 ` Arnout Vandecappelle
@ 2013-04-22 16:12   ` Richard Cagley
  2013-04-22 20:47     ` Arnout Vandecappelle
  2013-04-29 19:25   ` Richard Cagley
  1 sibling, 1 reply; 12+ messages in thread
From: Richard Cagley @ 2013-04-22 16:12 UTC (permalink / raw)
  To: buildroot

Arnout,
This is the information I needed. Sounds like I need to find a patched
kernel tarball.
-rich

> -----Original Message-----
> From: Arnout Vandecappelle [mailto:arnout at mind.be]
> Sent: Friday, April 19, 2013 4:57 PM
> To: Richard Cagley
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] linux/videodev.h missing
> 
> On 19/04/13 23:47, Richard Cagley wrote:
> > Anyone else seen this error out of the current github trunk?
> > mxc_ipu_hl_lib.c:44:28: fatal error: linux/videodev.h: No such file
or
> > directory compilation terminated.
> 
>   See the help text of imx-lib:
> 
> "It requires a kernel that includes the i.MX specific headers to be
built."
> 
>   In this particular case it's the old Freescale kernel that still has
the ancient
> videodev.h header (it died in v2.6.38). Basically, Freescale assumes
> everybody wants to use Freescale's own stuff.
> 
>   Regards,
>   Arnout
> --
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR
Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-22 16:12   ` Richard Cagley
@ 2013-04-22 20:47     ` Arnout Vandecappelle
  2013-04-22 22:28       ` Richard Cagley
  0 siblings, 1 reply; 12+ messages in thread
From: Arnout Vandecappelle @ 2013-04-22 20:47 UTC (permalink / raw)
  To: buildroot

On 22/04/13 18:12, Richard Cagley wrote:
> Arnout,
> This is the information I needed. Sounds like I need to find a patched
> kernel tarball.

  Try http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/

  Perhaps I should have added that URL to the help text.

  Regards,
  Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-22 20:47     ` Arnout Vandecappelle
@ 2013-04-22 22:28       ` Richard Cagley
  2013-04-23 13:03         ` Daiane Angolini
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Cagley @ 2013-04-22 22:28 UTC (permalink / raw)
  To: buildroot

Sadly, even freescale seems to have dropped videodev.h
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/include
/linux

I wish I could figure out who maintains imx-lib so I could figure out
why they're sourcing such old headers.

> -----Original Message-----
> From: Arnout Vandecappelle [mailto:arnout at mind.be]
> Sent: Monday, April 22, 2013 1:47 PM
> To: Richard Cagley
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] linux/videodev.h missing
> 
> On 22/04/13 18:12, Richard Cagley wrote:
> > Arnout,
> > This is the information I needed. Sounds like I need to find a
patched
> > kernel tarball.
> 
>   Try http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/
> 
>   Perhaps I should have added that URL to the help text.
> 
>   Regards,
>   Arnout
> 
> 
> --
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR
Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-22 22:28       ` Richard Cagley
@ 2013-04-23 13:03         ` Daiane Angolini
  2013-04-23 18:51           ` Richard Cagley
  0 siblings, 1 reply; 12+ messages in thread
From: Daiane Angolini @ 2013-04-23 13:03 UTC (permalink / raw)
  To: buildroot

On 04/22/2013 07:28 PM, Richard Cagley wrote:
> Sadly, even freescale seems to have dropped videodev.h
> http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/include
> /linux

Which kernel version and imx-lib version are you using?

When I worked with kernel and imx-lib 11.09.01 I patched imx-lib in 
order to avoid this videodev.h include.

I don't remember exactly what I used, it should be something like 
videodev2.h or video2dev.h


Daiane

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-23 13:03         ` Daiane Angolini
@ 2013-04-23 18:51           ` Richard Cagley
  2013-04-23 19:49             ` Daiane Angolini
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Cagley @ 2013-04-23 18:51 UTC (permalink / raw)
  To: buildroot

It's a Karo TX53 board. I've tried their kernel, the buildroot one for
buildroot-2013.02 (imx_v6_v7 defconfig), the freescale git that Arnout
pointed out...none seem to have matching headers.

Yes, I can basically copy videodev2.h to videodev.h but that only fixes
one problem. After that it's sort of a wormhole of missing header files.
Note, this is only for imx-lib configured as mx53...mx6 appears to be
fine.

I'm reading up on how to source different package versions with
buildroot...it appears to be using 12.09.01...maybe I'll try to figure
out how to use 11.09.01

> -----Original Message-----
> From: Daiane Angolini [mailto:daiane.angolini at freescale.com]
> Sent: Tuesday, April 23, 2013 6:04 AM
> To: Richard Cagley
> Cc: Arnout Vandecappelle; buildroot at busybox.net
> Subject: Re: [Buildroot] linux/videodev.h missing
> 
> On 04/22/2013 07:28 PM, Richard Cagley wrote:
> > Sadly, even freescale seems to have dropped videodev.h
> >
http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/inclu
> > de
> > /linux
> 
> Which kernel version and imx-lib version are you using?
> 
> When I worked with kernel and imx-lib 11.09.01 I patched imx-lib in
order to
> avoid this videodev.h include.
> 
> I don't remember exactly what I used, it should be something like
> videodev2.h or video2dev.h
> 
> 
> Daiane
> 
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-23 18:51           ` Richard Cagley
@ 2013-04-23 19:49             ` Daiane Angolini
  0 siblings, 0 replies; 12+ messages in thread
From: Daiane Angolini @ 2013-04-23 19:49 UTC (permalink / raw)
  To: buildroot

On 04/23/2013 03:51 PM, Richard Cagley wrote:
> It's a Karo TX53 board. I've tried their kernel, the buildroot one for
> buildroot-2013.02 (imx_v6_v7 defconfig), the freescale git that Arnout
> pointed out...none seem to have matching headers.
>
> Yes, I can basically copy videodev2.h to videodev.h but that only fixes
> one problem. After that it's sort of a wormhole of missing header files.
> Note, this is only for imx-lib configured as mx53...mx6 appears to be
> fine.

How do you configure it as mx53?

I've been using PLATFORM="IMX5"

if you use PLATFORM="IMX53" you will face more errors.

Why do you need imx-lib?

Daiane

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-19 23:57 ` Arnout Vandecappelle
  2013-04-22 16:12   ` Richard Cagley
@ 2013-04-29 19:25   ` Richard Cagley
  1 sibling, 0 replies; 12+ messages in thread
From: Richard Cagley @ 2013-04-29 19:25 UTC (permalink / raw)
  To: buildroot

I resolved this issue by sourcing from the freescale git repo for the
kernel and using their u-boot/kernel. Thanks for the pointer Arnout.
http://git.freescale.com/git/
linux-2.6-imx.git and uboot-imx.git were the keys.

> -----Original Message-----
> From: Arnout Vandecappelle [mailto:arnout at mind.be]
> Sent: Friday, April 19, 2013 4:57 PM
> To: Richard Cagley
> Cc: buildroot at busybox.net
> Subject: Re: [Buildroot] linux/videodev.h missing
> 
> On 19/04/13 23:47, Richard Cagley wrote:
> > Anyone else seen this error out of the current github trunk?
> > mxc_ipu_hl_lib.c:44:28: fatal error: linux/videodev.h: No such file
or
> > directory compilation terminated.
> 
>   See the help text of imx-lib:
> 
> "It requires a kernel that includes the i.MX specific headers to be
built."
> 
>   In this particular case it's the old Freescale kernel that still has
the ancient
> videodev.h header (it died in v2.6.38). Basically, Freescale assumes
> everybody wants to use Freescale's own stuff.
> 
>   Regards,
>   Arnout
> --
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR
Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
  2013-04-23 19:57 Richard Cagley
@ 2013-04-23 20:38 ` Daiane Angolini
  0 siblings, 0 replies; 12+ messages in thread
From: Daiane Angolini @ 2013-04-23 20:38 UTC (permalink / raw)
  To: buildroot

On 04/23/2013 04:57 PM, Richard Cagley wrote:
> I need imx-lib for the gstreamer fsl plugins. If you know of a different
> way to get the gstreamer hardware acclerated plugins I'd love to not
> deal with imx-lib.

Try to use any version, configure it for imx5 and don't care if you have 
any error outside libvpu.

For example, a lot of issues is for libipu

I don't have the buildroot source code yet downloaded, and I have no 
idea how to include a new package, but I can try to help you on that 
one, let's talk offline

Daiane

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [Buildroot] linux/videodev.h missing
@ 2013-04-23 19:57 Richard Cagley
  2013-04-23 20:38 ` Daiane Angolini
  0 siblings, 1 reply; 12+ messages in thread
From: Richard Cagley @ 2013-04-23 19:57 UTC (permalink / raw)
  To: buildroot

I need imx-lib for the gstreamer fsl plugins. If you know of a different way to get the gstreamer hardware acclerated plugins I'd love to not deal with imx-lib.


----- Original Message -----
From: Daiane Angolini <daiane.angolini@freescale.com>
To: Richard Cagley
Cc: Arnout Vandecappelle <arnout@mind.be>; buildroot at busybox.net <buildroot@busybox.net>
Sent: Tue Apr 23 12:49:57 2013
Subject: Re: [Buildroot] linux/videodev.h missing

On 04/23/2013 03:51 PM, Richard Cagley wrote:
> It's a Karo TX53 board. I've tried their kernel, the buildroot one for
> buildroot-2013.02 (imx_v6_v7 defconfig), the freescale git that Arnout
> pointed out...none seem to have matching headers.
>
> Yes, I can basically copy videodev2.h to videodev.h but that only fixes
> one problem. After that it's sort of a wormhole of missing header files.
> Note, this is only for imx-lib configured as mx53...mx6 appears to be
> fine.

How do you configure it as mx53?

I've been using PLATFORM="IMX5"

if you use PLATFORM="IMX53" you will face more errors.

Why do you need imx-lib?

Daiane

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130423/9cb5a400/attachment.html>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2013-04-29 19:25 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-19 21:47 [Buildroot] linux/videodev.h missing Richard Cagley
2013-04-19 23:07 ` Gustavo Zacarias
2013-04-19 23:57 ` Arnout Vandecappelle
2013-04-22 16:12   ` Richard Cagley
2013-04-22 20:47     ` Arnout Vandecappelle
2013-04-22 22:28       ` Richard Cagley
2013-04-23 13:03         ` Daiane Angolini
2013-04-23 18:51           ` Richard Cagley
2013-04-23 19:49             ` Daiane Angolini
2013-04-29 19:25   ` Richard Cagley
2013-04-23 19:57 Richard Cagley
2013-04-23 20:38 ` Daiane Angolini

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.