[lazarus] lazarus compile problems
Sergio A. Kessler
sak at perio.unlp.edu.ar
Wed May 5 19:34:56 EDT 1999
Peter Vreman <pfvreman at wins.uva.nl> el día Wed, 05 May 1999 15:02:39 +0200,
escribió:
>>
>>FPC CVS from yesterday, Lazarus from last web zip file.
>>
>>Any hint ?
>
>If you don't have a cprt21.o in rtl/linux you should get a new snapshot.
>That's because the glibc2.1 needs a new startup code.
ok, I'm updating my cvs rigth now..., but this is not my problem...
...
././comctrls.o(.text+0xb91): undefined reference to
`gtk_container_border_width'././controls.o: In function
`_CONTROLS$$_$$_TCONTROL_SETTEXT$TCAPTION':
././controls.o(.text+0xba1): undefined reference to `gtk_label_set'
././controls.o(.text+0xbe0): undefined reference to `gtk_label_set'
././controls.o: In function
`_CONTROLS$$_$$_TCONTROL_CREATECOMPONENT$TCOMPONENT':
././controls.o(.text+0xe1f): undefined reference to
`gtk_container_border_width'/opt/fpc/gtk/gtk.o: In function
`_GTK$$_GTK_TYPE_WINDOW_TYPE':
/opt/fpc/gtk/gtk.o(.text+0x523): undefined reference to `gtk_type_builtins'
/opt/fpc/gtk/gtk.o: In function `_GTK$$_GTK_TYPE_STATE_TYPE':
/opt/fpc/gtk/gtk.o(.text+0x53b): undefined reference to `gtk_type_builtins'
/opt/fpc/gtk/gtk.o: In function `_GTK$$_GTK_TYPE_DIRECTION_TYPE':
/opt/fpc/gtk/gtk.o(.text+0x553): undefined reference to `gtk_type_builtins'
/opt/fpc/gtk/gtk.o: In function `_GTK$$_GTK_TYPE_SHADOW_TYPE':
/opt/fpc/gtk/gtk.o(.text+0x56b): undefined reference to `gtk_type_builtins'
/opt/fpc/gtk/gtk.o: In function `_GTK$$_GTK_TYPE_ARROW_TYPE':
/opt/fpc/gtk/gtk.o(.text+0x583): undefined reference to `gtk_type_builtins'
...
this are a _few_ lines of my errors trying to link lazarus,
the definite problem is that the linker want to link against
gtk 1.2.x, not gtk 1.0.x
this is why gtk_type_builtins raise an error, it doesn't exist in
gtk 1.2, this types are called GtkType in 1.2.
the same for others references, gtk_label_set, etc, etc
(gtk_label_set doesn't exist in 1.2, it's called gtk_label_set_text)
well, a well know fact that gtk 1.0 and 1.2 are not
even source compatible :)
maybe is worth to go gtk 1.2 sooner than later ?
Sergio
More information about the Lazarus
mailing list