Re: The build is broken in glib -- libglib-2.0.so: undefined reference to `g_str_has_prefix'

James Henstridge <[email protected]> Sun, 19 May 2002 15:07:30 +0800
Newsgroups gmane.comp.gnome.release.2-0
Message-ID <[email protected]>
Miles Lane wrote:

>This failure is occuring attempting to build a frech checkout
>of glib:
>
>make[2]: Entering directory `/gnome/head/cvs/glib/gobject'
>/bin/sh ../libtool --mode=link gcc  -g -O2 -Wall -D_REENTRANT  -o
>glib-genmarshal  glib-genmarshal.o ../glib/libglib-2.0.la
>gcc -g -O2 -Wall -D_REENTRANT -o .libs/glib-genmarshal
>glib-genmarshal.o  ../glib/.libs/libglib-2.0.so -Wl,--rpath
>-Wl,/gnome/head/INSTALL/lib
>../glib/.libs/libglib-2.0.so: undefined reference to `g_str_has_prefix'
>../glib/.libs/libglib-2.0.so: undefined reference to `g_str_has_suffix'
>collect2: ld returned 1 exit status
>  
>
First of all, you should address these sort of questions to 
gtk-devel-list instead of here (in fact, gnome-2-0-list is not meant to 
be used anymore).

Second, aren't those functions part of the head branch of glib?  You 
should be using the glib-2-0 branch instead.

James.

-- 
Email: [email protected]              | Linux.conf.au 2003 Call for Papers out
WWW:   http://www.daa.com.au/~james/ |   http://conf.linux.org.au/cfp.html