Thanks a lot Dick. The build is done. I figureded out that the problem was with my "gcc".. During the ./configure it had said "gcc can't create executables" so I had removed the "-mno-cygwin" from the configure.in file and it worked fine.. but later created all kinds of problems. So, I reinstalled gcc and everything was fine.
I wanted to know what does "-mno-cygwin" do because I could not find it anywhere in the info pages of gcc?? There was one more issue. Even after finding Boehm GC i.e #define HAVE_BOEHM_GC 1 it still showed #undef HAVE_GC_GC_H So it had to be changed to "1". Apart from that the <gc/gc.h> in os/gc_wrapper.h couldn't be linked and had to be changed to "/usr/local/include/gc/gc.h" Thanks, ~p gary > -----Original Message----- > From: Dick Porter [mailto:dick@;ximian.com] > Sent: Monday, November 04, 2002 4:19 PM > To: Piyush, Garyali (IE10) > Cc: mono (E-mail) > Subject: Re: build error > > > On Sat, 2002-11-02 at 11:41, Piyush, Garyali (IE10) wrote: > > Hi, > > > > While building mono0.16, the following error/warnings were > generated and > > thus the build failed. I can't figure out as to what's > wrong with the > > icall.c file in /mono/metadata. > > > > In file included from /usr/include/unistd.h:6, > > from icall.c:17: > > /usr/include/sys/unistd.h:86: parse error before numeric constant > > /usr/include/sys/unistd.h:153: conflicting types for > `g_win32_ftruncate' > > C:/cygwin/usr/local/include/glib-2.0/glib/gwin32.h:72: > previous declaration > > of `g_win32_ftruncate' > > Something very strange is going on here if your sys/unistd.h defines > g_win32_* symbols. > > > In file included from /usr/include/w32api/windows.h:48, > > from icall.c:45: > > /usr/include/w32api/windef.h:211: conflicting types for `DWORD' > > ../../mono/io-layer/uglify.h:24: previous declaration of `DWORD' > > /usr/include/w32api/windef.h:230: conflicting types for `LPDWORD' > > ../../mono/io-layer/uglify.h:28: previous declaration of `LPDWORD' > > Again, you've somehow managed to include part of the Linux build here > (uglify.h defines some w32 types, and should not be included when > building on cygwin.) > > - Dick > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
