qt-embedded cross-compile

Dein Thema passt einfach in kein Forum? Dann probiers mal hier.
kuberka
Beiträge: 26
Registriert: 8. Februar 2006 09:17

Beitrag von kuberka »

So dies musste man für uic,moc und rcc machen,

nun tritt aber leider der nachfolgende Fehler auf.


gmake[3]: Entering directory `/tmp/qtopia-core-commercial-src-4.1.2/src/corelib'
/opt/emlix/netdcu6/bin/mipsel-linux-gcc -c -pipe -I/opt/emlix/netdcu6/include -g -Wall -W -D_REENTRANT -fPIC -DQT_SHARE DQT_EDITION=QT_EDITION_DESKTOP -D_MIPS_SZPTR=32 -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-mips-g++ -I. -I../../include -I../../include/QtCore -Ig al -I.moc/debug-shared-emb-mips -I. -o .obj/debug-shared-emb-mips/qatomic32.o arch/mips/qatomic32.s
arch/mips/qatomic32.s: Assembler messages:
arch/mips/qatomic32.s:9: Error: opcode not supported on this processor: mips1 (mips1) `ll $8,0($4)'
arch/mips/qatomic32.s:12: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,0($4)'
arch/mips/qatomic32.s:24: Error: opcode not supported on this processor: mips1 (mips1) `ll $8,0($4)'
arch/mips/qatomic32.s:27: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,0($4)'
arch/mips/qatomic32.s:32: Error: opcode not supported on this processor: mips1 (mips1) `sync'
arch/mips/qatomic32.s:40: Error: opcode not supported on this processor: mips1 (mips1) `sync'
arch/mips/qatomic32.s:41: Error: opcode not supported on this processor: mips1 (mips1) `ll $8,0($4)'
arch/mips/qatomic32.s:44: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,0($4)'
arch/mips/qatomic32.s:56: Error: opcode not supported on this processor: mips1 (mips1) `ll $8,0($4)'
arch/mips/qatomic32.s:59: Error: opcode not supported on this processor: mips1 (mips1) `sc $2,0($4)'
gmake[3]: *** [.obj/debug-shared-emb-mips/qatomic32.o] Error 1
gmake[3]: Leaving directory `/tmp/qtopia-core-commercial-src-4.1.2/src/corelib'
gmake[2]: *** [debug-all] Error 2
gmake[2]: Leaving directory `/tmp/qtopia-core-commercial-src-4.1.2/src/corelib'
gmake[1]: *** [sub-corelib-make_default-ordered] Error 2
gmake[1]: Leaving directory `/tmp/qtopia-core-commercial-src-4.1.2/src'
gmake: *** [sub-src-make_default-ordered] Error 2
kuberka
Beiträge: 26
Registriert: 8. Februar 2006 09:17

Beitrag von kuberka »

hi nachdem ich nun mit -embedded mips3 konfiguriert hatte gings.

Nun habe ich noch das nachfolgende Problem


/tmp/qtopia-core-commercial-src-4.1.2/bin/moc -DQT_SHARED -DQT_EDITION=QT_EDITION_DESKTOP -D_MIPS_SZPTR=32 -DQT_BUILD_CORE_LIB -DQT_NO_CAST_TO_ASCII -DQT3_SUPPORT -DQT_MOC_COMPAT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/qws/linux-mips-g++ -I. -I../../include -I../../include/QtCore -Iglobal -I.moc/debug-shared-emb-mips4 -I. io/qbuffer.h -o .moc/debug-shared-emb-mips4/moc_qbuffer.cpp
/tmp/qtopia-core-commercial-src-4.1.2/bin/moc: /tmp/qtopia-core-commercial-src-4.1.2/bin/moc: cannot execute binary file
gmake[3]: *** [.moc/debug-shared-emb-mips4/moc_qbuffer.cpp] Error 126
gmake[3]: Leaving directory `/tmp/qtopia-core-commercial-src-4.1.2/src/corelib'
gmake[2]: *** [debug-all] Error 2
gmake[2]: Leaving directory `/tmp/qtopia-core-commercial-src-4.1.2/src/corelib'
gmake[1]: *** [sub-corelib-make_default-ordered] Error 2
gmake[1]: Leaving directory `/tmp/qtopia-core-commercial-src-4.1.2/src'
gmake: *** [sub-src-make_default-ordered] Error 2
linux:/tmp/qtopia-core-commercial-src-4.1.2 #


Gruss

Torsten
BartSimpson
Beiträge: 1379
Registriert: 6. November 2004 12:03
Kontaktdaten:

Beitrag von BartSimpson »

Was sagt file /tmp/qtopia-core-commercial-src-4.1.2/bin/moc
ist das etwas eine Datei für mips? Wenn ja kann es ja nicht klappen.
kuberka
Beiträge: 26
Registriert: 8. Februar 2006 09:17

Beitrag von kuberka »

Ja die moc datei habe ich für mips kompiliert.

Das problem ist, das diverse moc_*** file nicht in dem entsprechendem Ordener liegen.

Habe sie x86 ordner rüber kopiert, dann bin ich ein stück weiter gekommen.

Jetzt hänge ich wieder.

Werde aber erst morgen weiter machen.

Grüsse

Torsten
Antworten