i need help to compile glib2.2.1 in
cygwin 1.5.X .
i get this from subdir
glib2.2.1/gobject/
$ make
make all-recursive
make[1]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch'
Making all in .
make[2]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch'
make[2]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch'
Making all in m4macros
make[2]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/m4macros'
Making all in glib
make[2]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib'
Making all in libcharset
make[3]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib/libchar
et'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib/libchars
t'
Making all in trio
make[3]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib/trio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib/trio'
make[3]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib'
make[2]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib'
Making all in gobject
make[2]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/gobject'
/bin/bash ../libtool --mode=link gcc -g -O2 -Wall -o libgobject-2.0.la -rpath
/usr/lib -version-info 200:1:200 -export-dynamic -no-undefined gboxed.lo gclosu
e.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 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.
libtool: link: warning: `/lib/libintl.la' seems to be moved
and then...
*** 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.
libtool: link: warning: `/lib/libintl.la' seems to be moved
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@12,_cygwin_dll_entry@12,_cygwin_
noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 --output-def .libs/
cyggobject-2.0-0.dll-def gboxed.lo gclosure.lo genums.lo gobject.lo gparam.lo g
paramspecs.lo gsignal.lo gsourceclosure.lo gtype.lo gtypemodule.lo gtypeplugin.l
o 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`sed 1q .libs/libgobject-2.0.exp`" = xEXPORTS; then cp .libs/libgobjec
t-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 s
et dummy $symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/cyggobject-2.
0-0.dll-def;; 4) echo " $2 $3 $4 ; " >> .libs/cyggobject-2.0-0.dll-def; _lt_hint
=`expr $_lt_hint - 1`;; *) echo " $2 @ $_lt_hint $3 ; " >> .libs/cyggobject-2.0-
0.dll-def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi...............
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
To make libglib-2.0-0.la into a dynamic library (.DLL) you need to fix the libtool.
An easy way to do this is to copy /usr/autotool/devel/bin/libtool to overwrite libtool in build folder, right after './configure --prefix=.......'
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i need help to compile glib2.2.1 in
cygwin 1.5.X .
i get this from subdir
glib2.2.1/gobject/
$ make
make all-recursive
make[1]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch'
Making all in .
make[2]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch'
make[2]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch'
Making all in m4macros
make[2]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/m4macros'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/m4macros'
Making all in glib
make[2]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib'
Making all in libcharset
make[3]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib/libchar
et'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib/libchars
t'
Making all in trio
make[3]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib/trio'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib/trio'
make[3]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib'
make[2]: Leaving directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/glib'
Making all in gobject
make[2]: Entering directory `/usr/src/gnome/2.2.1/glib-2.2.1_patch/gobject'
/bin/bash ../libtool --mode=link gcc -g -O2 -Wall -o libgobject-2.0.la -rpath
/usr/lib -version-info 200:1:200 -export-dynamic -no-undefined gboxed.lo gclosu
e.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 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.
libtool: link: warning: `/lib/libintl.la' seems to be moved
and then...
*** 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.
libtool: link: warning: `/lib/libintl.la' seems to be moved
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@12,_cygwin_dll_entry@12,_cygwin_
noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 --output-def .libs/
cyggobject-2.0-0.dll-def gboxed.lo gclosure.lo genums.lo gobject.lo gparam.lo g
paramspecs.lo gsignal.lo gsourceclosure.lo gtype.lo gtypemodule.lo gtypeplugin.l
o 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`sed 1q .libs/libgobject-2.0.exp`" = xEXPORTS; then cp .libs/libgobjec
t-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 s
et dummy $symbol; case $# in 2) echo " $2 @ $_lt_hint ; " >> .libs/cyggobject-2.
0-0.dll-def;; 4) echo " $2 $3 $4 ; " >> .libs/cyggobject-2.0-0.dll-def; _lt_hint
=`expr $_lt_hint - 1`;; *) echo " $2 @ $_lt_hint $3 ; " >> .libs/cyggobject-2.0-
0.dll-def;; esac; _lt_hint=`expr 1 + $_lt_hint`; done; fi...............
To make libglib-2.0-0.la into a dynamic library (.DLL) you need to fix the libtool.
An easy way to do this is to copy /usr/autotool/devel/bin/libtool to overwrite libtool in build folder, right after './configure --prefix=.......'