All of lore.kernel.org
 help / color / mirror / Atom feed
* troubles building rule qt4-embedded
@ 2011-05-03  7:16 Bosi Daniele
  2011-05-03  7:29 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Bosi Daniele @ 2011-05-03  7:16 UTC (permalink / raw)
  To: 'openembedded-devel@lists.openembedded.org'

Guys,
I have got some troubles building the rule qt4-embedded, during the build of "meta-toolchain-qte".
I'm working on an embedded board with a mpc5121 powerpc, using a "angstrom-2008.1" machine.

Down here I post the output of the building process. After a first look it seems like the makefile has an "-mmmx" option that is unsupported from the powerpc-linux-g++ compiler.
Someone has any suggestions to fix this problem?

Thanks, bye
Daniele


...
NOTE: Handling BitBake files: \ (6705/6705) [100 %]
NOTE: Parsing finished. 6405 cached, 0 parsed, 300 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 1074 of 1527 (ID: 5, /opt/OE/org.cnh_fred.dev/recipes/qt4/qt4-embedded_4.5.1.bb, do_configure)
ERROR: function do_configure failed
ERROR: log data follows (/opt/OE/build_cnh_fred/tmp.1/work/ppce300c3-linux/qt4-embedded-4.5.1-r14.1/temp/log.do_configure.19177)
| Which edition of Qt do you want to use ?
|
| Type 'c' if you want to use the Commercial Edition.
| Type 'o' if you want to use the Open Source Edition.
|
|
| Determining system architecture... (Linux:2.6.24-26-server:i686)
|     32-bit Intel 80x86 (i386)
|     'powerpc' is supported
|     'i386' is supported
| System architecture: 'powerpc'
| Host architecture: 'i386'
| Separate debug info support disabled.
| Symbol visibility control enabled.
| Symbolic function binding enabled.
|
| This is the Qt for Embedded Linux Open Source Edition.
|
| You are licensed to use this software under the terms of
| the GNU General Public License (GPL) versions 3.
| You are also licensed to use this software under the terms of
| the Lesser GNU General Public License (LGPL) versions 2.1.
|
| Type '3' to view the GNU General Public License version 3.
| Type 'L' to view the Lesser GNU General Public License version 2.1.
| Type 'yes' to accept this license offer.
| Type 'no' to decline this license offer.
|
| Do you accept the terms of either license?
| floatmath auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o floatmath.o floatmath.cpp
| floatmath.cpp:3: warning: unused parameter 'argc'
| floatmath.cpp:3: warning: unused parameter 'argv'
| ccache powerpc-linux-g++ -mcpu=e300c3 -L/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/lib -Wl,-rpath-link,/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -o floatmath floatmath.o     -L/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/lib
| floatmath enabled.
| mmx auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -mmmx -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o mmx.o mmx.cpp
| cc1plus: error: unrecognized command line option "-mmmx"
| make: *** [mmx.o] Error 1
| mmx disabled.
| 3dnow auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -m3dnow -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o 3dnow.o 3dnow.cpp
| cc1plus: error: unrecognized command line option "-m3dnow"
| make: *** [3dnow.o] Error 1
| 3dnow disabled.
| sse auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -msse -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o sse.o sse.cpp
| cc1plus: error: unrecognized command line option "-msse"
| make: *** [sse.o] Error 1
| sse disabled.
| sse2 auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -msse2 -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o sse2.o sse2.cpp
| cc1plus: error: unrecognized command line option "-msse2"
| make: *** [sse2.o] Error 1
| sse2 disabled.
| libtiff auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o libtiff.o libtiff.cpp
| libtiff.cpp:4:6: error: #error "Required libtiff not found"
| make: *** [libtiff.o] Error 1
| libtiff disabled.
| libmng auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o libmng.o libmng.cpp
| libmng.cpp:1:20: error: libmng.h: No such file or directory
| libmng.cpp:9:2: error: #error System libmng version is less than 1.0.9; using built-in version instead.
| libmng.cpp: In function 'int main(int, char**)':
| libmng.cpp:5: error: 'mng_handle' was not declared in this scope
| libmng.cpp:5: error: expected `;' before 'hMNG'
| libmng.cpp:6: error: 'hMNG' was not declared in this scope
| libmng.cpp:6: error: 'mng_cleanup' was not declared in this scope
| make: *** [libmng.o] Error 1
| libmng disabled.
| DB2 auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o db2.o db2.cpp
| db2.cpp:1:20: error: sqlcli.h: No such file or directory
| db2.cpp:2:21: error: sqlcli1.h: No such file or directory
| make: *** [db2.o] Error 1
| DB2 disabled.
| MySQL (thread-safe) auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o mysql.o ../mysql/mysql.cpp
| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/mysql
| cc1plus: internal compiler error: in add_path, at c-incpath.c:371
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://gcc.gnu.org/bugs.html> for instructions.
| make: *** [mysql.o] Error 1
| MySQL (thread-safe) disabled.
| MySQL (thread-unsafe) auto-detection... ()
| ccache powerpc-linux-g++ -mcpu=e300c3 -c -pipe -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -isystem/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -fpermissive -fvisibility-inlines-hidden -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/freetype2 -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/mysql -I/opt/OE/build_cnh_fred/tmp.1/staging/ppce300c3-linux/usr/include/postgresql -I. -o mysql.o mysql.cpp
| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/mysql
| cc1plus: internal compiler error: in add_path, at c-incpath.c:371
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <URL:http://gcc.gnu.org/bugs.html> for instructions.
| make: *** [mysql.o] Error 1
| MySQL (thread-unsafe) disabled.
| MySQL support cannot be enabled due to functionality tests!
|  Turn on verbose messaging (-v) to ./configure to see the final report.
|  If you believe this message is in error you may use the continue
|  switch (-continue) to ./configure to continue.
NOTE: Task failed: /opt/OE/build_cnh_fred/tmp.1/work/ppce300c3-linux/qt4-embedded-4.5.1-r14.1/temp/log.do_configure.19177
ERROR: TaskFailed event exception, aborting
ERROR: Build of /opt/OE/org.cnh_fred.dev/recipes/qt4/qt4-embedded_4.5.1.bb do_configure failed
ERROR: Task 5 (/opt/OE/org.cnh_fred.dev/recipes/qt4/qt4-embedded_4.5.1.bb, do_configure) failed
NOTE: Tasks Summary: Attempted 1073 tasks of which 1073 didn't need to be rerun and 1 failed.
ERROR: '/opt/OE/org.cnh_fred.dev/recipes/qt4/qt4-embedded_4.5.1.bb' failed





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

* Re: troubles building rule qt4-embedded
  2011-05-03  7:16 troubles building rule qt4-embedded Bosi Daniele
@ 2011-05-03  7:29 ` Koen Kooi
  0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2011-05-03  7:29 UTC (permalink / raw)
  To: openembedded-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03-05-11 09:16, Bosi Daniele wrote:
