[gtkada] Cannot compile misc_pixbuf.c in Gtk-Ada 1.2.8

Franck Pommereau Franck.Pommereau at fnac.net
Wed Jul 19 10:44:27 CEST 2000


	Hi,

I just downloaded GtkAda-1.2.8 and I have a compilation problem. Since
it is on a C file, I have almost no idea about the meaning of the
error message. The concerned piece of make's log follows:

--

make[2]: Entering directory `/home/franck/tmp/compil/GtkAda-1.2.8/src/pixbuf'
gcc -c -g -O2 -Wall -I/usr/local/stow/gdk-pixbuf-0.8.0-000718/include -I/usr/local/stow/gtk+-1.2.8-000718/include -I/usr/local/stow/glib-1.2.8-000718/lib/glib/include -I/usr/local/stow/glib-1.2.8-000718/include -I/usr/X11R6/include -I. -fPIC -I/usr/local/stow/gdk-pixbuf-0.8.0-000718/include -I/usr/local/stow/gtk+-1.2.8-000718/include -I/usr/local/stow/glib-1.2.8-000718/lib/glib/include -I/usr/local/stow/glib-1.2.8-000718/include -I/usr/X11R6/include misc_pixbuf.c
misc_pixbuf.c: In function `ada_gdk_pixbuf_get_art_pixbuf':
misc_pixbuf.c:13: dereferencing pointer to incomplete type
misc_pixbuf.c:14: warning: control reaches end of non-void function
make[2]: *** [misc_pixbuf.o] Error 1

--

Running directly "gcc -c misc_pixbuf.c `gdk-pixbuf-config --cflags`"
gives the same result.

On configure, everything seems correct.

I run a Debian GNU/Linux 2.1 with the following installed:

 - Glib 1.2.8
 - GTK+ 1.2.8
 - Imlib 1.9.8.1
 - GDK-Pixbuf 0.8.0
 - Gnome 1.2.0
 - GNAT 3.12p

All this seems to work correctly (at least, all my applications which
use GTK+ and GDK-Pixbuf compiled and work). GTK-Ada 1.2.7 compiled and
worked fine.

I think that's all I can say (but ask me if you want some additional
details). I would be happy to receive any help. Thanks in advance.

-- 
Franck Pommereau : Franck.Pommereau at fnac.net
    "It's not a bug, it's a feature!"






More information about the gtkada mailing list