Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20020626042525.10690.qmail@web13308.mail.yahoo.com> Date: Tue, 25 Jun 2002 21:25:25 -0700 (PDT) From: Siddhartha Shivshankar Subject: Errors while compiling glib To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hello, I'm trying to compile glib on cygwin. I get the following errors when I'm running make (below my msg). It happens with every version of the glib package thats given for download. I searched the previous threads about the same topic, and though the very same problem is highlighted, I didnt locate a clear solution. ( I think ) Since I got a fair no of postings that were close, I thought I had given in a good search string. Is there a way to modify the parameters passed to the configure script to rectify this ? Or is there actually a patched version somewhere ? Sorry if this has already been dealt with and I didnt just give the right search strings. Also I'm wondering if the pre-compiled binaries for cygwin, the link is broken on the software download page for cygwin. I tried building glib because of that actually. Am I correct about the broken link ? Thanks in advance, Siddhartha. ---------------- Error output -------------------- make all-recursive make[1]: Entering directory `/glib/glib-2.0.0' Making all in . make[2]: Entering directory `/glib/glib-2.0.0' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/glib/glib-2.0.0' Making all in m4macros make[2]: Entering directory `/glib/glib-2.0.0/m4macros' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/glib/glib-2.0.0/m4macros' Making all in glib make[2]: Entering directory `/glib/glib-2.0.0/glib' Making all in libcharset make[3]: Entering directory `/glib/glib-2.0.0/glib/libcharset' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/glib/glib-2.0.0/glib/libcharset' make[3]: Entering directory `/glib/glib-2.0.0/glib' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/glib/glib-2.0.0/glib' make[2]: Leaving directory `/glib/glib-2.0.0/glib' Making all in gobject make[2]: Entering directory `/glib/glib-2.0.0/gobject' /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -L/glib/glib-2.0.0/glib -o libgobject-2.0.la -rpath /usr/local/lib -version-info 0:0:0 -export-dynamic -no-undefined 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 *** Warning: This library needs some functionality provided by ../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. rm -fr .libs/libgobject-2.0.la .libs/libgobject-2.0.* .libs/libgobject-2.0.* generating symbol list for `libgobject-2.0.la' dlltool --export-all --exclude-symbols DllMain AT 12,_cygwin_dll_entry AT 12,_cygwin_noncygwin_dll_entry AT 12,DllMainCRTStartup AT 12,DllEntryPoint AT 12 --output-def .libs/cyggobject-2.0-0.dll-def 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 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < .libs/cyggobject-2.0-0.dll-def > .libs/libgobject-2.0.exp if test "x`head -1 .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; _lt_hint=1; cat .libs/libgobject-2.0.exp | while read symbol; do set dummy $symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/cyggobject-2.0-0.dll-def;; *) echo " $2 @ $_lt_hint $3 ; " >> .libs/cyggobject-2.0-0.dll-def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi gcc -Wl,--base-file,.libs/cyggobject-2.0-0.dll-base -Wl,--dll -nostartfiles -Wl,-e,__cygwin_dll_entry AT 12 -o .libs/cyggobject-2.0-0.dll 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 -L/usr/local/lib -L/glib/glib-2.0.0/glib -lintl make[2]: Leaving directory `/glib/glib-2.0.0/gobject' make[1]: Leaving directory `/glib/glib-2.0.0' ---- Some way further down the output ------- ---- last screen of output, lots more like it before------ make all-recursive make[1]: Entering directory `/glib/glib-2.0.0' Making all in . make[2]: Entering directory `/glib/glib-2.0.0' make[2]: Nothing to be done for `all-am'. make[2]: Leaving directory `/glib/glib-2.0.0' Making all in m4macros make[2]: Entering directory `/glib/glib-2.0.0/m4macros' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/glib/glib-2.0.0/m4macros' Making all in glib make[2]: Entering directory `/glib/glib-2.0.0/glib' Making all in libcharset make[3]: Entering directory `/glib/glib-2.0.0/glib/libcharset' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/glib/glib-2.0.0/glib/libcharset' make[3]: Entering directory `/glib/glib-2.0.0/glib' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/glib/glib-2.0.0/glib' make[2]: Leaving directory `/glib/glib-2.0.0/glib' Making all in gobject make[2]: Entering directory `/glib/glib-2.0.0/gobject' /bin/sh ../libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -L/glib/glib-2.0.0/glib -o libgobject-2.0.la -rpath /usr/local/lib -version-info 0:0:0 -export-dynamic -no-undefined 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 *** Warning: This library needs some functionality provided by ../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. rm -fr .libs/libgobject-2.0.la .libs/libgobject-2.0.* .libs/libgobject-2.0.* generating symbol list for `libgobject-2.0.la' dlltool --export-all --exclude-symbols DllMain AT 12,_cygwin_dll_entry AT 12,_cygwin_noncygwin_dll_entry AT 12,DllMainCRTStartup AT 12,DllEntryPoint AT 12 --output-def .libs/cyggobject-2.0-0.dll-def 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 sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < .libs/cyggobject-2.0-0.dll-def > .libs/libgobject-2.0.exp if test "x`head -1 .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; _lt_hint=1; cat .libs/libgobject-2.0.exp | while read symbol; do set dummy $symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/cyggobject-2.0-0.dll-def;; *) echo " $2 @ $_lt_hint $3 ; " >> .libs/cyggobject-2.0-0.dll-def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi gcc -Wl,--base-file,.libs/cyggobject-2.0-0.dll-base -Wl,--dll -nostartfiles -Wl,-e,__cygwin_dll_entry AT 12 -o .libs/cyggobject-2.0-0.dll 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 -L/usr/local/lib -L/glib/glib-2.0.0/glib -lintl make[2]: Leaving directory `/glib/glib-2.0.0/gobject' make[1]: Leaving directory `/glib/glib-2.0.0' __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/