[lazarus] GTK2: undefined references

Marc Weustink marc at dommelstein.net
Tue Oct 21 19:13:03 EDT 2003


Hi,

When I try to compile the LCL for GTK2 I get a whole lot of undefined 
references like:
.
.
./lcl/units/gtk2/gtk2int.o(.text+0x28f1): In function 
`TGTK2OBJECT__SETPROPERTIES':
gtk2object.inc:1185: undefined reference to `gtk_text_view_get_buffer'
./lcl/units/gtk2/gtk2int.o(.text+0x2900):gtk2object.inc:1186: undefined 
reference to `gtk_text_buffer_get_char_count'
./lcl/units/gtk2/gtk2int.o(.text+0x2928):gtk2object.inc:1188: undefined 
reference to `gtk_text_buffer_get_bounds'
./lcl/units/gtk2/gtk2int.o(.text+0x2940):gtk2object.inc:1189: undefined 
reference to `gtk_text_buffer_get_iter_at_offset'
./lcl/units/gtk2/gtk2int.o(.text+0x295c):gtk2object.inc:1190: undefined 
reference to `gtk_text_buffer_delete'
./lcl/units/gtk2/gtk2int.o(.text+0x2983):gtk2object.inc:1142: undefined 
reference to `gtk_label_set_line_wrap'
./lcl/units/gtk2/gtk2int.o(.text+0x29bc):gtk2object.inc:1143: undefined 
reference to `gtk_misc_set_alignment'
./lcl/units/gtk2/gtk2int.o(.text+0x29d5):gtk2object.inc:1145: undefined 
reference to `gtk_label_set_line_wrap'
./lcl/units/gtk2/gtk2int.o(.text+0x29ff):gtk2object.inc:1146: undefined 
reference to `gtk_label_set_justify'
.
.
etc

How do I solve this.

Marc






More information about the Lazarus mailing list