[Mono-dev] Problems Building Mono 1.1.12.1 on Windows

Jonathan S. Chambers Jonathan.Chambers at ansys.com
Tue Jan 10 10:05:06 EST 2006


Do you have any anti-virus software installed? I (had) Norton installed
and I could only build if Norton was shutoff.

- Jonathan

-----Original Message-----
From: mono-devel-list-bounces at lists.ximian.com
[mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of Jim
Purbrick
Sent: Tuesday, January 10, 2006 9:50 AM
To: Zoltan Varga
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Problems Building Mono 1.1.12.1 on Windows

Hi Zoltan (all),

--- Zoltan Varga <vargaz at gmail.com> wrote:
> The problem is most likely the spaces in the
> directory names which confuse the shell and/or gcc.

Moving my Windows Mono 1.1.12.1 installation to
C:\Apps fixed the problem I was having with gcc, but
now the build process is hanging either during
configure or make. I'm following the OnDotNet
instructions
(http://www.ondotnet.com/pub/a/dotnet/2005/02/07/monowindows.html)
and using cygwin installed from the Monowin CD and
bash.exe currently seems to have hung consuming 50% of
my CPU here:

if /bin/bash ./libtool --mode=compile gcc -mno-cygwin
-DPACKAGE_NAME=\"libgc-mono\"
-DPACKAGE_TARNAME=\"libgc-mono\"
-DPACKAGE_VERSION=\"6.3alpha6\"
-DPACKAGE_STRING=\"libgc-mono\ 6.3alpha6\"
-DPACKAGE_BUGREPORT=\"Hans_Boehm at hp.com\" -DGC_W
IN32_THREADS=1 -DNO_GETENV=1 -DGC_INSIDE_DLL=1
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DSILE
NT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1-DJAVA_FINALIZATION=1
-DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-D_IN_LIBGC=1  -I./.. -I./.. -I./include 
-I/usr/local/include  -g -O2   -MT malloc.lo -MD -MP
-MF ".deps/malloc.Tpo" -c -o malloc.lo malloc.c; \
then mv -f ".deps/malloc.Tpo" ".deps/malloc.Plo"; else
rm -f ".deps/malloc.Tpo"; exit 1; fi

Any ideas? Do I need a newer installation of cygwin
these days? Should I be following newer build
instructions?

> On 1/6/06, Jim Purbrick <jimpurbrick at yahoo.co.uk>
> wrote:
> > Hi Everyone,
> >
> > I'm currently trying to build Mono on Windows XP
> > following Kevin Shockey's OnDotNet instructions
> >
>
(http://www.ondotnet.com/pub/a/dotnet/2005/02/07/monowindows.html)
> > and using cygwin installed from the Monowin CD,
> but
> > I'm getting a "gcc: cannot specify -o with -c or
> -S
> > and multiple compilations" error when I try to
> build
> > either Mono-1.1.9.2 or Mono-1.1.12.1 if anyone
> could
> > help me out I'd appreciate it. The full error
> message
> > is shown below.
> >
> > I've built Mono on Windows a number of times
> > previously and not seen this error, but I've just
> had
> > to reinstall Windows and Mono after a hard drive
> > failure, so there may be something wrong with my
> set
> > up now.
> >
> > Thanks for you help and happy new year!
> >
> > Jim.
> >
> >  gcc -mno-cygwin -g -DHAVE_CONFIG_H -I. -I.
> -I../..
> > -I../.. -I../../mono -I../..
> > /libgc/include
> Files/Mono-1.1.12.1/include/glib-2.0
> > Files/Mono-1.1.12.1/lib/glib
> > -2.0/include -Ic:/Program
> > Files/Mono-1.1.12.1/include/glib-2.0
> Files/Mono-1.1.12
> > .1/lib/glib-2.0/include -Ic:/Program
> > -I/usr/local/include -DWIN32_THREADS -DFD_S
> > ETSIZE=1024 -g -O2 -fno-strict-aliasing -g -Wall
> > -Wunused -Wmissing-prototypes -
> > Wmissing-declarations -Wstrict-prototypes
> > -Wmissing-prototypes -Wnested-externs
> > -Wpointer-arith -Wno-cast-qual -Wcast-align
> > -Wwrite-strings -MT mono-hash.lo -MD
> >  -MP -MF .deps/mono-hash.Tpo -c mono-hash.c  -DPIC
> -o
> > .libs/mono-hash.o
> > gcc: cannot specify -o with -c or -S and multiple
> > compilations


		
___________________________________________________________ 
Yahoo! Photos - NEW, now offering a quality print service from just 8p a
photo http://uk.photos.yahoo.com
_______________________________________________
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