|
From: | Nikos Chantziaras |
Subject: | Re: [Mingw-cross-env-list] Qt link error |
Date: | Fri, 26 Mar 2010 23:10:01 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100322 Thunderbird/3.0.3 |
On 03/26/2010 02:42 PM, Mark Brand wrote:
I've downloaded mingw-cross-env/mingw-cross-env-2.12.tar.gz, unpacked in $HOME/opt/mingw, and did: make gcc followed by: make qtYou don't necessarily have to "make gcc" first.
Yep, figured that out a bit later. I didn't know that it actually resolves deps.
However, in the end that resulted in: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmsimg32 collect2: ld returned 1 exit status make[2]: *** [test-qt] Error 1 make[2]: Leaving directory `/home/realnc/opt/mingw/tmp-qt/qt-everywhere-opensource-src-4.6.2/test-qt' make[1]: *** [build-only-qt] Error 2 make[1]: Leaving directory `/home/realnc/opt/mingw'The native "ld" is being used here for some reason, which is at least part of the problem. In other words, I would have expected to see: /home/realnc/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/ld What kind of system are you building on? Do you see any clues in log/qt?
I'm in Gentoo Linux AMD64. Not sure what I would be looking for in the log file. Some files seem to get compiled and linked with "i686-pc-mingw32-g++", others with simply "g++".
Here's the log. Compressed, 56kB: http://foss.math.aegean.gr/~realnc/qt_mingw_log.bz2 Uncompressed for online viewing, 3MB: http://foss.math.aegean.gr/~realnc/qt_mingw_log
[Prev in Thread] | Current Thread | [Next in Thread] |