Results 1 to 9 of 9

Thread: Compiling Qt 4.8.2 results in "ld.exe: final link failed: Memory exhausted"

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2011
    Posts
    20
    Qt products
    Qt5
    Platforms
    Windows

    Default Compiling Qt 4.8.2 results in "ld.exe: final link failed: Memory exhausted"

    I'm trying to compile Qt 4.8.2 from sources on Windows 7 x64 with MinGW GCC 4.7.1 (downloaded from http://nuwen.net/mingw.html). The machine has 8GB installed memory. To compile I simply run configure.exe and mingw32-make with all defaults. After a while during the compilation process I get the error "ld.exe: final link failed: Memory exhausted" and the compilation process halts. What could be causing this and how could I fix it? Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: Compiling Qt 4.8.2 results in "ld.exe: final link failed: Memory exhausted"

    How much free space do you have on your C:?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. #3
    Join Date
    Sep 2011
    Posts
    20
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Compiling Qt 4.8.2 results in "ld.exe: final link failed: Memory exhausted"

    Quote Originally Posted by high_flyer View Post
    How much free space do you have on your C:?
    50GB. It's an SSD drive.

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Compiling Qt 4.8.2 results in "ld.exe: final link failed: Memory exhausted"

    Would you care to share the context of the error message? Otherwise we could guess all day which components are involved.

Similar Threads

  1. Replies: 7
    Last Post: 8th November 2012, 11:26
  2. "Process failed to start: " and qprocess generic errors
    By scott_hollen in forum Qt Programming
    Replies: 8
    Last Post: 22nd November 2011, 15:03
  3. Replies: 1
    Last Post: 12th October 2010, 14:43
  4. "Treat wchar_t as Built-in Type" to "yes" link error
    By sungaoyong in forum Qt Programming
    Replies: 1
    Last Post: 5th June 2008, 11:45
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05

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
  •  
Qt is a trademark of The Qt Company.