[Mono-list] 3rd build problem on cygwin

John Benninghoff jbenninghoff@yahoo.com
Fri, 15 Feb 2002 13:46:22 -0800 (PST)


I have it built and running on Linux!  Are the exe
files built with mcs on Linux in Windows PE format
plus MSIL embedded within it?

I still ultimately need to get this running on cygwin.
 I still have a build issue on cygwin.  I got around
the glib problem by copying the gmodule.h file to
/usr/local/include.

I get the following error from make:

jbennin1 zsh: make
make  all-recursive
make[1]: Entering directory
`/cygdrive/c/MyDocs/jbennin1/projects/mono-0.8'
Making all in mono
make[2]: Entering directory
`/cygdrive/c/MyDocs/jbennin1/projects/mono-0.8/mono'
Making all in io-layer
make[3]: Entering directory
`/cygdrive/c/MyDocs/jbennin1/projects/mono-0.8/mono/io-layer'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/cygdrive/c/MyDocs/jbennin1/projects/mono-0.8/mono/io-layer'
Making all in monoburg
make[3]: Entering directory
`/cygdrive/c/MyDocs/jbennin1/projects/mono-0.8/mono/monoburg'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/cygdrive/c/MyDocs/jbennin1/projects/mono-0.8/mono/monoburg'
Making all in metadata
make[3]: Entering directory
`/cygdrive/c/MyDocs/jbennin1/projects/mono-0.8/mono/metadata'
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include    -I../..         
-DMONO_ASSEMBLIES=\""/usr/local/lib"\"     -g -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations
-c loader.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include    -I../..         
-DMONO_ASSEMBLIES=\""/usr/local/lib"\"     -g -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations
-c class.c
In file included from /usr/include/stdlib.h:22,
                 from class.c:20:
/usr/include/alloca.h:14: warning: `alloca' redefined
/usr/local/include/glib-2.0/glib/galloca.h:35:
warning: this is the location of the previous
definition
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include    -I../..         
-DMONO_ASSEMBLIES=\""/usr/local/lib"\"     -g -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations
-c object.c
gcc -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include    -I../..         
-DMONO_ASSEMBLIES=\""/usr/local/lib"\"     -g -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations
-c icall.c
In file included from /usr/include/unistd.h:6,
                 from icall.c:15:
/usr/include/sys/unistd.h:259: warning: `MAXPATHLEN'
redefined
/usr/local/include/glib-2.0/glib/gwin32.h:40: warning:
this is the location of the previous definition
In file included from /usr/include/unistd.h:6,
                 from icall.c:15:
/usr/include/sys/unistd.h:80: parse error before
`4096'
/usr/include/sys/unistd.h:138: conflicting types for
`g_win32_ftruncate'
/usr/local/include/glib-2.0/glib/gwin32.h:72: previous
declaration of `g_win32_ftruncate'
In file included from icall.c:24:
../../mono/metadata/socket-io.h:134: parse error
before
`ves_icall_System_Net_Sockets_Socket_Socket_internal'
../../mono/metadata/socket-io.h:134: warning: type
defaults to `int' in declaration of
`ves_icall_System_Net_Sockets_Socket_Socket_internal'
../../mono/metadata/socket-io.h:134: warning: data
definition has no type or storage class
../../mono/metadata/socket-io.h:135: parse error
before `sock'
../../mono/metadata/socket-io.h:137: parse error
before `sock'
../../mono/metadata/socket-io.h:138: parse error
before
`ves_icall_System_Net_Sockets_Socket_Accept_internal'
../../mono/metadata/socket-io.h:138: parse error
before `sock'
../../mono/metadata/socket-io.h:138: warning: type
defaults to `int' in declaration of
`ves_icall_System_Net_Sockets_Socket_Accept_internal'
../../mono/metadata/socket-io.h:138: warning: data
definition has no type or sto

/jb

__________________________________________________
Do You Yahoo!?
Got something to say? Say it better with Yahoo! Video Mail 
http://mail.yahoo.com