[Mono-list] Problems compiling mono

Eduardo Osorio Armenta e_osorio@yahoo.com
Wed, 10 Sep 2003 16:09:58 -0700 (PDT)


Hi,
i also have this problem, i try 
--with-gc=included 
and ./configure goes by 

but then o run 
make and something goes wrong.

 gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../..
-pthreads -I/usr/include/glib-2
.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/inclu
de -I../../libgc/include -D_WAPI_BUILDING=1
-DMONO_BINDIR=\"/usr/local/bin\" -I.
./.. -DWIN32_THREADS -g -Wall -Wunused
-Wmissing-prototypes -Wmissing-declaratio
ns -Wstrict-prototypes -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wn
o-cast-qual -Wcast-align -Wwrite-strings -MT
io-layer-dummy.lo -MD -MP -MF .deps
/io-layer-dummy.Tpo -c io-layer-dummy.c -o
io-layer-dummy.o >/dev/null 2>&1
/bin/bash ../../libtool --mode=link gcc -mno-cygwin 
-g -Wall -Wunused -Wmissing
-prototypes -Wmissing-declarations -Wstrict-prototypes
 -Wmissing-prototypes -Wn
ested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings   -o l
ibwapi.la   io-layer-dummy.lo  -lws2_32 -lpsapi
ar cru .libs/libwapi.a .libs/io-layer-dummy.o
ranlib .libs/libwapi.a
creating libwapi.la
(cd .libs && rm -f libwapi.la && ln -s ../libwapi.la
libwapi.la)
make[3]: Leaving directory
`/home/Administrator/mono/cvs/mono/mono/io-layer'
Making all in monoburg
make[3]: Entering directory
`/home/Administrator/mono/cvs/mono/mono/monoburg'
bison ./monoburg.y -o parser.c
gcc -mno-cygwin -o monoburg ./monoburg.c parser.c
-pthreads -I/usr/include/glib-
2.0 -I/usr/lib/glib-2.0/include   -I.  -pthreads
-lgthread-2.0 -lglib-2.0 -lintl
 -liconv -lm
gcc: unrecognized option `-pthreads'
gcc: unrecognized option `-pthreads'
./monoburg ./sample.brg > sample.c
make[3]: *** [sample.c] Error 5
make[3]: Leaving directory
`/home/Administrator/mono/cvs/mono/mono/monoburg'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/Administrator/mono/cvs/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/Administrator/mono/cvs/mono'
make: *** [all] Error 2
mono>


--- Duncan Mak <duncan@ximian.com> wrote:
> Subject: Re: [Mono-list] Problems compiling mono
> From: Duncan Mak <duncan@ximian.com>
> To: asl@5parts.de
> CC: mono-list mailing list
> <mono-list@lists.ximian.com>
> Date: Tue, 09 Sep 2003 15:33:06 -0400
> 
> Hello Andreas,
> 
> On Tue, 2003-09-09 at 12:07, Andreas Sliwka wrote:
> >  So I have a module 'mono' that depends on the
> module 'libgc' which
> > refuses to get configures as it's now a part of
> 'mono' ?
> > 
> 
> I thought the default options in mono's configure is
> to pass the
> '--with-gc=included' flag. Try configuring with that
> flag, it should
> build libgc along with mono; you shouldn't need to
> do a 'make'
> explicitly from the libgc directory.
> 
> Hope this helps,
> 
> Duncan.
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com