[gtkada] Compile error in GtkAda-1.2.10

David Leemans DLeemans at village.uunet.be
Tue Dec 12 02:32:52 CET 2000


Dear,

Recently, I tried to compile the GtkAda-1.2.10.tar.gz om my Linux
Slackware 7.1 workstation.  Sadly enough, I failed to complete the
installation succesfully because of an error during the compilation. I
did not manage to solve the problem by "hacking"
the Makefile. I have Gtk+-1.2.8 and gnat-3.12 already installed without
any problem.
Here follows the installation output:

.
.
> gnatgcc -c -I../ -O2 -gnatn -gnatwuwl -fPIC -I- ../gtkada-dialogs.adb
> gnatgcc -c -I../ -O2 -gnatn -gnatwuwl -fPIC -I- ../gtkada-file_selection.adb
> gnatgcc -c -I../ -O2 -gnatn -gnatwuwl -fPIC -I- ../gtkada-handlers.ads
> gnatgcc -c -I../ -O2 -gnatn -gnatwuwl -fPIC -I- ../gtkada-intl.adb
> gnatgcc -c -I../ -O2 -gnatn -gnatwuwl -fPIC -I- ../gtkada-pixmaps.ads
> cd lib-obj; gcc -c -g -O2 -Wall -I/usr/lib/glib/include -I/usr/X11R6/include -I.. -fPIC ../misc.c
> cd lib-obj; gcc -c -g -O2 -Wall -I/usr/lib/glib/include -I/usr/X11R6/include -I.. -fPIC ../misc_extra.c
> gcc -shared -fPIC  -o libgtkada-1.2.so.10 \
>   -Wl,-soname,libgtkada-1.2.so.10 lib-obj/glib*.o lib-obj/gdk*.o \
>   lib-obj/gtk*.o lib-obj/misc.o lib-obj/misc_extra.o gtkextra/gtk*.o -L/usr/lib
> -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm
> gcc: lib-obj/glib*.o: No such file or directory
> gcc: lib-obj/gdk*.o: No such file or directory
> make[1]: *** [libgtkada.so] Error 1
> make[1]: Leaving directory `/tmp/GtkAda-1.2.10/src'
> make: *** [all] Error 2


So, at this stage, there should be glib*.o and gdk*.o files in the
lib-obj directory.
Of course, there aren't any and that's most likely why the installation
fails.
Is there something wrong with the Makefile?  
./configure didn't give any errors, not even a single warning. I guess
other people must have encountered this too (or don't they compile their
software ?). 
I must admit, I am running "bleeding edge" software on this machine,
that is kernel 2.4.0-test11 with low latency patch and XFree86 4.0.1.
However, this machine behaves rock solid. Anyway, I hope you can help me
with this problem or give me a hint.

Kind regards,

David Leemans




More information about the gtkada mailing list