[Mono-list] Problems compiling mono under windows

Sergio Blanco Cuaresma sergio-blanco@iespana.es
14 Sep 2003 18:40:34 +0200


--=-tmQ0PugCqUgJ7IYEZm5V
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


I'm trying to compile mono under windows but I get this error:

gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../mono
-IC:/cygwin/include/glib-2.0 -I
C:/cygwin/lib/glib-2.0/include -IC:/cygwin/include/glib-2.0
-IC:/cygwin/lib/glib-2.0/include -DMONO_
ASSEMBLIES=3D\"C:/cygwin/usr/local/lib\"
-DMONO_CFG_DIR=3D\"C:/cygwin/usr/local/etc\" -I/usr/include -DW
IN32_THREADS -O -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations -Wstrict-prototypes -W
missing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual
-Wcast-align -Wwrite-strings -c i
call.c -MT icall.lo -MD -MP -MF .deps/icall.TPlo  -DDLL_EXPORT -DPIC -o
.libs/icall.lo
In file included from /usr/include/unistd.h:4,
                 from icall.c:17:
/usr/include/sys/unistd.h:101: parse error before numeric constant
/usr/include/sys/unistd.h:101: warning: function declaration isn't a
prototype
In file included from /usr/include/stdlib.h:19,
                 from icall.c:19:
/usr/include/alloca.h:14:1: warning: "alloca" redefined
In file included from C:/cygwin/include/glib-2.0/glib.h:30,
                 from icall.c:13:
C:/cygwin/include/glib-2.0/glib/galloca.h:35:1: warning: this is the
location of the previous defini
tion
In file included from /usr/include/w32api/windows.h:98,
                 from ../../mono/io-layer/io-layer.h:20,
                 from ../../mono/metadata/threads-types.h:16,
                 from ../../mono/metadata/object.h:5,
                 from icall.c:22:
/usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and
associated macros have been defin
ed in sys/types.      This may cause runtime problems with W32 sockets"
In file included from /usr/include/w32api/windows.h:98,
                 from ../../mono/io-layer/io-layer.h:20,
                 from ../../mono/metadata/threads-types.h:16,
                 from ../../mono/metadata/object.h:5,
                 from icall.c:22:
/usr/include/w32api/winsock2.h:101: redefinition of `struct timeval'
icall.c: In function `ves_icall_Type_BindGenericParameters':
icall.c:1476: warning: assignment from incompatible pointer type
icall.c: In function `ves_icall_Type_GetGenericParameterPosition':
icall.c:1506: warning: unused variable `klass'
icall.c: In function
`ves_icall_System_Reflection_Assembly_GetManifestResourceInternal':
icall.c:2572: warning: return discards qualifiers from pointer target
type
make[4]: *** [icall.lo] Error 1
make[4]: Leaving directory `/mono-0.26/mono/metadata'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/mono-0.26/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/mono-0.26/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mono-0.26'
make: *** [all] Error 2

I'm lost with this :? Any ideas? I have tried it with mono-0.26 and with
CVS version, both with same result.

--=20

[aka Marble]
 Web Personal  <>  http://www.marblestation.com
 Registered LiNUX user #140941  <>  http://counter.li.org/
 Socio #3274 de HispaLinux  <>  http://www.hispalinux.es
 Miembro de GPL URV  <>  http://www.gplurv.org
 GnuPG key: 0x0ED2CF9D  <>  hkp://pgp.escomposlinux.org

--=-tmQ0PugCqUgJ7IYEZm5V
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA/ZJoCfGXf5g7Sz50RAi96AJwIo/zo4+bX3BWgOp2gKwccfzG34ACgnW+p
E/KI8oNC317ymZmHV+vf8sY=
=GsEn
-----END PGP SIGNATURE-----

--=-tmQ0PugCqUgJ7IYEZm5V--