[Mono-list] Building mono on windows

Mike Anderson mikera_mono@yahoo.co.uk
Sat, 23 Mar 2002 12:59:28 +0000


At 09:36 22/03/2002 +0000, Dick Porter wrote:
>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.


Hi Dick,

Thanks for the reply - I have installed everything in Cygwin. This includes 
a load of files in
/usr/lib/mingw
/usr/lib/w32api

I've tried adding these to my PATH variable but that doesn't help. Is there 
a different environment variable I should use that refers to the library paths?

Also what file exactly is it trying to find - is it libuser32.a or 
something else?


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com