[Mono-list] Building mono on windows

Dick Porter dick@ximian.com
Fri, 22 Mar 2002 09:36:20 +0000


On Thu, Mar 21, 2002 at 11:02:19PM +0100, Gonzalo Paniagua Javier wrote:
> * [ Mike Anderson <mikera_mono@yahoo.co.uk>
> * Thu, 21 Mar 2002 22:28:24 +0100 ]
> > I'm trying to build the Mono compiler and class libraries on Windows 2000 
> > using Cygwin but I keep getting the following error:
> > 
> > $ make
> > for i in jay nant mcs class nunit tools doctools; do                    \
> >         (cd $i; make linux)             \
> > done
> > make[1]: Entering directory `/cygdrive/d/prog/cs/mono/mcs/jay'
> > gcc -o jay  closure.o error.o lalr.o lr0.o main.o mkpar.o output.o reader.o 
> > symt
> > ab.o verbose.o warshall.o
> > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/../../../../i686-pc-cygwin/bin/ld: 
> > cann
> > ot find -luser32
> > 
> 
> 	You gotta have /cygdrive/c/WINNT/system32 on your PATH to find
> 	user32.dll.

Cygwin should do that for you automatically if you are running bash.exe.

Sounds more like you haven't installed enough of the devel packages. Make
sure you have the w32api and all the mingw packages.

- Dick