Suse & Error while linking lazarus / 1-Linux ---------------------------------------------------------------------- Tulio · 2006-06-01 19:03 Hello, sorry if you don't understand me but I don't speak english well (I'm Pole/Polish man). It's my problem: Installation lazarus went well off with no problem. But compilation always report: "project1.lpr(number,number) Error: Error while linking" and select last line in project1 ("end."). I try many solutions but it doesn't worked. Here, I try that: 1 2 this my log: Code: [Select] /usr/lib/libgdk.a(gdk.o): In function `gdk_init_check': /home/dobey/ximian-desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gdk/gdk.c:429: undefined reference to `__ctype_toupper' /usr/lib/libgtk.a(gtkaccellabel.o): In function `gtk_accel_label_refetch': /usr/include/ctype.h:176: undefined reference to `__ctype_toupper' /usr/lib/libgtk.a(gtkaccellabel.o): In function `gtk_accel_label_refetch': /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtkaccellabel.c:458: undefined reference to `__ctype_toupper' /usr/lib/libgtk.a(gtkentry.o): In function `gtk_move_forward_word': /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtkentry.c:2139: undefined reference to `__ctype_b' /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtkentry.c:2142: undefined reference to `__ctype_b' /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtkentry.c:2148: undefined reference to `__ctype_b' /usr/lib/libgtk.a(gtkentry.o): In function `gtk_move_backward_word': /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtkentry.c:2178: undefined reference to `__ctype_b' /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtkentry.c:2181: undefined reference to `__ctype_b' /usr/lib/libgtk.a(gtkentry.o):/home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtkentry.c:2186: more undefined references to `__ctype_b' follow /usr/lib/libgtk.a(gtkrc.o): In function `_gtk_normalize_codeset': /home/dobey/ximian-desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtkrc.c:431: undefined reference to `__ctype_tolower' /usr/lib/libgtk.a(gtktext.o): In function `find_cursor_at_line': /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtktext.c:3773: undefined reference to `__ctype_b' /usr/lib/libgtk.a(gtktext.o): In function `find_mouse_cursor_at_line': /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtktext.c:3843: undefined reference to `__ctype_b' /usr/lib/libgtk.a(gtktext.o): In function `gtk_text_move_forward_word': /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtktext.c:4127: undefined reference to `__ctype_b' /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtktext.c:4131: undefined reference to `__ctype_b' /usr/lib/libgtk.a(gtktext.o): In function `gtk_text_move_backward_word': /home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtktext.c:4159: undefined reference to `__ctype_b' /usr/lib/libgtk.a(gtktext.o):/home/dobey/ximian- desktop-1-4/gtk+/BUILD/gtk+-1.2.10/gtk/gtktext.c:4163: more undefined references to `__ctype_b' follow project1.lpr(17,1) Error: Error while linking please for help and thanks for any suggestions ---------------------------------------------------------------------- johnf · 2006-06-03 05:04 Please read the following http://wiki.lazarus.freepascal.org/index.php/Linker_message:_cannot_fi nd_-l John ---------------------------------------------------------------------- Tulio · 2006-06-03 13:09 what have I read there? Code: [Select]/usr/bin/ld: cannot find -lgdk Firstly, this error didn't showed me yet. Secondly, I have this code: "-Fl/opt/gnome/lib" in /etc/fpc.cfg: Code: [Select] [...] # searchpath for units and other system dependent things -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/* -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl #-Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~/fpc/rtl/units/ # searchpath for libraries -Fl/usr/lib/gcc/i586-suse-linux/4.1.0 -Fl/usr/lib/mysql -Fl/opt/gnome/lib #-Fl/pp/lib -Fl/lib;/usr/lib # ------------- # Linking # ------------- [...] so it must be something other because errors are showed me still. ---------------------------------------------------------------------- Anonymous · 2006-06-04 00:47 devel packages missing ? (gtk etc..) ---------------------------------------------------------------------- eric · 2006-06-04 12:03 You probably need to install need gtk-devel and gdk-pixbuf-devel. Eric