That may be the problem. I am using the prebuilt qt version: qt-sdk-linux-x86_64-opensource-2009.04.bin
The compiler is: gcc version 4.3.4 20090511 for GNAT GPL 2009 (20090511) (GCC) Right now, I am building qt with the gnat tools. Julianne On Oct 17, 2009 1:40pm, Vadim Godunko <[email protected]> wrote:
[email protected] wrote:
> When building the qtada directory, I get the error:
>
> /usr/gnat/bin/g++ -shared -o
> /opt/build/qtada-gpl-3.0.0/source/gui/.libs/libQtAdaGui.so
> -L/opt/build/qtada-gpl-3.0.0/source/core/.libs -lQtAdaCore
> -L/usr/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/adalib/ -lgnarl-2009
> -lgnat-2009
> -Wl,-rpath,/opt/build/qtada-gpl-3.0.0/source/core/.libs:/usr/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/adalib/
> /opt/build/qtada-gpl-3.0.0/source/gui/.objs/GNAT-TEMP-000005.TMP
> -L/usr/local/qtsdk-2009.04/qt/lib -lQtGui -lQtCore
> /usr/gnat/libexec/gcc/x86_64-pc-linux-gnu/4.3.4/ld:
> /usr/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libstdc++.a(ios_init.o):
> relocation R_X86_64_32 against `pthread_cancel' can not be used when
> making a shared object; recompile with -fPIC
> /usr/gnat/lib/gcc/x86_64-pc-linux-gnu/4.3.4/../../../../lib64/libstdc++.a:
> could not read symbols: Bad value
>
Use of libstd++.a (static library, not shared one) look strange for me.
Which version of GCC was used to build Qt? Is it the same with used for
build QtAda?
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.qtada.com/pipermail/qtada-users_lists.qtada.com/attachments/20091017/c7ad4c0b/attachment.html> _______________________________________________ qtada-users mailing list [email protected] http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com
