[Mono-list] CVS code automake fails on RedHat 8.0

Michael Torrie torriem@byu.edu
26 Oct 2002 21:57:05 -0600


Apparently the version of automake that ships with RedHAt 8.0 is too new
for mono or something.  When I run autogen.sh, I get (everything else up
to that point is the same as on my redhat73 box and seems to work
dispite a number of warnings):

<snip>
Running automake --gnu  ...
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
mono/arch/Makefile.am: installing `./depcomp'
configure.in:501: CFLAGS was already defined in condition TRUE, which
implies condition PLATFORM_WIN32_TRUE
# The mingw math.h has "extern inline" functions that dont appear in
libs, so
# optimisation is required to actually inline them
  CFLAGS (User, where = configure.in:501) +=
  {
    TRUE => @CFLAGS@
  }
automake: mono/jit/Makefile.am: object `win32-exception.$(OBJEXT)'
created both
with libtool and without
automake: mono/jit/Makefile.am: object `codegen-x86.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `emit-x86.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `regset.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `debug.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `debug-stabs.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `debug-dwarf2.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `jit.$(OBJEXT)' created both with
libtool and without
automake: mono/jit/Makefile.am: object `trampoline.$(OBJEXT)' created
both with
libtool and without
automake: mono/jit/Makefile.am: object `exception.$(OBJEXT)' created
both with libtool and withoutRunning automake --gnu  ...
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
mono/arch/Makefile.am: installing `./depcomp'
configure.in:501: CFLAGS was already defined in condition TRUE, which
implies condition PLATFORM_WIN32_TRUE
# The mingw math.h has "extern inline" functions that dont appear in
libs, so
# optimisation is required to actually inline them
  CFLAGS (User, where = configure.in:501) +=
  {
    TRUE => @CFLAGS@
  }
automake: mono/jit/Makefile.am: object `win32-exception.$(OBJEXT)'
created both
with libtool and without
automake: mono/jit/Makefile.am: object `codegen-x86.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `emit-x86.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `regset.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `debug.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `debug-stabs.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `debug-dwarf2.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `jit.$(OBJEXT)' created both with
libtool and without
automake: mono/jit/Makefile.am: object `trampoline.$(OBJEXT)' created
both with
libtool and without
automake: mono/jit/Makefile.am: object `exception.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `linear-scan.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `helpers.$(OBJEXT)' created both
with libtool and without
configure.in:501: CFLAGS was already defined in condition TRUE, which
implies condition PLATFORM_WIN32_TRUE
# The mingw math.h has "extern inline" functions that dont appear in
libs, so
# optimisation is required to actually inline them
  CFLAGS (User, where = configure.in:501) +=
  {
    TRUE => @CFLAGS@
  }
automake: mono/jit/Makefile.am: object `win32-exception.$(OBJEXT)'
created both
with libtool and without
automake: mono/jit/Makefile.am: object `codegen-x86.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `emit-x86.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `regset.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `debug.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `debug-stabs.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `debug-dwarf2.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `jit.$(OBJEXT)' created both with
libtool and without
automake: mono/jit/Makefile.am: object `trampoline.$(OBJEXT)' created
both with
libtool and without
automake: mono/jit/Makefile.am: object `exception.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `linear-scan.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `helpers.$(OBJEXT)' created both
with libtool and without
**Error**: automake failed.

automake: mono/jit/Makefile.am: object `linear-scan.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `helpers.$(OBJEXT)' created both
with libtool and without
configure.in:501: CFLAGS was already defined in condition TRUE, which
implies condition PLATFORM_WIN32_TRUE
# The mingw math.h has "extern inline" functions that dont appear in
libs, so
# optimisation is required to actually inline them
  CFLAGS (User, where = configure.in:501) +=
  {
    TRUE => @CFLAGS@
  }
automake: mono/jit/Makefile.am: object `win32-exception.$(OBJEXT)'
created both
with libtool and without
automake: mono/jit/Makefile.am: object `codegen-x86.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `emit-x86.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `regset.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `debug.$(OBJEXT)' created both
with libtool and without
automake: mono/jit/Makefile.am: object `debug-stabs.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `debug-dwarf2.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `jit.$(OBJEXT)' created both with
libtool and without
automake: mono/jit/Makefile.am: object `trampoline.$(OBJEXT)' created
both with
libtool and without
automake: mono/jit/Makefile.am: object `exception.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `linear-scan.$(OBJEXT)' created
both with libtool and without
automake: mono/jit/Makefile.am: object `helpers.$(OBJEXT)' created both
with libtool and without
**Error**: automake failed.


How can I build this thing?