[lazarus] I am still having trouble linking lazarus

Michael A. Hess mhess at miraclec.com
Wed May 5 15:48:35 EDT 1999


Greetings,

I think (that's think now mind you) that I have gtk 1.0.6 setup
correctly. I have installed the libs into /usr/local/lib so that it
doesn't interfer with my gtk 1.2 stuff for Gnome. I have made sure that
this directory is set in ld.so.conf and ran ldconfig. I have also
modifed the makefile GTKLIBDIR so that it also points to /usr/local/lib.

The link.res places this first on the list so it should be the first
place searched.

Everything compiles OK but here is what I get during the link. What
isn't working correctly for me?

Linking ./lazarus
./comctrls.o: In function
`_COMCTRLS$$_$$_TTABSHEET_SETTABCAPTION$STRING':
./comctrls.o(.text+0xabd): undefined reference to `gtk_label_set'
./comctrls.o: In function `_COMCTRLS$$_$$_TTABSHEET_CREATE$TCOMPONENT':
./comctrls.o(.text+0xb9c): undefined reference to
`gtk_container_border_width'
./controls.o: In function `_CONTROLS$$_$$_TCONTROL_SETTEXT$TCAPTION':
./controls.o(.text+0xbb1): undefined reference to `gtk_label_set'
./controls.o(.text+0xbf0): undefined reference to `gtk_label_set'
./controls.o: In function
`_CONTROLS$$_$$_TCONTROL_CREATECOMPONENT$TCOMPONENT':
./controls.o(.text+0xdfb): undefined reference to
`gtk_container_border_width'
/home/mhess/fpc/gtk/gtk.o: In function `_GTK$$_GTK_TYPE_WINDOW_TYPE':
/home/mhess/fpc/gtk/gtk.o(.text+0x523): undefined reference to
`gtk_type_builtins'
/home/mhess/fpc/gtk/gtk.o: In function `_GTK$$_GTK_TYPE_STATE_TYPE':
/home/mhess/fpc/gtk/gtk.o(.text+0x53b): undefined reference to
`gtk_type_builtins'
/home/mhess/fpc/gtk/gtk.o: In function `_GTK$$_GTK_TYPE_DIRECTION_TYPE':
/home/mhess/fpc/gtk/gtk.o(.text+0x553): undefined reference to
`gtk_type_builtin

I would really like to get lazarus compile so I can at least attempt to
help out in some way.   :-)

-- 
==== Programming my first best destiny! ====

Michael A. Hess      Miracle Concepts, Inc.
mhess at miraclec.com   http://www.miraclec.com






More information about the Lazarus mailing list