Hallo Vadim,
2009 is a long time ago, we had contact. I hope you are well. ;-D
Now I have again a litte problem with my qtada-2.0.0-gpl-package
Linux is a
OpenSuse 10.2.
My older version of Ada-Environment was
GNAT GPL 2008 (20080521)
GNATMAKE GPL 2008 (20080521)
/usr/bin/gcc (GCC) 4.2.1 (SUSE Linux)
I got the qtada-gpl-2.0.0 package properly compiledhere after some troubles.
Now I have upgraded my complete Ada-Environment to the
Opensource-Version 2011,
because the newer GPS.Editor has now some bugs less. ;-D
My current version-numbers are now...
GNAT GPL 2011 (20110419)
GNATMAKE GPL 2011 (20110419)
/usr/bin/gcc (GCC) 4.2.1 (SUSE Linux)
$ qtconfig ensures me using version 4.3.1
If I tried some test-compilations with the new gnat-environment and
qtada-gpl-2.0.0-packages, compiled with the older gnat-environment before.
I got now the following output:
gprbuild -d -P/home/user/kravanja/work/ada/sir_price/a.gpr a.adb
gcc -c -g -O2 -gnato -fstack-check -gnatwI -g -gnata -gnat05 a.adb
gprbind a.bexch
gnatbind a.ali
fatal error: file qt4.ali is incorrectly formatted
make sure you are using consistent versions of gcc/gnatbind
10.
|
gprbind: invocation of gnatbind failed
gprbuild: unable to bind a.adb
[2011-09-21 17:47:53] process exited with status 4 (elapsed time: 14.64s)
Ok, as much as I understood, the linker got after upgrading environment
some problems
with my older compiled qtada-libraries.
That's why I tried a recompiling of qtada-gpl-2.2.0. And now I got some
new error.
I do not really understood, why, because this package was compiled by
the older environment
without any problems.
qt4-events-impl.adb:175:30: illegal attempt to store anonymous
access to subprogram
qt4-events-impl.adb:175:30: value has deeper accessibility than any
master (RM 3.10.2 (13))
qt4-events-impl.adb:175:30: use named access type for "Constructor"
instead of access parameter
gprbuild: *** compilation phase failed
make[3]: *** [.libs/libQtAdaCore.so] Error 4
make[3]: Leaving directory
`/home/server/sources/linux/gnat/adacore/qtada/qtada-gpl-2.0.0/source/core'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/server/sources/linux/gnat/adacore/qtada/qtada-gpl-2.0.0/source/core'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/server/sources/linux/gnat/adacore/qtada/qtada-gpl-2.0.0/source'
make: *** [all-recursive] Error 1
I have tried either some other qtada-packages 2.2.0 and 3.1.0 to
compile, but all produce me an QT_Core Error,
because an higher version number than my 4.3.1 was forced.
I think upgrading QT can produce me some troubles, because QT will
possible force me to change some core-libs
on my linux-system. I am not really sure and I can not test it, because
I have currently no testing system available.
I hope you have some tricky idea, how i can easy get run QT again, but,
then with the new gnat-environment
without upgdrading other bigger packages. ;-D
I thank you very much for your feedback!
Yours sincerely,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://box347.bluehost.com/pipermail/qtada-users_lists.qtada.com/attachments/20110921/59fa846b/attachment.htm>
_______________________________________________
qtada-users mailing list
[email protected]
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com