comp.lang.ada
 help / color / mirror / Atom feed
From: "RasikaSrinivasan@gmail.com" <rasikasrinivasan@gmail.com>
Subject: Bug in GtkAda
Date: Thu, 15 Oct 2009 18:22:49 -0700 (PDT)
Date: 2009-10-15T18:22:49-07:00	[thread overview]
Message-ID: <03e9d0e2-bff2-4450-aa62-6f345cef403b@z2g2000yqm.googlegroups.com> (raw)

I have a piece of code that reads :
--------------------
      Gtk.Text_Attributes.Gtk_New(Special_Atr);
      Gdk.Color.Set_Rgb( Fg , 16#Ffff# , 0 , 0 ) ;
      Gtk.Text_Attributes.Set_Fg_Color
(Gtk.Text_Attributes.Get_Appearance(Special_Atr),Fg);
---------------

I am getting the following error while linking:

C:\Projects\Gtk\regexp>gprbuild -p -Pregexp
creating auto.cgpr
gcc -c -g -gnat05 -gnata regexp_widgets.adb
regexp_widgets.adb:41:04: warning: variable "Normal_Atr" is never read
and never assigned
regexp_widgets.adb:126:07: warning: variable "Searchbtn" is never read
and never assigned
gprbind regexp.bexch
gnatbind regexp.ali
gcc -c b__regexp.adb
gcc regexp.o -L/minsk.a/gnatmail/gcc-43/build-minsk/gtkada/install/lib/
gtkada/static -Wl,-luuid -L/minsk.a/gnatmail/gcc-43/install-minsk/gtk/
lib -L/unix/gtk+gps/
gimpwin-dev/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -limm32 -lshell32 -
lole32 -latk-1.0 -lgdk_pixbuf-2.0 -ljpeg -lpng -lpangocairo-1.0 -
lcairo -lpangowin32-1.0 -lgdi
32 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -
luser32 -Lc:\gnat\2009\gtkada\lib\gnat\.. -Lc:\gnat\2009\gtkada\lib
\gnat\../../include/gtkada -
o regexp.exe
c:\projects\gtk\regexp\.objs\regexp_widgets.o: In function
`regexp_widgets__make':
c:/projects/gtk/regexp/regexp_widgets.adb:180: undefined reference to
`_ada_text_attribute_get_appearance'
collect2: ld returned 1 exit status
gprbuild: link of regexp.adb failed

------------------------------------------
Sounds like a bug to me. Any ideas?

thanks, srini



             reply	other threads:[~2009-10-16  1:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-16  1:22 RasikaSrinivasan@gmail.com [this message]
2009-10-16  7:33 ` Bug in GtkAda Dmitry A. Kazakov
2009-10-16 10:20   ` RasikaSrinivasan@gmail.com
2009-10-16 18:32     ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox