On 10/28/2011 06:20 PM, Jose wrote:
> I give up. [...]
Never say die. ;)
> [...] I solved the problem with the solution Michael gave me. Actually
> this linking flag : -Bstatic
> was the causant of the troubles.
Out of curiosity: We've seen the failing link line; how does the
successful one look
I give up. I solved the problem with the solution Michael gave me. Actually
this linking flag : -Bstatic
was the causant of the troubles.
Nevertheless now I get undefined references to functions defined in the
library "portablexdr" .
I have been trying to fix it for two days without success. The
On 10/26/2011 10:28 AM, Andreas Pakulat wrote:
> On 26.10.11 03:54:02, Jose wrote:
>> Sorry for not being very specific.
>>
>> This is the command that Cmake is running while linking :
>>
>> /usr/bin/i686-pc-mingw32-g++ -O3 -O3-Wl,-Bstatic -static-libgcc
>> -Wl,--whole-archive CMakeFiles/sqt2p
On 26.10.11 03:54:02, Jose wrote:
> Sorry for not being very specific.
>
> This is the command that Cmake is running while linking :
>
> /usr/bin/i686-pc-mingw32-g++ -O3 -O3-Wl,-Bstatic -static-libgcc
> -Wl,--whole-archive CMakeFiles/sqt2pin.dir/objects.a -Wl,--no-whole-archive
> -o sqt2pin.
Sorry for not being very specific.
This is the command that Cmake is running while linking :
/usr/bin/i686-pc-mingw32-g++ -O3 -O3-Wl,-Bstatic -static-libgcc
-Wl,--whole-archive CMakeFiles/sqt2pin.dir/objects.a -Wl,--no-whole-archive
-o sqt2pin.exe -Wl,--out-implib,libsqt2pin.dll.a
-Wl,--majo
On 25.10.11 13:15:37, Jose wrote:
> Hi all,
>
> I'm cross compiling an app under Fedora. I get this linking errors while
> building with cmake :
>
> /usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld:
> cannot find -lxerces-c
> /usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i6
On Tue, Oct 25, 2011 at 10:15 AM, Jose wrote:
> /usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld:
> cannot find -lsqlite3
The way I usually track down things like this is to find the broken commandline
(e.g. make VERBOSE=1), put it in a shell script with any needed cd,
and ve
Hi all,
I'm cross compiling an app under Fedora. I get this linking errors while
building with cmake :
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld:
cannot find -lxerces-c
/usr/lib/gcc/i686-pc-mingw32/4.5.3/../../../../i686-pc-mingw32/bin/ld:
cannot find -lportablexdr
/u