Hello,

 

I'm unable to compile eglib in a cygwin/mingw environment. I've tried the
following:

 

cd eglib

./autogen.sh

cp winconfig.h config.h

[modified Makefile and src/Makefile to use -mno-cygwin -g options to gcc]

make

 

I get the following errors:

make[2]: Entering directory `/usr/local/src/mono/mono/eglib/src'

/bin/sh ../libtool --tag=CC   --mode=compile gcc -mno-cygwin -g
-DHAVE_CONFIG_H

-I. -I.. -I.  -I/usr/local/src/mono/deps/include  -Wall -D_FORTIFY_SOURCE=2
-g

O0 -D_GNU_SOURCE -MT libeglib_la-gfile.lo -MD -MP -MF
.deps/libeglib_la-gfile.T

o -c -o libeglib_la-gfile.lo `test -f 'gfile.c' || echo './'`gfile.c

 gcc -mno-cygwin -g -DHAVE_CONFIG_H -I. -I.. -I.
-I/usr/local/src/mono/deps/inc

ude -Wall -D_FORTIFY_SOURCE=2 -g -O0 -D_GNU_SOURCE -MT libeglib_la-gfile.lo
-MD

-MP -MF .deps/libeglib_la-gfile.Tpo -c gfile.c  -DDLL_EXPORT -DPIC -o
.libs/lib

glib_la-gfile.o

gfile.c:40:1: warning: "S_ISREG" redefined

In file included from gfile.c:34:

/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/sys/s
tat

h:72:1: warning: this is the location of the previous definition

gfile.c:41:1: warning: "S_ISDIR" redefined

/usr/lib/gcc/i686-pc-mingw32/3.4.4/../../../../i686-pc-mingw32/include/sys/s
tat

h:68:1: warning: this is the location of the previous definition

 

Is there a recommended way to buld eglib in a cygwin/mingw environment?

 

Thanks in advance!

Bassam

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to