[Mono-list] Problem with mono WCF (compatibility with .NET ??)

Stifu stifu at free.fr
Wed Apr 28 10:12:28 EDT 2010


I often get into this problem (and others). Honestly, cygwin is a pain, and I
can get it to work on some computers, but not on others.

Did you make sure to downgrade your make version to 3.80, as detailed in
Ivan's article? Otherwise, I have no idea.


Jspoon wrote:
> 
> 
> Stifu wrote:
>> 
>> Sorry, but it's not simple. :)
>> Check this out:
>> http://ivanz.com/2006/03/14/compile-mono-svn-head-on-windows/
>> 
> 
> Hi thanks for link. But I have trouble with compiling. Autogen.sh finished
> successfully, but make not. This error occurred:
> ...
> ...
> make[4]: Entering directory `/mono/svn/mono/eglib/src'
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc -mno-cygwin -g
> -DHAVE_CONFIG_H -I. -I.. -I.   -Wall -D_FORTIFY_SOURCE=2 -g -O2 -g -O0
> -D_GNU_SOURCE -MT libeglib_la-gfile-win32.lo -MD -MP -MF
> .deps/libeglib_la-gfile-win32.Tpo -c -o libeglib_la-gfile-win32.lo `test
> -f 'gfile-win32.c' || echo './'`gfile-win32.c
> libtool: compile:  gcc -mno-cygwin -g -DHAVE_CONFIG_H -I. -I.. -I. -Wall
> -D_FORTIFY_SOURCE=2 -g -O2 -g -O0 -D_GNU_SOURCE -MT
> libeglib_la-gfile-win32.lo -MD -MP -MF .deps/libeglib_la-gfile-win32.Tpo
> -c gfile-win32.c  -DDLL_EXPORT -DPIC -o .libs/libeglib_la-gfile-win32.o
> gfile-win32.c:42:1: warning: "S_ISREG" redefined
> In file included from gfile-win32.c:34:
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/sys/stat.h:72:1:
> warning: this is the location of the previous definition
> gfile-win32.c:43:1: warning: "S_ISDIR" redefined
> /usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/sys/stat.h:68:1:
> warning: this is the location of the previous definition
> gfile-win32.c: In function `monoeg_g_file_test':
> gfile-win32.c:73: error: storage size of 'stat' isn't known
> gfile-win32.c:73: warning: unused variable `stat'
> make[4]: *** [libeglib_la-gfile-win32.lo] Error 1
> make[4]: Leaving directory `/mono/svn/mono/eglib/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/mono/svn/mono/eglib'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/mono/svn/mono/eglib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/mono/svn/mono'
> make: *** [all] Error 2
> 
> What can be wrong?
> 
> 

-- 
View this message in context: http://mono.1490590.n4.nabble.com/Problem-with-mono-WCF-compatibility-with-NET-tp2065368p2069279.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list