[lazarus] Problem linking

Shane Miller smiller1 at stvgb.org
Wed May 12 16:26:45 EDT 1999


OK, here's the problem.
I've updated my ppc386 to today's snapshot, I've pulled glib and gtk 1.2.3 and
updated fcl (make'd and installed) and I've updated gtk (make and install) and
when I converted the lazarus code to 1.2.1 code, it compiles, but can't link. 
Here's the messages...

/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_NODE_APPEND_DATA$PGNODE$POINTER':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x156): undefined reference to `g_node_new'
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x162): undefined reference to `g_node_insert_before'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_HOOK_APPEND$PGHOOKLIST$PGHOOK':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x310): undefined reference to `g_hook_insert_before'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_STRSTRIP$PGCHAR':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x326): undefined reference to `g_strchug'
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x32d): undefined reference to `g_strchomp'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_ARRAY_APPEND_VAL$PGARRAY$LONGINT':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x34c): undefined reference to `g_array_append_vals'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_ARRAY_PREPEND_VAL$PGARRAY$LONGINT':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x370): undefined reference to `g_array_prepend_vals'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_ARRAY_INSERT_VAL$PGARRAY$GUINT$LONGINT':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x397): undefined reference to `g_array_insert_vals'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_DATALIST_ID_SET_DATA$PPGDATA$TGQUARK$POINTER':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x3b7): undefined reference to `g_datalist_id_set_data_full'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_DATALIST_GET_DATA$PPGDATA$PGCHAR':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x3e2): undefined reference to `g_quark_try_string'
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x3ec): undefined reference to `g_datalist_id_get_data'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_DATALIST_SET_DATA_FULL$PPGDATA$PGCHAR$GPOINTER$TGDESTROYNOTIFY':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x40d): undefined reference to `g_quark_from_string'
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x417): undefined reference to `g_datalist_id_set_data_full'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_DATALIST_REMOVE_NO_NOTIFY$PPGDATA$PGCHAR':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x42b): undefined reference to `g_quark_try_string'
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x435): undefined reference to `g_datalist_id_remove_no_notify'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_DATALIST_REMOVE_DATA$PPGDATA$PGCHAR':
/usr/src/fpc-0.99.11/gtk/glib/glib.o(.text+0x461): undefined reference to `g_quark_try_string'
/usr/src/fpc-0.99.11/gtk/glib/glib.o: In function `_GLIB$$_G_DATASET_ID_SET_DATA$GCONSTPOINTER$TGQUARK$GCONSTPOINTER':                                                                                              


 Anyone know what the prob is?
I'm using the newest EVERYTHING I think......knew I should have waited to
convert to 1.2.1 .  :-(


      Shane Miller






More information about the Lazarus mailing list