Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Unable to compile qt5base
@ 2013-12-31 15:23 Ivan Wagner
  2013-12-31 19:22 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Wagner @ 2013-12-31 15:23 UTC (permalink / raw)
  To: buildroot

Dear all,

I'm trying to compile qt5base by issuing the following command after
buildroot has been configured: make qt5base-config

I'm using Mentor Graphics' v. arm-2013.11.0.33 as an external toolchain.

For some reason I need to compile pkgconf and somehow I'm unable to
compile...

2013-12-31 16:11:32 (539 KB/s) -
`/home/ivan/projects/buildroot/dl/pkgconf-0.8.9.tar.bz2.tmp' saved
[80211/80211]

>>> host-pkgconf 0.8.9 Extracting
bzcat /home/ivan/projects/buildroot/dl/pkgconf-0.8.9.tar.bz2 | tar
--strip-components=1 -C
/home/ivan/projects/buildroot/output/build/host-pkgconf-0.8.9  -xf -
>>> host-pkgconf 0.8.9 Patching

Applying pkgconf-fix-variable.patch using patch:
patching file main.c
>>> host-pkgconf 0.8.9 Updating config.sub and config.guess
for file in config.guess config.sub; do for i in $(find
/home/ivan/projects/buildroot/output/build/host-pkgconf-0.8.9 -name $file);
do cp support/gnuconfig/$file $i; done; done
>>> host-pkgconf 0.8.9 Patching libtool
>>> host-pkgconf 0.8.9 Configuring
(cd /home/ivan/projects/buildroot/output/build/host-pkgconf-0.8.9/ && rm
-rf config.cache;
PATH=/home/ivan/projects/buildroot/output/host/bin:/home/ivan/projects/buildroot/output/host/usr/bin:/home/ivan/projects/git-repos/cakephp/lib/Cake/Console:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm"
CC="/home/ivan/projects/buildroot/output/host/usr/bin/ccache /usr/bin/gcc"
GCC="/home/ivan/projects/buildroot/output/host/usr/bin/ccache /usr/bin/gcc"
CXX="/home/ivan/projects/buildroot/output/host/usr/bin/ccache /usr/bin/g++"
CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib"
CPPFLAGS="-I/home/ivan/projects/buildroot/output/host/usr/include"
CFLAGS="-O2 -I/home/ivan/projects/buildroot/output/host/usr/include"
CXXFLAGS="-O2 -I/home/ivan/projects/buildroot/output/host/usr/include"
LDFLAGS="-L/home/ivan/projects/buildroot/output/host/lib
-L/home/ivan/projects/buildroot/output/host/usr/lib
-Wl,-rpath,/home/ivan/projects/buildroot/output/host/usr/lib"
PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1
PKG_CONFIG="/home/ivan/projects/buildroot/output/host/usr/bin/pkg-config"
PKG_CONFIG_SYSROOT_DIR="/"
PKG_CONFIG_LIBDIR="/home/ivan/projects/buildroot/output/host/usr/lib/pkgconfig:/home/ivan/projects/buildroot/output/host/usr/share/pkgconfig"
PERLLIB="/home/ivan/projects/buildroot/output/host/usr/lib/perl"
LD_LIBRARY_PATH="/home/ivan/projects/buildroot/output/host/usr/lib:"
CFLAGS="-O2 -I/home/ivan/projects/buildroot/output/host/usr/include"
LDFLAGS="-L/home/ivan/projects/buildroot/output/host/lib
-L/home/ivan/projects/buildroot/output/host/usr/lib
-Wl,-rpath,/home/ivan/projects/buildroot/output/host/usr/lib"  ./configure
--prefix="/home/ivan/projects/buildroot/output/host/usr"
--sysconfdir="/home/ivan/projects/buildroot/output/host/etc"
--enable-shared --disable-static --disable-gtk-doc --disable-doc
--disable-docs --disable-documentation --with-xmlto=no --with-fop=no   )
configure: WARNING: unrecognized options: --enable-shared,
--disable-static, --disable-gtk-doc, --disable-doc, --disable-docs,
--disable-documentation, --with-xmlto, --with-fop
checking for gcc...
/home/ivan/projects/buildroot/output/host/usr/bin/ccache /usr/bin/gcc
checking whether the C compiler works... no
configure: error: in
`/home/ivan/projects/buildroot/output/build/host-pkgconf-0.8.9':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: ***
[/home/ivan/projects/buildroot/output/build/host-pkgconf-0.8.9/.stamp_configured]
Error 77

I don't understand why the C compiler is not working.

Thank you very much,

best regards,

Ivan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131231/4b5403df/attachment.html>

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

* [Buildroot] Unable to compile qt5base
  2013-12-31 15:23 [Buildroot] Unable to compile qt5base Ivan Wagner
@ 2013-12-31 19:22 ` Baruch Siach
  0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2013-12-31 19:22 UTC (permalink / raw)
  To: buildroot

Hi Ivan,

On Tue, Dec 31, 2013 at 04:23:08PM +0100, Ivan Wagner wrote:
> I'm trying to compile qt5base by issuing the following command after
> buildroot has been configured: make qt5base-config
> 
> I'm using Mentor Graphics' v. arm-2013.11.0.33 as an external toolchain.
> 
> For some reason I need to compile pkgconf and somehow I'm unable to
> compile...

[...]

> checking whether the C compiler works... no
> configure: error: in
> `/home/ivan/projects/buildroot/output/build/host-pkgconf-0.8.9':
> configure: error: C compiler cannot create executables

Something is wrong with your host toolchain (not the Codesourcery one).

Your error message says:

> See `config.log' for more details
> make: ***
> [/home/ivan/projects/buildroot/output/build/host-pkgconf-0.8.9/.stamp_configured]
> Error 77

Check the file at output/build/host-pkgconf-0.8.9/config.log, and see what is 
the exact error message of this test.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

* [Buildroot] Unable to compile qt5base
@ 2014-01-01 22:29 Ivan Wagner
  0 siblings, 0 replies; 3+ messages in thread
From: Ivan Wagner @ 2014-01-01 22:29 UTC (permalink / raw)
  To: buildroot

It seems that by removing the compiler cache option it works... But I don't
know why it was stopping though.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140101/5c9119ef/attachment.html>

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

end of thread, other threads:[~2014-01-01 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-31 15:23 [Buildroot] Unable to compile qt5base Ivan Wagner
2013-12-31 19:22 ` Baruch Siach
  -- strict thread matches above, loose matches on Subject: below --
2014-01-01 22:29 Ivan Wagner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox