[Mono-list] error building mono on win XP

Richard Torkar richard.torkar@htu.se
16 Apr 2002 19:27:48 +0200


> 
> I get this error when trying to build mono in cygwin on winXP. 
> 
>  -Wno-cast-qual -Wcast-align -Wwrite-strings -mno-cygwin -o pedump.exe -Wl,--exp
> ort-dynamic  -L/home/projekt/mono/install/lib ../io-layer/libwapi.a ../utils/lib
> monoutils.a -LC:/Program/cygwin/home/projekt/mono/install/lib -lgmodule-1.3 -lgl
> ib-1.3 -liconv -lintl -lgc -lws2_32
> /usr/lib/mingw/libmingw32.a(main.o)(.text+0x8d):main.c: undefined reference to `
> WinMain@16'
> collect2: ld returned 1 exit status
> make[3]: *** [pedump.exe] Error 1
> make[3]: Leaving directory `/home/projekt/mono/mono/mono/metadata'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/projekt/mono/mono/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/projekt/mono/mono'
> make: *** [all] Error 2
> 

Looks as if your cygwin environment is wrong.

Hmm, someone else on this list is probably much better suited to give
you a hint or two since you're dealing with Windows :)


/Richard