Results 1 to 12 of 12

Thread: gcc 4.1.1 and qt 4.2 installation problem

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    52
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default gcc 4.1.1 and qt 4.2 installation problem

    Hi

    When I try to configure & compile the qt 4.2 OS edition I get the following error:

    g++ -c -oqlocale.o -O -I. -Igenerators -Igenerators\unix -Igenerators\win32 -Igenerators\mac -I..\src\corelib\arch\generic -I..\include -I ..\include\QtCore -I..\src\tools -I..\mkspecs\win32-g++ -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQMAKE_OPENSOURCE_EDITION ..\src\corelib\tools\qlocale.cpp
    ..\src\corelib\tools\qlocale.cpp: In function 'char* qdtoa(double, int, int, int*, int*, char**, char**)':
    ..\src\corelib\tools\qlocale.cpp:5630: error: '_clear87' was not declared in this scope
    ..\src\corelib\tools\qlocale.cpp:5631: error: '_control87' was not declared in this scope
    mingw32-make: *** [qlocale.o] Error 1
    If it will help I'm running xp sp2 on athlon amd using gcc 4.11
    this is what the configure script start with:
    $ configure -qt-gif

    This is the Qt/Windows Open Source Edition.

    You are licensed to use this software under the terms of
    the GNU General Public License.

    Type '?' to view the GNU General Public License.
    Type 'y' to accept this license offer.
    Type 'n' to decline this license offer.

    Do you accept the terms of the license?
    y
    Environment:
    INCLUDE=
    Unset
    LIB=
    Unset
    PATH=
    .
    C:\msys\1.0\local\bin
    C:\msys\1.0\mingw\bin
    C:\msys\1.0\bin
    c:\WINDOWS\system32
    c:\WINDOWS
    c:\WINDOWS\System32\Wbem
    c:\Program Files\Common Files\Adobe\AGL
    c:\Program Files\QuickTime\QTSystem\
    C:\msys\1.0\mingw\bin\
    You are licensed to use this software under the terms of the GNU GPL.
    See C:\qt\4.2.0/LICENSE.GPL

    Configuration:
    minimal-config
    small-config
    medium-config
    large-config
    full-config
    build_all
    debug
    Qt Configuration:
    release
    debug
    zlib
    png
    accessibility
    qt3support
    opengl
    ipv6

    QMAKESPEC...................win32-g++ (detected)
    Architecture................windows
    Maketool....................mingw32-make
    Debug symbols...............yes
    Accessibility support.......yes
    STL support.................yes
    Exception support...........yes
    RTTI support................yes
    OpenGL support..............yes
    Qt3 compatibility...........yes

    Third Party Libraries:
    ZLIB support............qt
    GIF support.............plugin
    JPEG support............plugin
    PNG support.............qt
    MNG support.............plugin

    Styles:
    Windows.................yes
    Windows XP..............yes
    Plastique...............yes
    Cleanlooks..............yes
    Motif...................yes
    CDE.....................yes

    Sql Drivers:
    ODBC....................no
    MySQL...................no
    OCI.....................no
    PostgreSQL..............no
    TDS.....................no
    DB2.....................no
    SQLite..................yes
    SQLite2.................no
    InterBase...............no

    Sources are in..............C:\qt\4.2.0
    Build is done in............C:\qt\4.2.0
    Install prefix..............C:\qt\4.2.0
    Headers installed to........C:\qt\4.2.0\include
    Libraries installed to......C:\qt\4.2.0\lib
    Plugins installed to........C:\qt\4.2.0\plugins
    Binaries installed to.......C:\qt\4.2.0\bin
    Docs installed to...........C:\qt\4.2.0\doc
    Data installed to...........C:\qt\4.2.0
    Translations installed to...C:\qt\4.2.0\translations
    Examples installed to.......C:\qt\4.2.0\examples
    Demos installed to..........C:\qt\4.2.0\demos
    gcc 4.11 was configured with
    Configured with: --prefix=/mingw --host=mingw32 --target=mingw32 --program-prefix= --with-as=/mingw/bin/as.exe --with-ld=/mingw/bin/ld.exe --with-gcc --with-gnu-ld --with-gnu-as --enable-
    threads --disable-nls --enable-languages=c,c++ --disable-win32-registry --disable-shared --without-x --enable-interpreter --enable-hash-synchronization --enable-libstdcxx-debug
    Thread model: win32
    gcc version 4.1.1
    Any idea what causes this error? Any help would be appreciated!

    Thanks
    Last edited by dave; 15th October 2006 at 15:50.

Similar Threads

  1. do Qt4 installation depends on gcc version
    By quickNitin in forum Installation and Deployment
    Replies: 3
    Last Post: 3rd October 2006, 06:14
  2. Replies: 16
    Last Post: 7th March 2006, 15:57
  3. general sqlplugin problem
    By a550ee in forum Installation and Deployment
    Replies: 5
    Last Post: 28th February 2006, 10:03

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.