suse 10.1 gtk2 problem lazarus / 1-Linux ---------------------------------------------------------------------- Anonymous · 2006-06-16 23:07 if i try to create a gtk2 application i ll get /usr/lib/fpc/2.1.1/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_CHOOSER_DEFAULT$$LONGWORD': gtk2.pas:(.text+0xb9b1): undefined reference to `_gtk_file_chooser_default_get_type' /usr/lib/fpc/2.1.1/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_CHOOSER_EMBED$$LONGWORD': gtk2.pas:(.text+0xba11): undefined reference to `_gtk_file_chooser_embed_get_type' /usr/lib/fpc/2.1.1/units/i386-linux/gtk2/gtk2.o: In function `GTK2_GTK_TYPE_FILE_CHOOSER_ENTRY$$LONGWORD': gtk2.pas:(.text+0xba91): undefined reference to `_gtk_file_chooser_entry_get_type' project1.lpr(17,1) Error: Error while linking ---------------------------------------------------------------------- eric · 2006-06-17 13:15 Have you got gtk2-devel installed? Eric ---------------------------------------------------------------------- Anonymous · 2006-06-17 21:52 yes the gtk gtk2 gdk pixbuf devel packages are installed ---------------------------------------------------------------------- bokei · 2006-06-18 09:00 Oh me too. I'm using the gtk2-devel-2.8.15 and FPC 2.0.3. Are you using FPC 2.0.3 too? ---------------------------------------------------------------------- felipemdc · 2006-06-18 12:58 From that path, he is using FPC 2.1.1, that's the development branch Can you try with FPC 2.0.2 (latest stable) ? It works great for me to build gtk2 software Also, please submit a bug report about this on the compiler section. ---------------------------------------------------------------------- bokei · 2006-06-18 14:06 I have tried with FPC 2.0.2.It's ok.But FPC 2.0.2 can't work with Indy 10 ---------------------------------------------------------------------- Anonymous · 2006-06-18 20:05 Thanks With 2.0.2 everthing is ok Maybe someone with a Mantis account can create a bugreport? ---------------------------------------------------------------------- lazybugger · 2006-06-19 17:24 maybe someone who has the details of the bug can create a Mantis account? ---------------------------------------------------------------------- Marc · 2006-06-20 08:51 I think nowadays you can submit as guest.