[Mono-devel-list] Build failed for mono 0.29 on Windows

Giovanni Zito gzito at mbox.thunder.it
Sun Jan 4 12:48:32 EST 2004


Thank you for reply. It was useful. By the way, I've a new problem now. Look
at this:

gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono -I../..
/libgc/include -D_REENTRANT -ID:/cygwin/
usr/local/include/glib-2.0 -ID:/cygwin/usr/local/lib/glib-2.0/include   -ID:
/cygwin/usr/local/include/glib-2.0 -ID:/
cygwin/usr/local/lib/glib-2.0/include    -DMONO_ASSEMBLIES=\"`cygpath -m
"/usr/local/lib"`\" -DMONO_CFG_DIR=\"`cygpa
th -m
"/usr/local/etc"`\"  -DWIN32_THREADS -O -g -O2 -fno-strict-aliasing -g -Wall
 -Wunused -Wmissing-prototypes -Wm
issing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnested-exter
ns -Wpointer-arith -Wno-cast-qual -Wcast
-align -Wwrite-strings -c `test -f 'monosn.c' || echo './'`monosn.c
/bin/bash ../../libtool --mode=link
gcc -mno-cygwin -O -g -O2 -fno-strict-aliasing -g -Wall -Wunused -Wmissing-p
roto
types -Wmissing-declarations -Wstrict-prototypes  -Wmissing-prototypes -Wnes
ted-externs -Wpointer-arith -Wno-cast-qu
al -Wcast-align -Wwrite-strings   -o monosn.exe  monosn.o
../metadata/libmetadata.la ../io-layer/libwapi.la ../utils
/libmonoutils.la
../../libgc/libmonogc.la -LD:/cygwin/usr/local/lib -lgthread-2.0 -lglib-2.0
-lintl -liconv   -Wl,--
export-dynamic  -LD:/cygwin/usr/local/lib -lgmodule-2.0 -lglib-2.0 -lintl -l
iconv   -lm -lws2_32 -lpsapi
extracting exported symbol list from `cygintl-2.dll'
test -f .libs/impgen.c || \
      sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends
here \*\// { s/^# //;s/^# *$//; p; }" -e d
 < ../../libtool > .libs/impgen.c
      test -f .libs/impgen.exe || (cd .libs && \
      if test "xgcc" != "x" ; then gcc -o impgen impgen.c ; \
      else gcc -mno-cygwin -o impgen impgen.c ; fi)
      .libs/impgen /usr/lib/../bin/cygintl-2.dll > .libs/cygintl-2.dll-def
generating import library for `cygintl-2.dll'
dlltool --as=as --dllname cygintl-2.dll --def
.libs/cygintl-2.dll-def --output-lib .libs/libimp-cygintl-2.a
libtool: link: cannot find the library `/usr/lib/libiconv.la'
make[4]: *** [monosn.exe] Error 1
make[4]: Leaving directory `/home/Giovanni/src/mono-0.29/mono/metadata'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/Giovanni/src/mono-0.29/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Giovanni/src/mono-0.29/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Giovanni/src/mono-0.29'
make: *** [all] Error 2


I've unzipped precompiled mono dependencies in /usr/local

$ ll /usr/local/lib
total 2757
drwxrwxrwx+   5 Giovanni Users           0 Jan  4 18:28 .
drwxrwxrwx+   9 Giovanni Users           0 Jan  4 17:57 ..
drwxrwxrwx+   3 Giovanni Nessuno         0 Jan  4 16:42 glib-2.0
-rwxrwxrwx    1 Giovanni Nessuno    170444 Jul  3  2002 glib-2.0.lib
-rwxrwxrwx    1 Giovanni Nessuno      3636 Jul  3  2002 gmodule-2.0.lib
-rwxrwxrwx    1 Giovanni Nessuno     75556 Jul  3  2002 gobject-2.0.lib
-rwxrwxrwx    1 Giovanni Nessuno      2408 Jul  3  2002 gthread-2.0.lib
-rwxrwxrwx    1 Giovanni Nessuno    843776 Nov  5  2001 iconv.dll
-rwxrwxrwx    1 Giovanni Nessuno      2650 Sep  2  2001 iconv.lib
-rwxrwxrwx    1 Giovanni Nessuno      9704 Oct 24  2001 intl.lib
-rwxrwxrwx    1 Giovanni Nessuno    506486 Jul  3  2002 libglib-2.0-0.dll
-rwxrwxrwx    1 Giovanni Nessuno    565322 Jul  3  2002 libglib-2.0.dll.a
-rwxrwxrwx    1 Giovanni Nessuno     23284 Jul  3  2002 libgmodule-2.0-0.dll
-rwxrwxrwx    1 Giovanni Nessuno      7596 Jul  3  2002 libgmodule-2.0.dll.a
-rwxrwxrwx    1 Giovanni Nessuno    260605 Jul  3  2002 libgobject-2.0-0.dll
-rwxrwxrwx    1 Giovanni Nessuno    234006 Jul  3  2002 libgobject-2.0.dll.a
-rwxrwxrwx    1 Giovanni Nessuno     32644 Jul  3  2002 libgthread-2.0-0.dll
-rwxrwxrwx    1 Giovanni Nessuno      3176 Jul  3  2002 libgthread-2.0.dll.a
-rwxrwxrwx    1 Giovanni Nessuno     44100 Jan  1  2002 libintl-1.dll
-rwxrwxrwx    1 Giovanni Nessuno     29228 Oct 15  2001 libintl.dll.a
drwxrwxrwx+  32 Giovanni Nessuno         0 Jan  4 16:42 locale
drwxrwxrwx+   2 Giovanni Nessuno         0 Jan  4 16:50 pkgconfig

They come from mono home page, i.e.:

Precompiled GLIB 2.0 and pkg-config packages (and their dependencies) by the
GIMP for Windows project from
http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip
http://www.go-mono.com/archive/glib-2.0.4-20020703.zip
http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip
http://www.go-mono.com/archive/libiconv-1.7.zip
http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip
http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip


You may have note that I've not "libiconv.la". What it does mean?

Please help!




More information about the Mono-devel-list mailing list