Re: GLib from CVS HEAD not building



On 4/22/06, Claudio Saavedra <csaavedr wh8 tu-dresden de> wrote:
> Hi,
>
> After Matthias yesterday's changes, GLib HEAD is not building:
>
> make[3]: Entering directory `/home/claudio/cvs/gnome-2.16/glib/gobject'
> if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
> -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_ENABLE_DEBUG
> -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS
> -pthread  -g -O2 -Wall -MT gboxed.lo -MD -MP -MF ".deps/gboxed.Tpo" \
>           -c -o gboxed.lo `test -f 'gboxed.c' || echo './'`gboxed.c; \
>         then mv -f ".deps/gboxed.Tpo" ".deps/gboxed.Plo"; \
>         else rm -f ".deps/gboxed.Tpo"; exit 1; \
>         fi
>  gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GLib-GObject\" -I..
> -I../glib -I.. -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED
> -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -pthread -g -O2 -Wall
> -MT gboxed.lo -MD -MP -MF .deps/gboxed.Tpo -c gboxed.c  -fPIC -DPIC
> -o .libs/gboxed.o
> In file included from gboxed.c:27:
> gobjectalias.h:23: error: 'g_boxed_type_register_static_simple'
> undeclared here (not in a function)
> gobjectalias.h:23: warning: type defaults to 'int' in declaration of
> 'IA__g_boxed_type_register_static_simple'
> In file included from gboxed.c:580:
> gobjectaliasdef.c:27: warning: type defaults to 'int' in declaration of
> 'g_boxed_type_register_static_simple'
> gobjectaliasdef.c:27: error: 'g_boxed_type_register_static_simple'
> aliased to undefined symbol 'IA__g_boxed_type_register_static_simple'
> make[3]: *** [gboxed.lo] Error 1
> make[3]: Leaving directory `/home/claudio/cvs/gnome-2.16/glib/gobject'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/home/claudio/cvs/gnome-2.16/glib/gobject'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/claudio/cvs/gnome-2.16/glib'
> make: *** [all] Error 2
>

Hmm, stupid mistake on my part. I'll fix it as soon as I have a few minutes.
If you want to get it to compile, you can simply remove
g_boxed_type_register_static_simple
from gobject.symbols.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]