[Mono-dev] windows build breakage? (missing CreateString)

Andy Hume andyhume32 at yahoo.co.uk
Tue Sep 25 05:02:27 EDT 2007


Hi

I've not tried a build since, once bitten twice shy and all that.  I'll use that fix if I experience the problem when I do.

Many thanks


Maybe we could update the wiki with some of this sort of information.  This, this http://lists.ximian.com/pipermail/mono-devel-list/2007-March/022829.html, I can't see a discussion of (err) disable-mcs-build either, and maybe there are more targets not discussed there either?

Andy
 

> -----Original Message-----
> From: Marcos Cobeña Morián [mailto:marcoscobena at gmail.com] 
> Sent: 21 September 2007 12:27
> To: Andy Hume
> Cc: mono-devel-list at lists.ximian.com
> Subject: Re: [Mono-dev] windows build breakage? (missing CreateString)
> 
> Hello Andy,
> 
> When I saw your e-mail concerning your broken environment I 
> forgot to mention an issue I had during my first steps here, 
> and Andreia helped me to fix it: 
> http://twitter.com/marcoscobena/statuses/34078112.
> 
> I haven't rebuilt mcs/mono for two weeks, so I don't know if 
> it still applies. If it does, I had to do that before a new 
> mcs rebuild.
> 
> Hope this helps.
> 
> Regards,
> 
> 2007/9/21, Andy Hume <andyhume32 at yahoo.co.uk>:
> > That error was one of the ways in which my cygwin build was broken 
> > here, that caused me to try to clean-up, which broke it 
> further as per 
> > my previous thread here.
> >
> > I wonder whether its anything to do with
> > https://bugzilla.novell.com/show_bug.cgi?id=325109 which 
> I'd like to 
> > call "mcs hosted on *MSFT* CLR rather than Mono one during 
> rebuild on 
> > cygwin build".  It'd be interesting to change mcs to explode if it 
> > found it was running on the MSFT CLR -- it might show that this is 
> > happening frequently?
> >
> > Perhaps in some cases the build process finds mcs.exe in the path 
> > before mcs.bat and thus the MSFT CLR is used...
> >
> > Andy
> >
> >
> > > -----Original Message-----
> > > From: mono-devel-list-bounces at lists.ximian.com
> > > [mailto:mono-devel-list-bounces at lists.ximian.com] On Behalf Of 
> > > Atsushi Eno
> > > Sent: 21 September 2007 09:10
> > > To: Rodrigo Kumpera
> > > Cc: mono-devel-list at lists.ximian.com
> > > Subject: Re: [Mono-dev] windows build breakage? (missing 
> > > CreateString)
> > >
> > > Hi,
> > >
> > > Ok, thanks Rodrigo. So, I tried get-monolite-latest 
> before asking, 
> > > but looks like it does not work because system-installed 
> mcs takes 
> > > precedence and it did not match the runtime.
> > >
> > > I copied mcs/class/lib/monolite/mscorlib.dll to 
> > > /usr/local/lib/mono/1.0 and now it builds here.
> > >
> > > Atsushi Eno
> > >
> > >
> > > Rodrigo Kumpera wrote:
> > > > Hi Eno,
> > > >
> > > > Most of us had this issue, but it's a matter of making sure
> > > that you
> > > > have a matching mono binary with mscorlib. If you are 
> running mono 
> > > > from the build tree you must have MONO_PATH configured, 
> otherwise, 
> > > > like my setup, just 'make install' it. If that doesn't
> > > help, you might
> > > > need to bootstrap first from a tarball in case your
> > > instalation got corrupted.
> > > >
> > > >
> > > >
> > > > On 9/21/07, *Atsushi Eno* <atsushi at ximian.com 
> > > > <mailto:atsushi at ximian.com>> wrote:
> > > >
> > > >     Recently (I think it's been since middle of this week
> > > or so) I have
> > > >     been unsuccessful to build non-bootstrap mono on windows, it
> > > >     complains about missing "CreateString". Is it only 
> me or is the
> > > >     build broken? Note that it won't show up as monobuild status
> > > >     as it is non-bootstrap build.)
> > > >
> > > >     ----
> > > >     Making all in net_2_0
> > > >     make[3]: Entering directory
> > > `/home/atsushi/svn/mono/data/net_2_0'
> > > >     make[3]: Nothing to be done for `all'.
> > > >     make[3]: Leaving directory 
> `/home/atsushi/svn/mono/data/net_2_0'
> > > >     make[3]: Entering directory `/home/atsushi/svn/mono/data'
> > > >     make[3]: Nothing to be done for `all-am'.
> > > >     make[3]: Leaving directory `/home/atsushi/svn/mono/data'
> > > >     make[2]: Leaving directory `/home/atsushi/svn/mono/data'
> > > >     Making all in runtime
> > > >     make[2]: Entering directory `/home/atsushi/svn/mono/runtime'
> > > >     if test -w ../../mcs; then :; else chmod -R +w ../../mcs; fi
> > > >     cd ../../mcs && make PROFILES='default net_2_0 
> net_2_1' CC='gcc
> > > >     -mno-cygwin -g'
> > > >     all-profiles
> > > >     make[3]: Entering directory `/home/atsushi/svn/mcs'
> > > >     make profile-do--default--all profile-do--net_2_0--all
> > > >     profile-do--net_2_1--all
> > > >     make[4]: Entering directory `/home/atsushi/svn/mcs'
> > > >     make PROFILE=basic all
> > > >     make[5]: Entering directory `/home/atsushi/svn/mcs'
> > > >
> > > >     ** (C:/cygwin/usr/local/lib/mono/1.0/mcs.exe:496):
> > > WARNING **: cannot
> > > >     find CreateString for .ctor
> > > >     make[6]: *** [build/deps/basic- profile-check.exe] Interrupt
> > > >     ----
> > > >
> > > >     Atsushi Eno
> > > >     _______________________________________________
> > > >     Mono-devel-list mailing list
> > > >     Mono-devel-list at lists.ximian.com
> > > >     <mailto:Mono-devel-list at lists.ximian.com>
> > > >     http://lists.ximian.com/mailman/listinfo/mono-devel-list
> > > >
> > > >
> > >
> > > _______________________________________________
> > > Mono-devel-list mailing list
> > > Mono-devel-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
> >
> 
> 
> --
> Marcos - http://www.youcannoteatbits.org




More information about the Mono-devel-list mailing list