Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  2 Aug 2002 11:01:03 -0700 (PDT)
From:      Mike Harding <mvh@ix.netcom.com>
To:        marcus@marcuscom.com
Cc:        ade@freebsd.org, gnome@freebsd.org
Subject:   Re: /usr/ports/devel/glade doesn't compile since /usr/ports/devel/gettext upgrade
Message-ID:  <20020802180103.7421F13101@netcom1.netcom.com>
In-Reply-To: <1028306600.312.24.camel@gyros.marcuscom.com> (message from Joe Marcus Clarke on 02 Aug 2002 12:43:19 -0400)
References:  <20020801202826.1F6661310C@netcom1.netcom.com> <1028235393.322.112.camel@gyros.marcuscom.com>  <20020802132902.24B5F13101@netcom1.netcom.com> <1028301101.312.3.camel@gyros.marcuscom.com>  <20020802161904.1AFFF13101@netcom1.netcom.com> <1028306600.312.24.camel@gyros.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help

I think it's simpler than that.  editor.o links to dcgettext__ itself
- does your object file do this?  I think it's getting dcgettext__
from a macro in libgettext.h, line 160 - on my system, this file is
also linked as libintl.h, as seen in config.log:

config.status:11037: linking ./intl/libgettext.h to intl/libintl.h

the macro is kicked in by 

#  if defined __GNUC__ && __GNUC__ == 2 && __GNUC_MINOR__ >= 7

are -you- running gcc 3+ ?

- Mike H.

bash-2.05a$ objdump --syms editor.o

editor.o:     file format elf32-i386

