[Mono-devel-list] FW: Cannot Make Mono on Mac OS X

Steve Mentzer steve at mudflapsoftware.com
Mon Sep 1 02:29:59 EDT 2003


look at the top of strtod.c. You will find that the defined type 'Long' is
only defined for x86 and mips.

To get the think to continue, I placed a simple ...

#define Long long

at the top of the file outside of the #if defined(... statements.

Beyond that mini and profiler still refuse to build on my machine, but I am
able to use mint sufficiently well.

Good Luck!

----- Original Message ----- 
From: "Quenio Santos" <Quenio.dos.Santos at ZeroG.com>
To: <mono-devel-list at lists.ximian.com>
Sent: Sunday, August 31, 2003 7:29 PM
Subject: Re: [Mono-devel-list] FW: Cannot Make Mono on Mac OS X


> Thanks for answering, Peter. I updated automake from 1.6 to 1.7.4,
> autogen'ed and remake'd, and then I was able to get passed that point, but
> now I am getting the following:
>
>  gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono -D_REENTRANT
> -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/glib-2.0
> -I/sw/lib/glib-2.0/include -no-cpp-precomp -D_THREAD_SAFE -g -Wall -Wunuse
d
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes
> -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
> -Wcast-align -Wwrite-strings -c strtod.c -Wp,-MD,.deps/strtod.TPlo
> -fno-common -DPIC -o .libs/strtod.o
> strtod.c:412: warning: no semicolon at end of struct or union
> strtod.c:412: parse error before "x"
> strtod.c: In function `Balloc':
> strtod.c:429: sizeof applied to an incomplete type
> strtod.c:429: `Long' undeclared (first use in this function)
> strtod.c:429: (Each undeclared identifier is reported only once
> strtod.c:429: for each function it appears in.)
> strtod.c:430: dereferencing pointer to incomplete type
> strtod.c:431: dereferencing pointer to incomplete type
> strtod.c:432: dereferencing pointer to incomplete type
> strtod.c:432: dereferencing pointer to incomplete type
> strtod.c: In function `multadd':
> strtod.c:459: syntax error before '*' token
> strtod.c:461: syntax error before "xi"
> strtod.c:465: dereferencing pointer to incomplete type
> strtod.c:466: `x' undeclared (first use in this function)
> strtod.c:466: dereferencing pointer to incomplete type
> strtod.c:470: `xi' undeclared (first use in this function)
> strtod.c:471: `y' undeclared (first use in this function)
> strtod.c:472: `z' undeclared (first use in this function)
> strtod.c:482: dereferencing pointer to incomplete type
> strtod.c:483: dereferencing pointer to incomplete type
> strtod.c:484: dereferencing pointer to incomplete type
> strtod.c:484: dereferencing pointer to incomplete type
> strtod.c:484: dereferencing pointer to incomplete type
> strtod.c:484: `Long' undeclared (first use in this function)
> strtod.c:488: dereferencing pointer to incomplete type
> strtod.c:489: dereferencing pointer to incomplete type
> strtod.c: At top level:
> strtod.c:499: parse error before "y9"
> strtod.c:501: warning: function declaration isn't a prototype
> strtod.c: In function `s2b':
> strtod.c:504: `Long' undeclared (first use in this function)
> strtod.c:504: parse error before "x"
> strtod.c:506: `x' undeclared (first use in this function)
> strtod.c:506: `nd' undeclared (first use in this function)
> strtod.c:507: `y' undeclared (first use in this function)
> strtod.c:507: warning: left-hand operand of comma expression has no effect
> strtod.c:510: dereferencing pointer to incomplete type
> strtod.c:510: `y9' undeclared (first use in this function)
> strtod.c:511: dereferencing pointer to incomplete type
> strtod.c:519: `nd0' undeclared (first use in this function)
> strtod.c:520: `s' undeclared (first use in this function)
> strtod.c:507: warning: value computed is not used
> strtod.c: At top level:
> strtod.c:537: parse error before "x"
> strtod.c:539: warning: function declaration isn't a prototype
> strtod.c: In function `hi0bits':
> strtod.c:542: `x' undeclared (first use in this function)
> strtod.c: At top level:
> strtod.c:571: parse error before '*' token
> strtod.c:573: warning: function declaration isn't a prototype
> strtod.c: In function `lo0bits':
> strtod.c:575: syntax error before "x"
> strtod.c:577: `x' undeclared (first use in this function)
> strtod.c:581: `y' undeclared (first use in this function)
> strtod.c: In function `i2b':
> ...
>
> Quenio
>
> > From: Peter Williams <peter at newton.cx>
> > Organization: Ximian, Inc.
> > Date: Sun, 31 Aug 2003 20:07:32 -0400
> > To: Quenio Santos <Quenio.dos.Santos at ZeroG.com>
> > Subject: Re: [Mono-devel-list] FW: Cannot Make Mono on Mac OS X
> >
> > On Sun, 2003-08-31 at 17:26, Quenio Santos wrote:
> >> Hello All,
> >>
> >> I am trying to build the latest snapshot on Mac OS X so that I can
verify a
> >> bug I filed was fixed, but I can't get passed the make command.
> >
> > What version of libtool are you using? I'm not sure but my guess is that
> > it's too old to using with your version of automake. I have:
> >
> > [peter at beta peter]$ libtool --version
> > ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36)
> > [peter at beta peter]$ automake --version
> > automake (GNU automake) 1.7.2
> >
> > The tools on OS X tend to be way behind the curve... I would be careful
> > before blithely installing a newer libtool, though, because it could
> > break compilation of a lot of other things.
> >
> > Peter
> >
> > -- 
> > Peter Williams                          peter at newton.cx
> >
> > "[Ninjas] are cool; and by cool, I mean totally sweet."
> >                             -- REAL Ultimate Power
> >
> >
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>






More information about the Mono-devel-list mailing list