[gtkada] ANNOUNCE: GtkAda 2.2.0 release

Chris Sparks mrada at catalina-inter.net
Sun Jul 6 07:16:40 CEST 2003


No takers on this problem?

Chris

Chris Sparks wrote:

> In looking ant the GTKAda User's Guide it mentions:
>
> The only thing you should specify on the gnatmake command line is 
> where the GtkAda spec files are found, as in:
>
>> gnatmake <main-file> -Ic:\GtkAda\lib
>
> if GtkAda was installed in `c:\GtkAda'.
>
> Since I installed it in C:\GNAT\GTKAda-2.2.0, following this 
> instruction doesn't work.  If I did:
>
> -Ic:\GNAT\GTKAda-2.2.0\include\gtkada
>
> it finds the files for compilation, however, I need to know what is 
> required for linking.  Now I tried to recompile and relink the testgtk 
> program and got an executable.  Strange that I didn't need to say 
> where the ".a" files were.
>
> When I did my stuff I got this kind of error:
>
> gnatbind -aO./ -aOc:\gnat\gtkada-2.2.0\include\gtkada -aO..\common -I- 
> -x t.ali
> gnatlink -g -Lc:\gnat\gtkada-2.2.0\include\gtkada -lglib-2.0 -latk-1.0 
> -lgdk_pixbuf-2.0 -lgdk-win32-2.0 -lgmodule-2.0 -lgobject-2.0 
> -lgthread-2.0 -lgtk-win32-2.0 -liconv -lintl -lpango-1.0 
> -lpangowin32-1.0 -lgtkada t.ali
> c:\gnat\gtkada-2.2.0\include\gtkada\libgtkada.a(misc.o.b)(.text+0xed): 
> undefined reference to `gtk_tree_model_get_type'
> c:\gnat\gtkada-2.2.0\include\gtkada\libgtkada.a(misc.o.b)(.text+0x10b): 
> undefined reference to `g_type_check_instance_is_a'
>
> --snipped similar errors--
>
> c:\gnat\gtkada-2.2.0\include\gtkada\libgtkada.a(misc.o.b)(.text+0x22a0): 
> undefined reference to `g_value_set_char'
> c:\gnat\gtkada-2.2.0\include\gtkada\libgtkada.a(misc.o.b)(.text+0x3e15): 
> undefined reference to `g_type_fundamental'
> gnatmake: *** link failed.
>
> Chris
>
>
> Preben Randhol wrote:
>
>>mrada <mrada at catalina-inter.net> wrote on 05/07/2003 (11:53) :
>>  
>>
>>>Hi,
>>>
>>>I have fixed the code breaks and now I am unable to link anything (On
>>>a windows 2000 system).  I seem to be missing some file because I get
>>>errors saying that the linker can't find certain files.
>>>    
>>>
>>
>>Did you include the directories you need when linking as it says in the
>>manual?
>>
>>  
>>
>>>Any help appreciated.
>>>    
>>>
>>
>>Could you please gives some error messages, please?
>>
>>
>>  
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/gtkada/attachments/20030705/c9beb78b/attachment.htm 


More information about the gtkada mailing list