[Mono-devel-list] Still not able to compile mono on cygw
Varga Zoltan
vargaz at freemail.hu
Tue Sep 30 13:50:31 EDT 2003
Hi,
This is caused by a bug in the cygwin win32 headers. See this:
http://cygwin.com/ml/cygwin/2003-09/msg01771.html
Hopefully it will be fixed soon. In the meantime, try changing
INVALID_FILE_ATTRIBUTES to -1 at line 402 of
mono/metadata/file-io.c. I will check this workaround in
until cygwin
is fixed.
bye
Zoltan
Urs Muff <umuff at quark.com> írta:
> $ make
> make all-recursive
> make[1]: Entering directory
`/CVS-Repositories/go-mono.com/mono'
> Making all in mono
> make[2]: Entering directory
`/CVS-Repositories/go-mono.com/mono/mono'
> Making all in utils
> make[3]: Entering directory
`/CVS-Repositories/go-mono.com/mono/mono/utils'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
`/CVS-Repositories/go-mono.com/mono/mono/utils'
> Making all in io-layer
> make[3]: Entering directory
> `/CVS-Repositories/go-mono.com/mono/mono/io-layer'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/CVS-Repositories/go-mono.com/mono/mono/io-layer'
> Making all in monoburg
> make[3]: Entering directory
> `/CVS-Repositories/go-mono.com/mono/mono/monoburg'
> make all-am
> make[4]: Entering directory
> `/CVS-Repositories/go-mono.com/mono/mono/monoburg'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory
> `/CVS-Repositories/go-mono.com/mono/mono/monoburg'
> make[3]: Leaving directory
> `/CVS-Repositories/go-mono.com/mono/mono/monoburg'
> Making all in os
> make[3]: Entering directory
`/CVS-Repositories/go-mono.com/mono/mono/os'
> Making all in win32
> make[4]: Entering directory
> `/CVS-Repositories/go-mono.com/mono/mono/os/win32'
> make[4]: Nothing to be done for `all'.
> make[4]: Leaving directory
> `/CVS-Repositories/go-mono.com/mono/mono/os/win32'
> make[4]: Entering directory
`/CVS-Repositories/go-mono.com/mono/mono/os'
> make[4]: Nothing to be done for `all-am'.
> make[4]: Leaving directory
`/CVS-Repositories/go-mono.com/mono/mono/os'
> make[3]: Leaving directory
`/CVS-Repositories/go-mono.com/mono/mono/os'
> Making all in metadata
> make[3]: Entering directory
> `/CVS-Repositories/go-mono.com/mono/mono/metadata'
> make all-am
> make[4]: Entering directory
> `/CVS-Repositories/go-mono.com/mono/mono/metadata'
> if /bin/bash ../../libtool --mode=compile gcc -mno-cygwin
-DHAVE_CONFIG_H
> -I. -I. -I../.. -I../.. -I../../mono -D_REENT
> RANT -I/CVS-Repositories/go-mono.com/install/include/glib-2.0
> -I/CVS-Repositories/go-mono.com/install/lib/glib-2.0/inclu
> de -I/CVS-Repositories/go-mono.com/install/include/glib-2.0
> -I/CVS-Repositories/go-mono.com/install/lib/glib-2.0/inclu
> de -DMONO_ASSEMBLIES=\"`cygpath -m
> "C:/cygwin/CVS-Repositories/go-mono.com/install/lib"`\"
> -DMONO_CFG_DIR=\"`cygpath -
> m "C:/cygwin/CVS-Repositories/go-mono.com/install/etc"`\"
> -I/CVS-Repositories/go-mono.com/install/include -DWIN32_THREA
> DS -O -g -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations
> -Wstrict-prototypes -Wmissing-prototypes -Wnested-e
> xterns -Wpointer-arith -Wno-cast-qual -Wcast-align
-Wwrite-strings -MT
> file-io.lo -MD -MP -MF ".deps/file-io.Tpo" \
> -c -o file-io.lo `test -f 'file-io.c' || echo
'./'`file-io.c; \
> then mv -f ".deps/file-io.Tpo" ".deps/file-io.Plo"; \
> else rm -f ".deps/file-io.Tpo"; exit 1; \
> fi
> gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
-I../../mono
> -D_REENTRANT -I/CVS-Repositories/go-mono.com/insta
> ll/include/glib-2.0
> -I/CVS-Repositories/go-mono.com/install/lib/glib-2.0/include
> -I/CVS-Repositories/go-mono.com/install
> /include/glib-2.0
> -I/CVS-Repositories/go-mono.com/install/lib/glib-2.0/include
> -DMONO_ASSEMBLIES=\"C:/cygwin/CVS-Reposit
> ories/go-mono.com/install/lib\"
>
-DMONO_CFG_DIR=\"C:/cygwin/CVS-Repositories/go-mono.com/install/etc\"
> -I/CVS-Repositorie
> s/go-mono.com/install/include -DWIN32_THREADS -O -g -Wall
-Wunused
> -Wmissing-prototypes -Wmissing-declarations -Wstrict-
> prototypes -Wmissing-prototypes -Wnested-externs
-Wpointer-arith
> -Wno-cast-qual -Wcast-align -Wwrite-strings -MT file-io
> .lo -MD -MP -MF .deps/file-io.Tpo -c file-io.c -DPIC -o
.libs/file-io.o
> file-io.c: In function
`ves_icall_System_IO_MonoIO_GetFileAttributes':
> file-io.c:402: error: parse error before '-' token
> file-io.c: In function `ves_icall_System_IO_MonoIO_Read':
> file-io.c:528: warning: passing arg 4 of `ReadFile' from
incompatible
> pointer type
> file-io.c: In function `ves_icall_System_IO_MonoIO_Write':
> file-io.c:555: warning: passing arg 4 of `WriteFile' from
incompatible
> pointer type
> file-io.c: In function `ves_icall_System_IO_MonoIO_Seek':
> file-io.c:577: warning: passing arg 3 of `SetFilePointer'
from incompatible
> pointer type
> file-io.c: In function `ves_icall_System_IO_MonoIO_GetLength':
> file-io.c:613: warning: passing arg 2 of `GetFileSize'
from incompatible
> pointer type
> file-io.c: In function `ves_icall_System_IO_MonoIO_SetLength':
> file-io.c:637: warning: passing arg 3 of `SetFilePointer'
from incompatible
> pointer type
> file-io.c:647: warning: passing arg 3 of `SetFilePointer'
from incompatible
> pointer type
> file-io.c:662: warning: passing arg 3 of `SetFilePointer'
from incompatible
> pointer type
> make[4]: *** [file-io.lo] Error 1
> make[4]: Leaving directory
> `/CVS-Repositories/go-mono.com/mono/mono/metadata'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/CVS-Repositories/go-mono.com/mono/mono/metadata'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
`/CVS-Repositories/go-mono.com/mono/mono'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
`/CVS-Repositories/go-mono.com/mono'
> make: *** [all] Error 2
>
> P.S.: I know this has been posted multiple times now, but
obviously nobody
> in the mono-core team is even trying to use mono under
windows, which is
> disturbing! The impression that the core team does not
care, that
> developers can't even compile [for a long period now, and
which should be a
> big deal] is not good. I hope that is not the desired
impression.
>
> - Urs C. Muff
> Software Architect - Research Lab
> Quark Inc.
> UMuff at Quark.Com - X6360
> +1 (303) 894 3360
> CONFIDENTIALITY NOTICE
> This e-mail transmission and any documents, files, or
previous e-mail
> messages appended or attached to it, may contain
information that is
> confidential or legally privileged. If you are not the
intended recipient,
> or a person responsible for delivering it to the intended
recipient, you are
> hereby notified that you must not read this transmission
and that any
> disclosure, copying, printing, distribution, or use of the
information
> contained or attached to this transmission is STRICTLY
PROHIBITED. If you
> have received this transmission in error, please
immediately notify the
> sender by telephone +1 (303) 894-3360 or return e-mail message
> umuff at quark.com <mailto:umuff at quark.com> and delete the
original
> transmission, its attachments, and any copies without
reading or saving in
> any manner. Thank you.
>
>
>
More information about the Mono-devel-list
mailing list