> Guys,
> I have got some troubles building the rule qt4-embedded, during the build of "meta-toolchain-qte".
> I'm working on an embedded board with a mpc5121 powerpc, using a "angstrom-2008.1" machine.
> 
> Down here I post the output of the building process. After a first look it seems like the makefile has an "-mmmx" option that is unsupported from the powerpc-linux-g++ compiler.
> Someone has any suggestions to fix this problem?


> NOTE: Running task 1074 of 1527 (ID: 5, /opt/OE/org.cnh_fred.dev/recipes/qt4/qt4-embedded_4.5.1.bb, do_configure)

There's no 4.5.1 in the maintenance branch, so you are using a really
old version. Please update to the latest
(http://cgit.openembedded.org/cgit.cgi/openembedded/log/?h=2011.03-maintenance)
before reporting a bug.

The easiest way to setup the maintenance branch for angstrom would be to
follow the instructions at
http://www.angstrom-distribution.org/building-angstrom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNv67GMkyGM64RGpERAi2LAKCYByyvMO4fqplq5Tk5MzlzwMpkvACfeJbC
7muMZbTQO2CALWZ/3tax+WM=
=SyM0
-----END PGP SIGNATURE-----




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

end of thread, other threads:[~2011-05-03  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-03  7:16 troubles building rule qt4-embedded Bosi Daniele
2011-05-03  7:29 ` Koen Kooi

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.