[gtkada] Re: cannot create .ali file

Lloyd Dizon techmetal at bluewin.ch
Sat Nov 11 09:16:56 CET 2000

I was able to compile my program but I get errors during linking:

~/src/ada/test > gnatmake scribble.adb `gtkada-config`
gnatbind -x scribble.ali
gnatlink -lgtkada -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic
-lgmodule -lglib -ldl -lXi -lXext -lX11 -lm scribble.ali
ld: cannot find -lgtk
gnatmake: *** link failed.  

I'm not sure what -lgtk means. I thought that it specifies where the
gtklibraries are so I tried adding the path to the gtk files in the
"ld.so.conf" file(/usr/lib/ada/adainclude). 
Please help

More information about the gtkada mailing list