2009-10-25 11:39:42     qt-embedded 4.5.1 compile error

Document created by Aaronwu Employee on Aug 19, 2013
Version 1Show Document
  • View in full screen mode

2009-10-25 11:39:42     qt-embedded 4.5.1 compile error

Mike Tsukerman (RUSSIAN FEDERATION)

Message: 81688   

 

Hi,

 

I'm trying to build qt-embedded 4.5.1 , but i have this

 

QT_RASTER_PAINTENGINE -DQT_NO_FONTCONFIG -DQT_NO_FREETYPE -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_GTK -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/mkspecs/qws/linux-bfin-fdpic-g++ -I/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/gui -I../../include/QtCore -I../../include/QtNetwork -I../../include -I../../include/QtGui -I.rcc/release-shared-emb-bfin -I/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/3rdparty/harfbuzz/src -I/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/gui/dialogs -I.moc/release-shared-emb-bfin -I.uic/release-shared-emb-bfin -I. -o .obj/release-shared-emb-bfin/qfontsubset.o /home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/gui/text/qfontsubset.cpp

/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/gui/text/qfontengine.cpp: In function ‘void qt_addBitmapToPath(qreal, qreal, const uchar*, int, int, int, QPainterPath*)’:

/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/gui/text/qfontengine.cpp:525: error: unable to find a register to spill in class ‘CCREGS’

/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/gui/text/qfontengine.cpp:525: error: this is the insn:

(insn 47 46 52 31 /home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/gui/text/qfontengine.cpp:498 (set (reg:BI 22 B2 [313])

        (eq:BI (reg:SI 0 R0 [182])

            (const_int 0 [0x0]))) 117 {compare_eq} (expr_list:REG_DEAD (reg:SI 0 R0 [182])

        (nil)))

/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/qt-embedded-linux-opensource-src-4.5.1/src/gui/text/qfontengine.cpp:525: confused by earlier errors, bailing out

make[5]: *** [.obj/release-shared-emb-bfin/qfontengine.o] Error 1

make[5]: *** Waiting for unfinished jobs....

make[5]: Leaving directory `/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1/src/gui'

make[4]: *** [sub-gui-install_subtargets-ordered] Error 2

make[4]: Leaving directory `/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded/build-qt-embedded-linux-opensource-src-4.5.1'

make[3]: *** [all] Error 2

make[3]: Leaving directory `/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib/qt-embedded'

make[2]: *** [qt-embedded] Error 2

make[2]: Leaving directory `/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/warzon/blackfin-sources/2009R1/uclinux-2009R1/lib'

make: *** [subdirs] Error 1

 

 

Does anyone knows how to solve it?

 

 

 

Best regards,

 

Mike Tsukerman.

QuoteReplyEditDelete

 

 

2009-10-27 01:16:11     Re: qt-embedded 4.5.1 compile error

Mike Tsukerman (RUSSIAN FEDERATION)

Message: 81732   

 

Solved! The problem was in gcc version. I've rebuild toolchain 2009R1 for gcc 4.1 and qt-embedded 4.5.1 compiled correctly.

QuoteReplyEditDelete

 

 

2009-11-02 18:09:57     Re: qt-embedded 4.5.1 compile error

Alex Williams (RUSSIAN FEDERATION)

Message: 82004   

 

Privet (hello)! ^_^

 

I'm also msolved this problem by using older version of GCC - 4.1. Now I have another problem - all Qt demos and examples - crashed (I have a lot of free mem - I have 128 Mbytes RAM on my board)...

 

1) I noticed, that all Qt applications on uClinux crashed when using qws option... Hot to solve crashes?

 

2) I do not have any video device on my Blackfin board, so I want to use VNC server... I need to specify one options when configuring QtE, but how to specify that when building QtE in context of uClinux-dist?..

 

> Solved! The problem was in gcc version. I've rebuild toolchain 2009R1 for gcc 4.1 and qt-embedded 4.5.1 compiled correctly.

QuoteReplyEditDelete

 

 

2009-11-02 18:17:41     Re: qt-embedded 4.5.1 compile error

Mike Frysinger (UNITED STATES)

Message: 82005   

 

in the future, please start new threads for new questions

 

the vnc option should be always enabled by default.  just read the QTE Makefile in the dist.

Attachments

    Outcomes