Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Freescale specific kernel header to compile imx-lib
Date: Thu, 28 Nov 2013 10:27:29 +0100	[thread overview]
Message-ID: <20131128102729.294dd0db@skate> (raw)
In-Reply-To: <003f01ceeb99$dc7c9980$9575cc80$@gmail.com>

Dear Alexandre Schnegg,

On Wed, 27 Nov 2013 18:55:28 +0100, Alexandre Schnegg wrote:
> Thank you for your response.
> 
> I can give you some more details.
> 
> When I only select the package "imx-lib", compilation is ok. But when I also
> select the package "gst-fsl-plugins", I have this issue:
> 
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... no
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking vpu_lib.h usability... no
> checking vpu_lib.h presence... no
> checking for vpu_lib.h... no
> configure: error: lib_vpu is required, consider installing imx-lib
> make[1]: ***
> [/home/schnegg/Documents/armadeus/buildroot/output/build/libfslvpuwrap-1.0.1
> 7/.stamp_configured] Error 1

Armadeus is making some fairly major changes to the Buildroot packages,
so I'm not sure whether the help we can provide will be 100% accurate.

<rant>

I've asked gazillions of times the Armadeus people to push their
changes upstream, I'm on their IRC channel to help them to do so if
they need help. But over the past 4+ years, they only contributed 25
patches to Buildroot, and have kept most of their Buildroot changes out
of tree. Seems like they prefer to update their stack of patches over
and over and over again.

</rant>

> make[1]: Leaving directory `/home/schnegg/Documents/armadeus/buildroot'
> make: *** [all] Error 2
> schnegg at ubuntu:~/Documents/armadeus$ make menuconfig
> make[1]: Entering directory `/home/schnegg/Documents/armadeus/buildroot
> 
> It's seems the "imx-lib" isn't built. 

The libfslvpuwrap package has a dependency on imx-lib, so it should get
built before:

LIBFSLVPUWRAP_DEPENDENCIES += imx-lib

Can you restart your build from scratch (make clean; make), and log the
entire build output a file:

	make 2>&1 | tee build.log

And then see if imx-lib is properly built before libfslvpuwrap. If
that's the case, then you should look if a vpu_lib.h file was installed
somewhere. Depending on that, we'll see what's going on: either it has
been installed but libfslvpuwrap isn't looking for it at the right
place, or it hasn't been installed.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2013-11-28  9:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-27 16:24 [Buildroot] Freescale specific kernel header to compile imx-lib Alexandre Schnegg
2013-11-27 16:39 ` Thomas Petazzoni
2013-11-27 17:55   ` Alexandre Schnegg
2013-11-28  9:27     ` Thomas Petazzoni [this message]
     [not found]       ` <00c501ceec4a$71937fb0$54ba7f10$@gmail.com>
     [not found]         ` <20131128170846.7e1d8a40@skate>
2013-11-28 16:23           ` Alexandre Schnegg

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=20131128102729.294dd0db@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