[Mono-dev] Error (it says warning, but goes into infinite loop) when building mono from svn

Steen Manniche stm at dbc.dk
Fri Nov 10 06:53:34 EST 2006


Hi all.

In the last couple of days, I've been trying to build mono from svn.
During autogen, I get a warning about a unsupported conditional
definition in the mono/mono/mini/Makefile.am. 

Here's the story:
$ ./autogen.sh
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`./autogen.sh' command line.

Running libtoolize...
Running aclocal  ...
Running autoheader...
autoheader: WARNING: Using auxiliary files such as `acconfig.h',
`config.h.bot'
autoheader: WARNING: and `config.h.top', to define templates for
`config.h.in'
autoheader: WARNING: is deprecated and discouraged.
autoheader: 
autoheader: WARNING: Using the third argument of `AC_DEFINE' and
autoheader: WARNING: `AC_DEFINE_UNQUOTED' allows one to define a
template without
autoheader: WARNING: `acconfig.h':
autoheader: 
autoheader: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader:             [Define if a function `main' is needed.])
autoheader: 
autoheader: WARNING: More sophisticated templates can also be produced,
see the
autoheader: WARNING: documentation.
Running automake --gnu  ...
mono/metadata/Makefile.am:39: variable `bundle_obj' not defined
mono/metadata/Makefile.am:164: variable `ICU_LIBS' not defined
mono/interpreter/Makefile.am:47: variable `ICU_LIBS' not defined
mono/interpreter/Makefile.am:47: variable `ICU_LIBS' not defined
automake: mono/tests/Makefile.am: warning: automake does not support
libtest_la_LDFLAGS being defined conditionally
mono/mini/Makefile.am:362: cpu-x86.h multiply defined in condition
mono/mini/Makefile.am:363: cpu-amd64.h multiply defined in condition
mono/mini/Makefile.am:364: cpu-g4.h multiply defined in condition
mono/mini/Makefile.am:365: cpu-arm.h multiply defined in condition
mono/mini/Makefile.am:366: cpu-sparc.h multiply defined in condition
mono/mini/Makefile.am:367: cpu-s390.h multiply defined in condition
mono/mini/Makefile.am:368: cpu-s390x.h multiply defined in condition
mono/mini/Makefile.am:369: cpu-ia64.h multiply defined in condition
mono/mini/Makefile.am:370: cpu-alpha.h multiply defined in condition
automake: mono/mini/Makefile.am: unterminated conditionals:
@CROSS_COMPILING_TRUE@
automake: mono/mini/Makefile.am: warning: automake does not support
libmono_la_LDFLAGS being defined conditionally
mono/mini/Makefile.am:327: warning: automake does not support
conditional definition of arch_sources in libmono_la_SOURCES

<repeat last line indefinitely>

I have tried with autogen.sh --prefix=/usr/local, but reach the same
result.

Any ideas?

Best regards,
Steen Manniche
DBC





More information about the Mono-devel-list mailing list