[Gtk-sharp-list] Compilation Failure with Gtk# 2.10.2

Jeffrey Vaughan vaughan2 at seas.upenn.edu
Mon Nov 19 23:22:08 EST 2007


Hi,

I'm trying to compile Gtk# 2.10.2 under OS X 10.4.  However, the make
process dies when ld can't find several functions (e.g. _g_free).  I've
copied the output of make below.  Can anyone help me understand what's going on?

Thanks!
Jeff

(PS. Please copy any reply to me off list)

jeff at echo gtk-sharp-2.10.2 $ uname -a
Darwin echo.local 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00
PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc
jeff at echo gtk-sharp-2.10.2 $ echo $PKG_CONFIG_PATH
:/usr/local/gtk-osx/lib/pkgconfig:/Library/Frameworks/Mono.framework/Versions/Current/lib/pkgconfig
jeff at echo gtk-sharp-2.10.2 $ mono --version
Mono JIT compiler version 1.2.5.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Architecture:  ppc
        Disabled:      none
jeff at echo gtk-sharp-2.10.2 $ make
make  all-recursive
Making all in sources
make[2]: Nothing to be done for `all'.
Making all in generator
make[2]: Nothing to be done for `all'.
Making all in parser
make[2]: Nothing to be done for `all'.
Making all in glib
Making all in glue
/bin/sh ../../libtool --tag=CC --mode=link gcc  -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
-Wmissing-prototypes -Wnested-externs  -Wshadow -Wpointer-arith
-Wno-cast-qual -Wcast-align -Wwrite-strings   -o libglibsharpglue-2.la
-rpath /usr/local/gtk-sharp-2.10.2/lib -module -avoid-version -no-undefined
error.lo list.lo object.lo slist.lo type.lo unichar.lo value.lo
valuearray.lo thread.lo /usr/local/gtk-osx/lib
gcc  -o .libs/libglibsharpglue-2.so -bundle  .libs/error.o .libs/list.o
.libs/object.o .libs/slist.o .libs/type.o .libs/unichar.o .libs/value.o
.libs/valuearray.o .libs/thread.o
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_g_free
_g_malloc0
_g_object_newv
_g_cclosure_new
_g_signal_lookup
_g_signal_override_class_closure
_g_type_check_instance_is_a
_g_type_class_peek
_g_type_class_ref
_g_type_name
_g_type_query
_g_type_register_static
_g_unichar_to_utf8
_g_utf16_to_ucs4
_g_object_class_find_property
_g_type_check_value_holds
_g_type_from_name
_g_value_get_boxed
_g_value_init
_g_value_set_boxed
_g_threads_got_initialized
collect2: ld returned 1 exit status
make[3]: *** [libglibsharpglue-2.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


More information about the Gtk-sharp-list mailing list