[Gtk-sharp-list] Error, when compiling Gtk#?

Ales Vojacek alesv@fbl.cz
Wed, 25 Sep 2002 10:51:05 +0200


When I' trying to compile Gtk# the error is
$ make
/bin/bash ../libtool --mode=link
gcc  -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wstrict-prototypes  -Wmissing-prototypes -Wnested-externs  -Wshadow -Wpoint
er-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings   -o libgtksharpglue.la -rpath /usr/local/lib
adjustment.lo value.lo f
ileselection.lo dialog.lo colorseldialog.lo error.lo event.lo slist.lo
object.lo paned.lo style.lo t
ype.lo widget.lo list.lo
rm -fr  .libs/libgtksharpglue.dll.a
gcc -shared  .libs/adjustment.o .libs/value.o .libs/fileselection.o
.libs/dialog.o .libs/colorseldia
log.o .libs/error.o .libs/event.o .libs/slist.o .libs/object.o .libs/paned.o
.libs/style.o .libs/typ
e.o .libs/widget.o .libs/list.o   -o
.libs/cyggtksharpglue-0.dll -Wl,--image-base=0x10000000 -Wl,--o
ut-implib,.libs/libgtksharpglue.dll.a
Creating library file: .libs/libgtksharpglue.dll.a
.libs/adjustment.o: In function `gtksharp_gtk_adjustment_set_bounds':
/home/alesv/mono/gtk-sharp/glue/adjustment.c:21: undefined reference to
`gtk_adjustment_changed'
.libs/value.o: In function `gtksharp_value_create':
/home/alesv/mono/gtk-sharp/glue/value.c:13: undefined reference to
`g_malloc0'
/home/alesv/mono/gtk-sharp/glue/value.c:14: undefined reference to
`g_value_init'
.libs/value.o: In function `gtksharp_value_create_from_property':
/home/alesv/mono/gtk-sharp/glue/value.c:21: undefined reference to
`g_object_class_find_property'
.libs/object.o: In function `gtksharp_object_unref_if_floating':
/home/alesv/mono/gtk-sharp/glue/object.c:14: undefined reference to
`gtk_object_get_type'
/home/alesv/mono/gtk-sharp/glue/object.c:14: undefined reference to
`g_type_check_instance_cast'
/home/alesv/mono/gtk-sharp/glue/object.c:15: undefined reference to
`g_object_unref'
.libs/style.o: In function `gtksharp_gtk_style_get_white_gc':
/home/alesv/mono/gtk-sharp/glue/style.c:15: undefined reference to
`g_type_check_instance_cast'
/home/alesv/mono/gtk-sharp/glue/style.c:15: undefined reference to
`g_object_ref'
.libs/style.o: In function `gtksharp_gtk_style_get_black_gc':
/home/alesv/mono/gtk-sharp/glue/style.c:22: undefined reference to
`g_type_check_instance_cast'
/home/alesv/mono/gtk-sharp/glue/style.c:22: undefined reference to
`g_object_ref'
.libs/style.o: In function `gtksharp_gtk_style_get_fg_gc':
/home/alesv/mono/gtk-sharp/glue/style.c:29: undefined reference to
`g_type_check_instance_cast'
/home/alesv/mono/gtk-sharp/glue/style.c:29: undefined reference to
`g_object_ref'
.libs/style.o: In function `gtksharp_gtk_style_get_bg_gc':
/home/alesv/mono/gtk-sharp/glue/style.c:36: undefined reference to
`g_type_check_instance_cast'
/home/alesv/mono/gtk-sharp/glue/style.c:36: undefined reference to
`g_object_ref'
.libs/type.o: In function `gtksharp_get_type_name':
/home/alesv/mono/gtk-sharp/glue/type.c:13: undefined reference to
`g_type_name'
.libs/type.o: In function `gtksharp_is_object':
/home/alesv/mono/gtk-sharp/glue/type.c:19: undefined reference to
`g_type_check_instance_is_a'
num_of_bfd=36 num_of_left_bfd=0 whole_size=    1520 whole_reduced_size=
4348
collect2: ld returned 1 exit status
make: *** [libgtksharpglue.la] Error 1


Can you help me?
Ales

P.S. It's cygwin under W2000