[gtkada] errors at installation time (compilation of gtkada)

Nicolas Setton setton at adacore.com
Fri Nov 19 10:30:03 CET 2004


> on mac os x 10.2, it compiles with some errors, but it don't run (it  
> makes CONSTRAINT_ERROR)
>
> http://tDeContes.hd.free.fr/aide/ada/gtk/the%20errors/ 
> 3.4.4%20compiler%20on%2010.2%20-%20cvs
> (i was not in a terminal knowing x11, so i've added at the end what i  
> got in a terminal knowing x11)

This is due to a code generation problem, I guess...

> on mac os 10.3, i have still a real error :
> http://tDeContes.hd.free.fr/aide/ada/gtk/the%20errors/ 
> 3.4.4%20compiler%20on%2010.3%20-%20cvs
>
> gnatlink testgtk.ali -g -L../src -L../src/opengl -lgtkada  
> -L/Users/thomas/bin/autoinstall/lib -lgtk-x11-2.0 -lgdk-x11-2.0  
> -latk-1.0 -lgdk_pixbuf-2.0 -ltiff -ljpeg -lpng12 -lz -lm  
> -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0  
> -lglib-2.0 -lintl -liconv lw.o -L/usr/X11R6/lib -lGLU -lGL
> /usr/bin/ld: warning multiple definitions of symbol _locale_charset
> /usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
> /Users/thomas/bin/autoinstall/lib/libintl.dylib(localcharset.o)  
> definition of _locale_charset
> /usr/bin/ld: warning suggest use of -bind_at_load, as lazy binding may  
> result in errors or different symbols being used
> symbol _locale_charset used from dynamic library  
> /usr/lib/libiconv.dylib(localcharset.o) not from earlier dynamic  
> library  
> /Users/thomas/bin/autoinstall/lib/libintl.3.dylib(localcharset.o)
> /usr/bin/ld: Undefined symbols:
> _gdk_gl_query
> _gtk_gl_area_make_current
> _gtk_gl_area_new
> _gtk_gl_area_share_new
> _gtk_gl_area_swap_buffers
> collect2: ld returned 1 exit status

This is probably because the OpenGL libraries are not found, try  
configuring without OpenGL first.

Nico




More information about the gtkada mailing list