[QtonPi] Fwd: Beginner's problem compiling Qt5

Daniel Bittencourt danielcbit at gmail.com
Tue Aug 21 17:23:15 CEST 2012


Hi Paulo.

The file you asked is not even created.

I'm attaching the log I get when running with -v.

Thanks!

On Tue, Aug 21, 2012 at 11:15 AM, paulovictor.pinheiro at gmail.com <
paulovictor.pinheiro at gmail.com> wrote:

>
>
> ---------- Forwarded message ----------
> From: paulovictor.pinheiro at gmail.com <paulovictor.pinheiro at gmail.com>
> Date: Tue, Aug 21, 2012 at 12:11 PM
> Subject: Re: [QtonPi] Beginner's problem compiling Qt5
> To: Daniel Bittencourt <danielcbit at gmail.com>
>
>
> Hi Daniel,
>
> Could you show your qtbase/mkspecs/qconfig.pri(after trying to
> ./configure)? I cannot answer why this is happening, maybe i missed
> something. When i get home i will check all the steps again e see if
> something is missing, but that happened to me too..Anyone have any clues?
>
>
> On Tue, Aug 21, 2012 at 12:04 PM, Daniel Bittencourt <danielcbit at gmail.com
> > wrote:
>
>> Hi Paulo. Thanks for the great work! But i have to say I'm having some
>> problems too.
>>
>> I'm stuck on the “Could not determine the target architecture!” and “Could
>> not determine the host architecture!” messagens too. I already made a
>> git clean but nothing changed.
>>
>> Also, is there any package you had to install to get Qt5 to build?
>>
>> Thanks!
>>
>>
>> On Tue, Aug 21, 2012 at 7:40 AM, paulovictor.pinheiro at gmail.com <
>> paulovictor.pinheiro at gmail.com> wrote:
>>
>>>
>>>
>>> On Tue, Aug 21, 2012 at 6:55 AM, SCHMOLTZI Dirk (ISL-OTB) <
>>> Dirk.SCHMOLTZI at isl.eu> wrote:
>>>
>>>>  Hello,****
>>>>
>>>> First let me thank you for the nice beginners guide. Here are my
>>>> experiences with it:****
>>>>
>>>> When initialising the qt5 repository I had to run “./init-repository
>>>> –f” several times because some requests timed out, otherwise it all went
>>>> well up to the point where I wanted to configure qtbase.
>>>>
>>> I think this is a gitorious problem, happened to me too!
>>>
>>>
>>>> ****
>>>>
>>>> In the ./configure step of compiling qtbase the script stops with two
>>>> errors saying:****
>>>>
>>>> “Could not determine the target architecture!”****
>>>>
>>>> “Could not determine the host architecture!”****
>>>>
>>>> Which is where I am stuck at the moment.****
>>>>
>>>> Otherwise I found the instructions easy to follow.****
>>>>
>>>> **
>>>>
>>> I had the same problem, but it happened to me because of leftover
>>> configuration from a previous unsuccessful build.
>>> To fix i did the following commands on qtbase folder:
>>>  $git reset --hard
>>>  $git clean  -dxf
>>> and tried the configure step again. It should work..
>>>
>>> Check if your target arch and host arch is correct in
>>> the qtbase/mkspecs/qconfig.pri file(after ./configure).
>>>
>>> **
>>>>
>>>> Since I have no idea how to fix that I hope for some suggestions in the
>>>> troubleshooting section of the guide which might help me J****
>>>>
>>>> ** **
>>>>
>>>> Thanks in advance and keep up the good work****
>>>>
>>>> ** **
>>>>
>>>> Dirk****
>>>>
>>>>  ****
>>>>
>>>> *Von:* qtonpi-bounces+dirk.schmoltzi=isl.eu at qt-project.org [mailto:
>>>> qtonpi-bounces+dirk.schmoltzi=isl.eu at qt-project.org] *Im Auftrag von *
>>>> paulovictor.pinheiro at gmail.com
>>>> *Gesendet:* Dienstag, 21. August 2012 05:08
>>>> *An:* martin.bjorkstrom at gmail.com
>>>> *Cc:* qtonpi at qt-project.org
>>>> *Betreff:* Re: [QtonPi] Beginner's problem compiling Qt5****
>>>>
>>>> ** **
>>>>
>>>> Hello Everyone,****
>>>>
>>>> ** **
>>>>
>>>> I finished the beginner's guide(
>>>> http://qt-project.org/wiki/RaspberryPi_Beginners_guide). Please feel
>>>> free to correct and improve it. Should i add a link to it in the Qtonpi's
>>>> wiki main page? Hope it helps.****
>>>>
>>>> ** **
>>>>
>>>> Att,****
>>>>
>>>> ** **
>>>>
>>>> Paulo Pinheiro****
>>>>
>>>> ** **
>>>>
>>>> On Sat, Aug 18, 2012 at 5:16 AM, <martin.bjorkstrom at gmail.com> wrote:**
>>>> **
>>>>
>>>> Paolo,****
>>>>
>>>> ** **
>>>>
>>>> Adding:****
>>>>
>>>> INCLUDEPATH += <path to Qt5 includes>****
>>>>
>>>> To your projects pro-file should fix auto completion in Qt Creator.****
>>>>
>>>> ** **
>>>>
>>>> Br,****
>>>>
>>>> Martin****
>>>>
>>>> ** **
>>>>
>>>> On 17.8.2012 5:18 paulovictor.pinheiro at gmail.com wrote:****
>>>>
>>>> Well,****
>>>>
>>>> ** **
>>>>
>>>> I finally could compile it and work flawlessly. The main issue with my
>>>> build was the leftover from an old failure build. Because of that i could
>>>> not compile V8 due to missing information such as target arch and host arch
>>>> (both where "unknown" on mkspecs). Floris tip solved the Qt creator
>>>> configuration problem, but still could not recognize the Qt5 classes and do
>>>> autocomplete. I'm writing a simple guide(
>>>> http://qt-project.org/wiki/RaspberryPi_Beginners_guide) to this
>>>> compilation showing all the command lines and a troubleshooting section,
>>>> but its far from complete..so lot of work to do :)****
>>>>
>>>> ** **
>>>>
>>>> Att,****
>>>>
>>>> ** **
>>>>
>>>> Paulo Pinheiro****
>>>>
>>>> ** **
>>>>
>>>> On Tue, Aug 14, 2012 at 10:31 PM, paulovictor.pinheiro at gmail.com <
>>>> paulovictor.pinheiro at gmail.com> wrote:****
>>>>
>>>> Well i'm taking notes but i did not get anything running on pi
>>>> yet(using wheezy). But as soon as i grok it in fullness i will try to
>>>> improve the wiki. I seems to me that is pretty much everything in there,
>>>> just need some love.****
>>>>
>>>> ** **
>>>>
>>>> Att,****
>>>>
>>>> Paulo Pinheiro****
>>>>
>>>>
>>>> On Aug 14, 2012 6:44 PM, "Felipe Crochik" <qt-project at b2-4ac.com>
>>>> wrote:
>>>> >
>>>> > Paulo,
>>>> >
>>>> > Since you are going trough the whole experience from scratch, would
>>>> you mind sharing with the rest of us the steps and details of your journey?
>>>> >
>>>> > I would like to be able to compile instructions in enough detail that
>>>> qt developers could follow even without experience on cross-compiling,
>>>> embedded, linux and rasppi.
>>>> >
>>>> > Thanks,
>>>> >
>>>> > Felipe
>>>> >
>>>> >
>>>> > On Tuesday, August 14, 2012, paulovictor.pinheiro at gmail.com <
>>>> paulovictor.pinheiro at gmail.com> wrote:
>>>> > > I overlooked the fixQualifiedLibraryPaths, but i could get to
>>>> compile everything, altough i could not try to compile an example, because
>>>> when configuring qt5 on Qt Creator i got the error message "The default
>>>> mkspec symlink is broken".. don't know what to do right now, i'll check why
>>>> this is happening and maybe redo it all over again.
>>>> > > On Tue, Aug 14, 2012 at 7:13 AM, Samuel Rødal <
>>>> samuel.rodal at nokia.com> wrote:
>>>> > >>
>>>> > >> On 08/14/2012 09:16 AM, ext Samuel Rødal wrote:
>>>> > >> > On 08/14/2012 04:00 AM, ext paulovictor.pinheiro at gmail.comwrote:
>>>> > >> >> It Worked! But now i'm facing problems when compiling
>>>> > >> >> qtjsbackend(altough some other modules compiled fine).
>>>> > >> >
>>>> > >> > What did you change to get qtbase building?
>>>> > >>
>>>> > >> Ok, seems the issue was failing to run the fixQualifiedLibraryPaths
>>>> > >> script successfully, as documented here:
>>>> > >> http://qt-project.org/wiki/RaspberryPi
>>>> > >>
>>>> > >> --
>>>> > >> Samuel
>>>> > >> _______________________________________________
>>>> > >> QtonPi mailing list
>>>> > >> QtonPi at qt-project.org
>>>> > >> http://lists.qt-project.org/mailman/listinfo/qtonpi
>>>> > >
>>>> > >****
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>> ** **
>>>>
>>>
>>> Yours sincerely,
>>>
>>> Paulo Pinheiro
>>>
>>> _______________________________________________
>>> QtonPi mailing list
>>> QtonPi at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/qtonpi
>>>
>>>
>>
>
>
> _______________________________________________
> QtonPi mailing list
> QtonPi at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qtonpi
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qtonpi/attachments/20120821/98bc031d/attachment-0001.html 
-------------- next part --------------
Precompiled-headers support enabled.
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -fvisibility=hidden fvisibility.c
Symbol visibility control enabled.
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ --sysroot=/mnt/rasp-pi-rootfs -o libtest.so -shared -Wl,-Bsymbolic-functions -fPIC bsymbolic_functions.c
Symbolic function binding enabled.