SYMBOL TABLE:
00000000 l    df *ABS*	00000000 editor.c
<snip>
00000000         *UND*	00000000 _nl_msg_cat_cntr
00000000         *UND*	00000000 dcgettext__
00000000         *UND*	00000000 gtk_window_get_type
<snip>


   From: Joe Marcus Clarke <marcus@marcuscom.com>
   Cc: ade@freebsd.org, gnome@freebsd.org
   Date: 02 Aug 2002 12:43:19 -0400
   Sender: owner-freebsd-gnome@FreeBSD.ORG
   X-Loop: FreeBSD.ORG
   X-Spam-Status: No, hits=-2.9 required=5.0
	   tests=IN_REP_TO,DOUBLE_CAPSWORD,PORN_10,SUPERLONG_LINE,AWL
	   version=2.31
   X-Spam-Level: 

   On Fri, 2002-08-02 at 12:19, Mike Harding wrote:
   > 
   > Look at the ChangeLog, they renamed the function...

   Then it looks like _something_ on your system that editor.c needs is
   still linked against libintl.so.2 (perhaps a port that had a missing
   dependency on gettext).  Can you do a find through your libs' ldd output
   for libintl.so.2?

   Joe

   > 
   > 2002-04-27  Bruno Haible  <bruno@clisp.org>
   > 
   > 	* libgnuintl.h: Redirect every function to the one prefixed with
   > 	"libintl_". Remove __OPTIMIZED variants.
   > 	* gettextP.h: Use prefix "libintl_" instead of suffix "__".
   > 	* dcigettext.c: Likewise.
   > 	* dcgettext.c: Likewise.
   > ...
   > 
   >    From: Joe Marcus Clarke <marcus@marcuscom.com>
   >    Cc: gnome@FreeBSD.ORG
   >    Date: 02 Aug 2002 11:11:40 -0400
   >    Sender: owner-freebsd-gnome@FreeBSD.ORG
   >    X-Loop: FreeBSD.ORG
   >    X-Spam-Status: No, hits=-3.2 required=5.0
   > 	   tests=IN_REP_TO,DOUBLE_CAPSWORD,SUPERLONG_LINE,AWL
   > 	   version=2.31
   >    X-Spam-Level: 
   > 
   >    On Fri, 2002-08-02 at 09:29, Mike Harding wrote:
   >    > 
   >    > I removed _all_ the ports and shared libs and rebuilt, same thing
   >    > happens.
   >    > 
   >    > Lil' help - could you scan your libs and tell me where dcgettext__ is
   >    > defined?
   > 
   >    That's the thing.  It doesn't appear to be defined anywhere.  I don't
   >    even see where the ref is in editor.c.
   > 
   >    Joe
   > 
   >    > 
   >    > Thanks,
   >    > 
   >    > Mike H.
   >    > 
   >    >    From: Joe Marcus Clarke <marcus@marcuscom.com>
   >    >    Cc: gnome@FreeBSD.ORG
   >    >    Date: 01 Aug 2002 16:56:33 -0400
   >    >    X-Spam-Status: No, hits=-3.7 required=5.0
   >    > 	   tests=IN_REP_TO,SUPERLONG_LINE,AWL
   >    > 	   version=2.31
   >    >    X-Spam-Level: 
   >    > 
   >    >    On Thu, 2002-08-01 at 16:28, Mike Harding wrote:
   >    >    > 
   >    >    > I pkg_remove'd gettext and tried to rebuild gnome after fetching fresh
   >    >    > ports... /usr/ports/devel glade fails to build as follows:
   >    > 
   >    >    I'm not seeing this problem.  Maybe you have some old libs lingering
   >    >    around that need updating.
   >    > 
   >    >    Joe
   >    > 
   >    >    > 
   >    >    > cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../intl  -I/usr/X11R6/include/libgda-0.2.96/gda -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/gnome-xml -I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/gnome-xml -I/usr/local/include/orbit-1.0 -I/usr/local/include/gnome-xml -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/X11R6/includ
 e/!
    gdk
   >  -p!
   >     ixb
   >    >  uf!
   >    >     -1.
   >    >    >  0 -I/usr/local/include/freetype2 -DGNOMELOCALEDIR="/usr/X11R6/share/locale" -I/usr/X11R6/include/libgnomedb-0.2.96/gnome-db -I/usr/local/include -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/gnome-xml -I/usr/local/include/orbit-1.0  -O -pipe  -Wall -c tree.c
   >    >    > cc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -I../intl  -I/usr/X11R6/include/libgda-0.2.96/gda -I/usr/local/include/glib12 -D_THREAD_SAFE -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/gnome-xml -I/usr/X11R6/include/gconf/1 -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/gnome-xml -I/usr/local/include/orbit-1.0 -I/usr/local/include/gnome-xml -I/usr/X11R6/include -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/X11R6/includ
 e/!
    gdk
   >  -p!
   >     ixb
   >    >  uf!
   >    >     -1.
   >    >    >  0 -I/usr/local/include/freetype2 -DGNOMELOCALEDIR="/usr/X11R6/share/locale" -I/usr/X11R6/include/libgnomedb-0.2.96/gnome-db -I/usr/local/include -I/usr/X11R6/include/gnome-1.0 -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H -I/usr/X11R6/lib/gnome-libs/include -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include/gdk-pixbuf-1.0 -I/usr/local/include/freetype2 -I/usr/local/include/gnome-xml -I/usr/local/include/orbit-1.0  -O -pipe  -Wall -c utils.c
   >    >    > /bin/sh ../libtool --mode=link cc  -O -pipe  -Wall  -o glade  debug.o editor.o gbwidget.o  glade_widget_data.o gbsource.o glade.o  glade_clipboard.o glade_gnome.o  glade_gnomelib.o glade_gnomedblib.o  glade_gtk12lib.o glade_keys_dialog.o  glade_menu_editor.o glade_palette.o  glade_plugin.o glade_project.o  glade_project_options.o glade_project_view.o  glade_project_window.o keys.o load.o  main.o palette.o property.o save.o  source.o source_os2.o styles.o tree.o  utils.o gbwidgets/libgbwidgets.a 	gnome/libgnomewidgets.a 	gnome-db/libgnomedbwidgets.a 	-lintl -L/usr/X11R6/lib -L/usr/X11R6/lib -lgda-common -lgda-client -L/usr/local/lib -lgthread12 -lglib12 -pthread -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/local/lib -lxml -lz -L/usr/X11R6/lib -L/usr/local/lib -lintl -lgconf-1 -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib12 -lwrap -lm -Wl,-E -L/usr/X11R6/lib -L/usr/local/l
 ib!
     -l
   >  bo!
   >     nob
   >    >  o !
   >    >     -lo
   >    >    >  af -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lwrap -lbonobox -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lSM -lICE -lgnome -lgnomesupport -lesd -lgnugetopt -laudiofile -lgdk_pixbuf -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -lxml -lz -Wl,-E -L/usr/local/lib -L/usr/X11R6/lib -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lwrap -lbonobox -lgnomeprint -lXpm -ljpeg -lgnomeui -lgdk_imlib -ltiff -lungif -lpng -lSM -lICE -lgnome -lgnomesupport -lesd -lgnugetopt -laudiofile -lart_lgpl -lxml -lz -lfreetype -lgdk_pixbuf -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/X11R6/lib -lgnomedb -L/usr/local/libs -Wl,-E -L/usr/X11R6/lib -L/usr/local/lib -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lwrap -lbonobox -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lSM -lICE -lgnome -lgnomesupport -lesd -lgnugetopt -laudiofile -lgdk_pixbuf -lgtk12 -lgdk12 -lgmodule12 -lgli
 b1!
    2 -
   >  li!
   >     ntl
   >    >   -!
   >    >     lXe
   >    >    >  xt -lX11 -lm -lxml -lz
   >    >    > mkdir .libs
   >    >    > cc -O -pipe -Wall -o glade debug.o editor.o gbwidget.o glade_widget_data.o gbsource.o glade.o glade_clipboard.o glade_gnome.o glade_gnomelib.o glade_gnomedblib.o glade_gtk12lib.o glade_keys_dialog.o glade_menu_editor.o glade_palette.o glade_plugin.o glade_project.o glade_project_options.o glade_project_view.o glade_project_window.o keys.o load.o main.o palette.o property.o save.o source.o source_os2.o styles.o tree.o utils.o gbwidgets/libgbwidgets.a gnome/libgnomewidgets.a gnome-db/libgnomedbwidgets.a -lintl -L/usr/X11R6/lib -L/usr/X11R6/lib -lgda-common -lgda-client -L/usr/local/lib -lgthread12 -lglib12 -pthread -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk12 -lgdk12 -L/usr/local/lib -Wl,-E -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/local/lib -lxml -lz -L/usr/X11R6/lib -L/usr/local/lib -lintl -lgconf-1 -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib12 -lwrap -lm -Wl,-E -L/usr/X11R6/lib -L/usr/local/lib -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP
  -!
    lOR
   >  Bi!
   >     tut
   >    >  il!
   >    >      -l
   >    >    >  wrap -lbonobox -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lSM -lICE -lgnome -lgnomesupport -lesd -lgnugetopt -laudiofile -lgdk_pixbuf -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -lxml -lz -Wl,-E -L/usr/local/lib -L/usr/X11R6/lib -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lwrap -lbonobox -lgnomeprint -lXpm -ljpeg -lgnomeui -lgdk_imlib -ltiff -lungif -lpng -lSM -lICE -lgnome -lgnomesupport -lesd -lgnugetopt -laudiofile -lart_lgpl -lxml -lz -lfreetype -lgdk_pixbuf -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -L/usr/X11R6/lib -lgnomedb -L/usr/local/libs -Wl,-E -L/usr/X11R6/lib -L/usr/local/lib -lbonobo -loaf -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lwrap -lbonobox -lXpm -ljpeg -lgnomeui -lart_lgpl -lgdk_imlib -ltiff -lungif -lpng -lSM -lICE -lgnome -lgnomesupport -lesd -lgnugetopt -laudiofile -lgdk_pixbuf -lgtk12 -lgdk12 -lgmodule12 -lglib12 -lintl -lXext -lX11 -lm -lxml -lz 
   >    >    > editor.o: In function `editor_show_grid_settings_dialog':
   >    >    > editor.o(.text+0x12a): undefined reference to `dcgettext__'
   >    >    > editor.o(.text+0x2ca): undefined reference to `dcgettext__'
   >    >    > editor.o(.text+0x43f): undefined reference to `dcgettext__'
   >    >    > editor.o(.text+0x5ee): undefined reference to `dcgettext__'
   >    >    > editor.o(.text+0x698): undefined reference to `dcgettext__'
   >    >    > editor.o(.text+0x79a): more undefined references to `dcgettext__' follow
   >    >    > *** Error code 1
   >    >    > 
   >    >    > Stop in /usr/ports/devel/glade/work/glade-0.6.4/glade.
   >    >    > *** Error code 1
   >    >    > 
   >    >    > Stop in /usr/ports/devel/glade/work/glade-0.6.4/glade.
   >    >    > *** Error code 1
   >    >    > 
   >    >    > Stop in /usr/ports/devel/glade/work/glade-0.6.4.
   >    >    > *** Error code 1
   >    >    > 
   >    >    > Stop in /usr/ports/devel/glade/work/glade-0.6.4.
   >    >    > *** Error code 1
   >    >    > 
   >    >    > Stop in /usr/ports/devel/glade.
   >    >    > netcom1# 
   >    >    > 
   >    >    > To Unsubscribe: send mail to majordomo@FreeBSD.org
   >    >    > with "unsubscribe freebsd-gnome" in the body of the message
   >    >    > 
   >    >    -- 
   >    >    PGP Key : http://www.marcuscom.com/pgp.asc
   >    > 
   >    > 
   >    -- 
   >    PGP Key : http://www.marcuscom.com/pgp.asc
   > 
   > 
   >    To Unsubscribe: send mail to majordomo@FreeBSD.org
   >    with "unsubscribe freebsd-gnome" in the body of the message
   > 
   > 
   -- 
   PGP Key : http://www.marcuscom.com/pgp.asc


   To Unsubscribe: send mail to majordomo@FreeBSD.org
   with "unsubscribe freebsd-gnome" in the body of the message


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020802180103.7421F13101>