Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. "Error: register or shift expression expected" when making qt4.7.0
Forum Updated to NodeBB v4.3 + New Features

"Error: register or shift expression expected" when making qt4.7.0

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 3 Posters 3.7k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wowy
    wrote on last edited by
    #1

    Hi, I am currently working with qt 4.5.1 and the arm-gcc 3.4.5 (i can't seems to use an higer version of gcc) and i had no problem with it.
    I wanted to see if i could upgrade my work to qt 4.7.0. I configured it like my old qt source :

    ./configure -embedded arm -no-armfpa -big-endian -qt-gfx-transformed -qt-gfx-linuxfb -nomake demos -nomake examples -no-svg -no-phonon -no-qt3support -no-feature-CURSOR -qt-mouse-tslib -L/usr/local/lib -I/usr/local/include
    

    No problem there but when i "make" it i have the errors :

    text/qfontengine_ft.cpp: In member function `bool QFontEngineFT::init(QFontEngine::FaceId, bool, QFontEngineFT::GlyphFormat)':
    text/qfontengine_ft.cpp:708: warning: converting to `int' from `qreal'
    {standard input}: Assembler messages:
    {standard input}:806: Error: register or shift expression expected -- `orr r3,r2,lsl#16'
    {standard input}:817: Error: register or shift expression expected -- `orr r2,r3,lsl#16'
    {standard input}:7938: Error: register or shift expression expected -- `orr r1,r3,lsl#16'
    {standard input}:7951: Error: register or shift expression expected -- `orr r3,r0,lsl#16'
    make[1]: *** [.obj/release-shared-emb-arm/qfontengine_ft.o] Error 1
    make[1]: Leaving directory `/home/spi/installQt/qt-everywhere-opensource-src-4.7.0/src/gui'
    make: *** [sub-gui-make_default-ordered] Error 2
    

    I am working on a ubutun 14.04 64 bits and my final target is 32 bits.
    I would think the errors are related to this because of the warning: converting to int' from qreal' but it worked on 4.5.1.
    Any idea why this is happening and how i could solve this ?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Have you tried with Qt 4.8.6 (not sure if it will compile using such ancient GCC)? Maybe it is a bug and has already been fixed?

      (Z(:^

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jalotem
        Banned
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved