% cc -g -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/include -o sportal main.o support.o interface.o callbacks.o data.o xtext.o palette.o -L/usr/local/lib -lgtk -lgdk -lgmodule -lglib -lXext -lXext -lX11 -ldnet_stub -lm -L/usr/local/lib -lgdk_imlib -L/usr/local/lib -lgtk -lgdk -lgmodule -lglib -lXext -lXext -lX11 -ldnet_stub -lm
ld:
Unresolved:
dcgettext
textdomain
bindtextdomain
snprintf
% gettext --version
gettext (GNU gettext) 0.10.35
The first three are gettext based, but I do not see why they are not found.
Editing config.h to turn off ENABLE_NLS fixes it. I make and build glade
based packages on this system normally.
The last one, snprintf, is inherently non-portable. The glib version is best.
Suggested patch.
% diff -c palette.c.orig palette.c
*** palette.c.orig Fri Dec 31 08:55:46 EST 1999
--- palette.c Fri Dec 31 08:55:57 EST 1999
***************
*** 69,75 ****
{
style = gtk_style_new ();
style->bg[0] = xcolors[i];
! snprintf (tbuf, sizeof tbuf, "Color %d", i);
wid = gtk_button_new_with_label (tbuf);
gtk_container_add (GTK_CONTAINER (vbox), wid);
if (opcion==0) /*MISC*/
--- 69,75 ----
{
style = gtk_style_new ();
style->bg[0] = xcolors[i];
! g_snprintf (tbuf, sizeof tbuf, "Color %d", i);
wid = gtk_button_new_with_label (tbuf);
gtk_container_add (GTK_CONTAINER (vbox), wid);
if (opcion==0) /*MISC*/
Oh, and you spell "being" as "beeing" by mistake. ;-)
Regards,
james.cameron@compaq.com
fixed, will be in the new release