Applied, thanks. Zoltan
On Tue, Nov 16, 2010 at 7:03 AM, KISHIMOTO, Makoto <ksmak...@dd.iij4u.or.jp>wrote: > Hello. > > Please apply this patch. > > diff --git a/mono/profiler/decode.c b/mono/profiler/decode.c > index a7d4428..6cc08ff 100644 > --- a/mono/profiler/decode.c > +++ b/mono/profiler/decode.c > @@ -12,7 +12,7 @@ > #include <string.h> > #include <assert.h> > #include <stdio.h> > -#if !defined(__APPLE__) > +#if !defined(__APPLE__) && !defined(__FreeBSD__) > #include <malloc.h> > #endif > #include <unistd.h> > > On Sat, 13 Nov 2010 17:21:24 +0900 > "KISHIMOTO, Makoto" <ksmak...@dd.iij4u.or.jp> wrote: > > Hello, > > > > In my FreeBSD-amd64 box, Mono git trunk build failed. > > IMHO, malloc.h had been deprecated in my environment. > > > > $ gmake > > (snip) > > gcc -DHAVE_CONFIG_H -I. -I../../../mono/mono/profiler -I../.. > -fexceptions -DMONO_USE_EXC_TABLES -I../../../mono -I../../../mono/eglib/src > -I../../eglib/src -DGC_FREEBSD_THREADS -DPLATFORM_BSD -g -O2 > -fno-strict-aliasing -Wdeclaration-after-statement -g -Wall -Wunused > -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-cast-qual > -Wwrite-strings -mno-tls-direct-seg-refs -MT decode.o -MD -MP -MF > .deps/decode.Tpo -c -o decode.o ../../../mono/mono/profiler/decode.c > > In file included from ../../../mono/mono/profiler/decode.c:16: > > /usr/include/malloc.h:3:2: error: #error "<malloc.h> has been replaced by > <stdlib.h>" > > ../../../mono/mono/profiler/decode.c: In function 'tracked_creation': > > ../../../mono/mono/profiler/decode.c:993: warning: format '%llu' expects > type 'long long unsigned int', but argument 5 has type 'uint64_t' > > ../../../mono/mono/profiler/decode.c: In function 'decode_buffer': > > ../../../mono/mono/profiler/decode.c:1082: warning: format '%x' expects > type 'unsigned int', but argument 3 has type 'intptr_t' > > (snip warnings) > > gmake[3]: *** [decode.o] Error 1 > > gmake[3]: Leaving directory > `/export/home/ksmakoto/Mono/BUILD/mono/profiler' > > gmake[2]: *** [all-recursive] Error 1 > > gmake[2]: Leaving directory `/export/home/ksmakoto/Mono/BUILD/mono' > > gmake[1]: *** [all-recursive] Error 1 > > gmake[1]: Leaving directory `/export/home/ksmakoto/Mono/BUILD' > > gmake: *** [all] Error 2 > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list