This is the Qt Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.

You have already accepted the terms of the  license.

<srcbase> = /home/daniel/opt/qt5/qtbase 
<outbase> = /home/daniel/opt/qt5/qtbase 
Creating qmake. Please wait...
make: Nothing to be done for `first'.
Note: PKG_CONFIG_LIBDIR automatically set to /mnt/rasp-pi-rootfs/usr/lib/pkgconfig:/mnt/rasp-pi-rootfs/usr/share/pkgconfig:/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/pkgconfig
Note: PKG_CONFIG_SYSROOT_DIR automatically set to /mnt/rasp-pi-rootfs
Determining architecture... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -o arch arch.o   --sysroot=/mnt/rasp-pi-rootfs 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: arch uses VFP register arguments, arch.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file arch.o
collect2: error: ld returned 1 exit status
make: *** [arch] Error 1
Unable to determine architecture!

Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
Determining architecture... ()
g++ -m64 -o arch arch.o    
/usr/bin/ld: arch.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: arch.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: arch.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: arch.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: arch.o: Relocations in generic ELF (EM: 40)
/usr/bin/ld: arch.o: Relocations in generic ELF (EM: 40)
arch.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [arch] Error 1
Unable to determine architecture!

Could not determine the host architecture!
Turn on verbose messaging (-v) to see the final report.
System architecture: 'unknown'
Host architecture: 'unknown'
C++11 auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -std=c++0x -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o c++11.o c++11.cpp
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o c++11 c++11.o   --sysroot=/mnt/rasp-pi-rootfs 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: c++11 uses VFP register arguments, c++11.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file c++11.o
collect2: error: ld returned 1 exit status
make: *** [c++11] Error 1
C++11 disabled.
floatmath auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o floatmath.o floatmath.cpp
floatmath.cpp:44:5: warning: unused parameter ‘argc’ [-Wunused-parameter]
floatmath.cpp:44:5: warning: unused parameter ‘argv’ [-Wunused-parameter]
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o floatmath floatmath.o   --sysroot=/mnt/rasp-pi-rootfs 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: floatmath uses VFP register arguments, floatmath.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file floatmath.o
collect2: error: ld returned 1 exit status
make: *** [floatmath] Error 1
floatmath disabled.
sse2 auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -msse2 -g -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o sse2.o sse2.cpp
arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-msse2’
make: *** [sse2.o] Error 1
sse2 disabled.
sse3 auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -msse3 -g -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o sse3.o sse3.cpp
arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-msse3’
make: *** [sse3.o] Error 1
sse3 disabled.
ssse3 auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -mssse3 -g -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o ssse3.o ssse3.cpp
arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-mssse3’
make: *** [ssse3.o] Error 1
ssse3 disabled.
sse4_1 auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -msse4.1 -g -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o sse4_1.o sse4_1.cpp
arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-msse4.1’
make: *** [sse4_1.o] Error 1
sse4_1 disabled.
sse4_2 auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -msse4.2 -g -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o sse4_2.o sse4_2.cpp
arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-msse4.2’
make: *** [sse4_2.o] Error 1
sse4_2 disabled.
avx auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -mavx -g -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o avx.o avx.cpp
arm-linux-gnueabihf-g++: error: unrecognized command line option ‘-mavx’
make: *** [avx.o] Error 1
avx disabled.
zlib auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o zlib.o zlib.cpp
zlib.cpp: In function ‘int main(int, char**)’:
zlib.cpp:46:15: warning: variable ‘stream’ set but not used [-Wunused-but-set-variable]
zlib.cpp:48:17: warning: variable ‘ver’ set but not used [-Wunused-but-set-variable]
zlib.cpp:51:9: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o zlib zlib.o   --sysroot=/mnt/rasp-pi-rootfs -lz 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: zlib uses VFP register arguments, zlib.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file zlib.o
collect2: error: ld returned 1 exit status
make: *** [zlib] Error 1
zlib disabled.
libjpeg auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o libjpeg.o libjpeg.cpp
libjpeg.cpp:45:21: fatal error: jpeglib.h: No such file or directory
compilation terminated.
make: *** [libjpeg.o] Error 1
libjpeg disabled.
libpng auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o libpng.o libpng.cpp
libpng.cpp:42:17: fatal error: png.h: No such file or directory
compilation terminated.
make: *** [libpng.o] Error 1
libpng disabled.
DB2 auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o db2.o db2.cpp
db2.cpp:42:20: fatal error: sqlcli.h: No such file or directory
compilation terminated.
make: *** [db2.o] Error 1
DB2 disabled.
InterBase auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o ibase.o ibase.cpp
ibase.cpp:42:19: fatal error: ibase.h: No such file or directory
compilation terminated.
make: *** [ibase.o] Error 1
InterBase disabled.
MySQL (thread-safe) auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o mysql.o ../mysql/mysql.cpp
../mysql/mysql.cpp:42:19: fatal error: mysql.h: No such file or directory
compilation terminated.
make: *** [mysql.o] Error 1
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o mysql.o mysql.cpp
mysql.cpp:42:19: fatal error: mysql.h: No such file or directory
compilation terminated.
make: *** [mysql.o] Error 1
MySQL (thread-unsafe) disabled.
OCI auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o oci.o oci.cpp
oci.cpp:42:17: fatal error: oci.h: No such file or directory
compilation terminated.
make: *** [oci.o] Error 1
OCI disabled.
ODBC auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o odbc.o odbc.cpp
odbc.cpp:45:17: fatal error: sql.h: No such file or directory
compilation terminated.
make: *** [odbc.o] Error 1
ODBC disabled.
iODBC auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o iodbc.o iodbc.cpp
iodbc.cpp:42:17: fatal error: sql.h: No such file or directory
compilation terminated.
make: *** [iodbc.o] Error 1
iODBC disabled.
PostgreSQL auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o psql.o psql.cpp
psql.cpp:42:22: fatal error: libpq-fe.h: No such file or directory
compilation terminated.
make: *** [psql.o] Error 1
PostgreSQL disabled.
SQLite2 auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o sqlite2.o sqlite2.cpp
sqlite2.cpp:42:20: fatal error: sqlite.h: No such file or directory
compilation terminated.
make: *** [sqlite2.o] Error 1
SQLite2 disabled.
TDS auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o tds.o tds.cpp
tds.cpp:42:22: fatal error: sybfront.h: No such file or directory
compilation terminated.
make: *** [tds.o] Error 1
TDS disabled.
NIS auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o nis.o nis.cpp
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o nis nis.o   --sysroot=/mnt/rasp-pi-rootfs -lnsl 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: nis uses VFP register arguments, nis.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file nis.o
collect2: error: ld returned 1 exit status
make: *** [nis] Error 1
NIS disabled.
Cups auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o cups.o cups.cpp
cups.cpp:42:23: fatal error: cups/cups.h: No such file or directory
compilation terminated.
make: *** [cups.o] Error 1
Cups disabled.
POSIX iconv auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o iconv.o iconv.cpp
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o iconv iconv.o   --sysroot=/mnt/rasp-pi-rootfs 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: iconv uses VFP register arguments, iconv.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file iconv.o
collect2: error: ld returned 1 exit status
make: *** [iconv] Error 1
POSIX iconv disabled.
SUN libiconv auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o gnu-libiconv.o ../gnu-libiconv/gnu-libiconv.cpp
../gnu-libiconv/gnu-libiconv.cpp: In function ‘int main(int, char**)’:
../gnu-libiconv/gnu-libiconv.cpp:54:46: error: invalid conversion from ‘const char**’ to ‘char**’ [-fpermissive]
In file included from ../gnu-libiconv/gnu-libiconv.cpp:45:0:
/mnt/rasp-pi-rootfs/usr/include/iconv.h:43:15: error:   initializing argument 2 of ‘size_t iconv(iconv_t, char**, size_t*, char**, size_t*)’ [-fpermissive]
make: *** [gnu-libiconv.o] Error 1
SUN libiconv disabled.
GNU libiconv auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o gnu-libiconv.o gnu-libiconv.cpp
gnu-libiconv.cpp: In function ‘int main(int, char**)’:
gnu-libiconv.cpp:54:46: error: invalid conversion from ‘const char**’ to ‘char**’ [-fpermissive]
In file included from gnu-libiconv.cpp:45:0:
/mnt/rasp-pi-rootfs/usr/include/iconv.h:43:15: error:   initializing argument 2 of ‘size_t iconv(iconv_t, char**, size_t*, char**, size_t*)’ [-fpermissive]
make: *** [gnu-libiconv.o] Error 1
GNU libiconv disabled.
D-Bus auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -I/mnt/rasp-pi-rootfs/usr/include/dbus-1.0 -I/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -o dbus.o dbus.cpp
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o dbus dbus.o   --sysroot=/mnt/rasp-pi-rootfs -L/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -ldbus-1 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: dbus uses VFP register arguments, dbus.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file dbus.o
collect2: error: ld returned 1 exit status
make: *** [dbus] Error 1
D-Bus disabled.
Glib auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -I/mnt/rasp-pi-rootfs/usr/include/glib-2.0 -I/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf/glib-2.0/include -o glib.o glib.cpp
glib.cpp: In function ‘int main(int, char**)’:
glib.cpp:48:19: warning: variable ‘context’ set but not used [-Wunused-but-set-variable]
glib.cpp:55:38: warning: ‘pollfd’ is used uninitialized in this function [-Wuninitialized]
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o glib glib.o   --sysroot=/mnt/rasp-pi-rootfs -pthread -L/mnt/rasp-pi-rootfs/usr/lib/arm-linux-gnueabihf -lgthread-2.0 -lrt -lglib-2.0 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: glib uses VFP register arguments, glib.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file glib.o
collect2: error: ld returned 1 exit status
make: *** [glib] Error 1
Glib disabled.
ICU auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o icu.o icu.cpp
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o icu icu.o   --sysroot=/mnt/rasp-pi-rootfs -licuuc -licui18n 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: icu uses VFP register arguments, icu.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file icu.o
collect2: error: ld returned 1 exit status
make: *** [icu] Error 1
ICU disabled.
PulseAudio auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -o pulseaudio.o pulseaudio.cpp
pulseaudio.cpp:42:30: fatal error: pulse/pulseaudio.h: No such file or directory
compilation terminated.
make: *** [pulseaudio.o] Error 1
PulseAudio disabled.
OpenGL ES 2.x auto-detection... ()
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -c -pipe -marm -mfpu=vfp -mtune=arm1176jzf-s -march=armv6zk -mabi=aapcs-linux -mfloat-abi=softfp --sysroot=/mnt/rasp-pi-rootfs -O2 -Wall -W -fPIE  -I../../../mkspecs/devices/linux-rasp-pi-g++ -I. -I/mnt/rasp-pi-rootfs/opt/vc/include -I/mnt/rasp-pi-rootfs/opt/vc/include/interface/vcos/pthreads -o opengles2.o opengles2.cpp
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/arm-linux-gnueabihf-g++ -Wl,-rpath-link,/mnt/rasp-pi-rootfs/opt/vc/lib -Wl,-O1 -o opengles2 opengles2.o   --sysroot=/mnt/rasp-pi-rootfs -L/mnt/rasp-pi-rootfs/opt/vc/lib -lGLESv2 -lEGL 
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: error: opengles2 uses VFP register arguments, opengles2.o does not
/home/daniel/opt/gcc-4.7-linaro-rpi-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/4.7.2/../../../../arm-linux-gnueabihf/bin/ld: failed to merge target specific data of file opengles2.o
collect2: error: ld returned 1 exit status
make: *** [opengles2] Error 1
OpenGL ES 2.x disabled.
The OpenGL ES 2.0 functionality test failed!
 You might need to modify the include and library search paths by editing
  QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in
   /home/daniel/opt/qt5/qtbase/mkspecs/devices/linux-rasp-pi-g++.
   *** qtbase/configure exited with non-zero status.


More information about the QtonPi mailing list