[gtkada] pb of undefined symbol in libgtkada.a

Arnaud Charlet charlet at adacore.com
Tue Mar 8 11:38:49 CET 2005


> I'm afraid it doesn't, at least in my case...
> I tried adding -largs -luser32 to my command but it still says:
> "gnatlink -luser32 main.ali
> C:\GtkAda-2.4.0\include\gtkada\\libgtkada.a(misc.o.b)(.text+0x327f):
> undefined reference to `SetCursorPos at 8'"

You should look at the link command (gnatlink -v -v ).
I suspect -luser32 is specified before -lgtkada, and not after.

You need to fix this somehow, by e.g. modifying the Linker_Options
pragm in the GtkAda sources and recompile GtkAda.

Arno



More information about the gtkada mailing list