[Mono-list] Mono on Cygwin...

Auge Mike tobe_better@hotmail.com
Mon, 23 Dec 2002 15:29:43 +0400


Hi All,

Please solve my problem with mono on cygwin,


gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. 
-ID:/old_e/cygwin/usr/local/bin/
mono/install/include/glib-2.0 
-ID:/old_e/cygwin/usr/local/bin/mono/install/lib/g
lib-2.0/include 
-ID:/old_e/cygwin/usr/local/bin/mono/install/include/glib-2.0 -I
D:/old_e/cygwin/usr/local/bin/mono/install/lib/glib-2.0/include -I../.. 
-I../../
mono -DMONO_ASSEMBLIES=\"D:/old_e/cygwin/usr/local/bin/mono/install/lib\" 
-DMONO
_CFG_DIR=\"D:/old_e/cygwin/usr/local/bin/mono/install/etc\" 
-I/usr/local/bin/mon
o/install/include -DGC_WIN32_THREADS -g -Wall -Wunused -Wmissing-prototypes 
-Wmi
ssing-declarations -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs 
-Wp
ointer-arith -Wno-cast-qual -Wcast-align -Wwrite-strings 
-Wp,-MD,.deps/file-io.p
p -c file-io.c            -DDLL_EXPORT -DPIC -o .libs/file-io.lo
file-io.c: In function `ves_icall_System_IO_MonoIO_GetFileAttributes':
file-io.c:390: `INVALID_FILE_ATTRIBUTES' undeclared (first use in this 
function)

file-io.c:390: (Each undeclared identifier is reported only once
file-io.c:390: for each function it appears in.)
file-io.c: In function `ves_icall_System_IO_MonoIO_Read':
file-io.c:515: warning: passing arg 4 of `ReadFile' from incompatible 
pointer ty
pe
file-io.c: In function `ves_icall_System_IO_MonoIO_Write':
file-io.c:542: warning: passing arg 4 of `WriteFile' from incompatible 
pointer t
ype
file-io.c: In function `ves_icall_System_IO_MonoIO_Seek':
file-io.c:564: warning: passing arg 3 of `SetFilePointer' from incompatible 
poin
ter type
file-io.c: In function `ves_icall_System_IO_MonoIO_GetLength':
file-io.c:600: warning: passing arg 2 of `GetFileSize' from incompatible 
pointer
type
file-io.c: In function `ves_icall_System_IO_MonoIO_SetLength':
file-io.c:624: warning: passing arg 3 of `SetFilePointer' from incompatible 
poin
ter type
file-io.c:634: warning: passing arg 3 of `SetFilePointer' from incompatible 
poin
ter type
file-io.c:649: warning: passing arg 3 of `SetFilePointer' from incompatible 
poin
ter type
make[3]: *** [file-io.lo] Error 1
make[3]: Leaving directory `/usr/local/bin/mono/mono/mono/metadata'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/bin/mono/mono/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/bin/mono/mono'
make: *** [all-recursive-am] Error 2





_________________________________________________________________
MSN 8 with e-mail virus protection service: 3 months FREE*. 
http://join.msn.com/?page=features/virus&xAPID=42&PS=47575&PI=7324&DI=7474&SU= 
http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_eliminateviruses_3mf