[gtkada] Eeeeeeeeeeeeeek!

Chris Sparks mr_ada at cox.net
Fri Jul 5 19:51:55 CEST 2013


Hello everyone,

Been trying to get my software to run again after the switch to GTK 3 
instead of GTK 2!  I finally got to a link point and got this:

gnatlink Z:\Software\Test\Widgets\_build\s.ali -g -g -Wl,--gc-sections 
-m64 C:\GNAT\GtkAda\lib\gtkada\static\libgtkada.a 
-L/burgos.a/gnatmail/gcc-47/build-burgos/x86-windows/gtkada-gtk3/install/lib/gtkada/static 
-Wl,-luuid -L/burgos.a/gnatmail/gcc-47/install-burgos/gtk3/lib -lgtk-3 
-lgdk-3 -limm32 -lshell32 -lole32 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 
-lgdk_pixbuf-2.0 -lcairo-gobject -lpangowin32-1.0 -lgdi32 -lpango-1.0 
-lm -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -luser32 
-lglu32 -lopengl32 -lgdi32 -Lc:\gnat\gtkada\lib\gnat\\.. 
-Lc:\gnat\gtkada\lib\gnat\\../../include/gtkada/ -o 
Z:\Software\Test\Widgets\_exec\s.exe
*C:\GNAT\GtkAda\lib\gtkada\static\libgtkada.a(pango-language.o):pango-language.adb:(.text+0x3ab): 
undefined reference to `ada_g_object_get_ulong'**
**C:\GNAT\GtkAda\lib\gtkada\static\libgtkada.a(pango-language.o):pango-language.adb:(.text+0x437): 
undefined reference to `ada_g_object_set_ulong'**
**c:/gnat/2013/bin/../libexec/gcc/i686-pc-mingw32/4.7.4/ld.exe: 
C:\GNAT\GtkAda\lib\gtkada\static\libgtkada.a(pango-language.o): bad 
reloc address 0x48 in section `.rdata'**
**c:/gnat/2013/bin/../libexec/gcc/i686-pc-mingw32/4.7.4/ld.exe: final 
link failed: Invalid operation*
collect2.exe: error: ld returned 1 exit status
gnatlink: error when calling C:\GNAT\2013\bin\gcc.exe
gnatmake: *** link failed.
[2013-07-05 10:46:15] process exited with status 4 (elapsed time: 01.15s)

I don't know why I would get any Pango errors.  Granted I had to switch 
over to Pango from Gdk.Text and I am sure I need to understand how to 
convert it but I wasn't expecting an issue with the delivered software 
from AdaCore.

To me this says the GTKAda on Libre is broken and I probably should go 
back to version 2.24 which I know worked.

Hopefully someone will have a good suggestion as I am so "spent" with my 
energies trying to refactor my software.

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/gtkada/attachments/20130705/cee6935d/attachment.html>


More information about the gtkada mailing list