Compling GTK 2.8.1 under Cygwin?




I am trying to install http://pcb.sf.net/ under Cygwin,
which requires that I have GTK version 2.4 or later.

Can someone please tell me now to get GTK to compile under Cygwin?
I get these errors:

Short spew:

/cygdrive/c/HOME/glib-2.8.1/gobject/gboxed.c:76: undefined reference to `_g_malloc0'
.libs/gboxed.o: In function `gdate_copy':

Full spew:

make[2]: Leaving directory `/cygdrive/c/HOME/glib-2.8.1/glib'
Making all in gobject
make[2]: Entering directory `/cygdrive/c/HOME/glib-2.8.1/gobject'
make  all-am
make[3]: Entering directory `/cygdrive/c/HOME/glib-2.8.1/gobject'
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall libglib-2.0 -o libgobject-2.0.la -rpath /usr/local/lib -version-info 800:1:800 -export-dynamic -no-undefined -export-symbols-regex "^[^_].*" gboxed.lo gclosure.lo genums.lo gobject.lo gparam.lo gparamspecs.lo gsignal.lo gsourceclosure.lo gtype.lo gtypemodule.lo gtypeplugin.lo gvalue.lo gvaluearray.lo gvaluetransform.lo gvaluetypes.lo ../glib/libglib-2.0.la -lintl -lglib-2.0

*** Warning: This system can not link to static lib archive ../glib/libglib-2.0.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.

*** Warning: This system can not link to static lib archive /usr/local/lib/libglib-2.0.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
rm -fr  .libs/libgobject-2.0.dll.a .libs/libgobject-2.0.exp
generating symbol list for `libgobject-2.0.la'
/usr/bin/nm -B .libs/gboxed.o .libs/gclosure.o .libs/genums.o .libs/gobject.o .libs/gparam.o .libs/gparamspecs.o .libs/gsignal.o .libs/gsourceclosure.o .libs/gtype.o .libs/gtypemodule.o .libs/gtypeplugin.o .libs/gvalue.o .libs/gvaluearray.o .libs/gvaluetransform.o .libs/gvaluetypes.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | /usr/bin/sed -e '/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/' | /usr/bin/sed -e '/^[AITW] /s/.* //' | sort | uniq > .libs/libgobject-2.0.exp grep -E -e "^[^_].*" ".libs/libgobject-2.0.exp" > ".libs/libgobject-2.0.expT"
mv -f ".libs/libgobject-2.0.expT" ".libs/libgobject-2.0.exp"
if test "x`/usr/bin/sed 1q .libs/libgobject-2.0.exp`" = xEXPORTS; then cp .libs/libgobject-2.0.exp .libs/cyggobject-2.0-0.dll.def; else echo EXPORTS
.libs/cyggobject-2.0-0.dll.def; cat .libs/libgobject-2.0.exp >>
.libs/cyggobject-2.0-0.dll.def; fi
gcc -shared .libs/cyggobject-2.0-0.dll.def .libs/gboxed.o .libs/gclosure.o .libs/genums.o .libs/gobject.o .libs/gparam.o .libs/gparamspecs.o .libs/gsignal.o .libs/gsourceclosure.o .libs/gtype.o .libs/gtypemodule.o .libs/gtypeplugin.o .libs/gvalue.o .libs/gvaluearray.o .libs/gvaluetransform.o .libs/gvaluetypes.o -L/usr/lib /usr/lib/libintl.dll.a -o .libs/cyggobject-2.0-0.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libgobject-2.0.dll.a
Creating library file: .libs/libgobject-2.0.dll.a
.libs/gboxed.o: In function `value_copy':
/cygdrive/c/HOME/glib-2.8.1/gobject/gboxed.c:76: undefined reference to `_g_malloc0'
.libs/gboxed.o: In function `gdate_copy':


[*LONG* blizard of error messeages snipped]

.libs/gvaluetypes.o: In function `g_value_set_double':
/cygdrive/c/HOME/glib-2.8.1/gobject/gvaluetypes.c:725: undefined reference to `_g_return_if_fail_warning'
.libs/gvaluetypes.o: In function `g_value_dup_string':
/cygdrive/c/HOME/glib-2.8.1/gobject/gvaluetypes.c:801: undefined reference to `_g_strdup'
collect2: ld returned 1 exit status
make[3]: *** [libgobject-2.0.la] Error 1
make[3]: Leaving directory `/cygdrive/c/HOME/glib-2.8.1/gobject'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/HOME/glib-2.8.1/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/HOME/glib-2.8.1'
make: *** [all] Error 2




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