mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Qt link error


From: Mark Brand
Subject: Re: [Mingw-cross-env-list] Qt link error
Date: Fri, 26 Mar 2010 13:42:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.2pre) Gecko/20100308 SUSE/3.1b1-6.1 Thunderbird/3.1b1


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 qt

You don't necessarily have to "make gcc" first.


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?

-Mark




reply via email to

[Prev in Thread] Current Thread [Next in Thread]