Hi,<div><br></div><div>  Try removing -DFILE_OFFSET_BITS=64 from mono/profiler/Makefile.</div><div><br></div><div>                 Zoltan<br><br><div class="gmail_quote">On Fri, Mar 4, 2011 at 5:44 PM, Francis A. Bausch <span dir="ltr">&lt;<a href="mailto:fbausch@dracorp.com">fbausch@dracorp.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Mono 2.10.1 seems to have addressed our garbage collection problems on linux x86_64, though SGen is giving us problems on that platform. We&#39;d like to transition all our platforms to 2.10.1, but Solaris builds are failing:<br>

<br>
building mono 2.10.1 with gcc 4.5.1 on Solaris 10u8:<br>
<br>
<br>
Making all in profiler<br>
make[3]: Entering directory `/export/home/dev/mono/mono-2.10.1/mono-2.10.1/mono/profiler&#39;<br>
CC      mono-cov.lo<br>
LD      <a href="http://libmono-profiler-cov.la" target="_blank">libmono-profiler-cov.la</a><br>
libtool: link: warning: `/STORM/2.1/opensource/i386-pc-solaris5.10/lib/gcc/i386-pc-solaris2.10/4.5.1/../../../libstdc++.la&#39; seems to be moved<br>
CC      mono-profiler-aot.lo<br>
LD      <a href="http://libmono-profiler-aot.la" target="_blank">libmono-profiler-aot.la</a><br>
libtool: link: warning: `/STORM/2.1/opensource/i386-pc-solaris5.10/lib/gcc/i386-pc-solaris2.10/4.5.1/../../../libstdc++.la&#39; seems to be moved<br>
CC      mono-profiler-iomap.lo<br>
LD      <a href="http://libmono-profiler-iomap.la" target="_blank">libmono-profiler-iomap.la</a><br>
libtool: link: warning: `/STORM/2.1/opensource/i386-pc-solaris5.10/lib/gcc/i386-pc-solaris2.10/4.5.1/../../../libstdc++.la&#39; seems to be moved<br>
CC      proflog.lo<br>
In file included from /usr/include/link.h:14:0,<br>
                 from proflog.c:37:<br>
/usr/include/libelf.h:24:2: error: #error &quot;large files are not supported by libelf&quot;<br>
proflog.c: In function &#39;mono_sample_hit&#39;:<br>
proflog.c:1195:3: warning: passing argument 1 of &#39;InterlockedCompareExchangePointer&#39; from incompatible pointer type<br>
../../mono/io-layer/atomic.h:90:24: note: expected &#39;void * volatile*&#39; but argument is of type &#39;volatile void **&#39;<br>
proflog.c: At top level:<br>
proflog.c:1259:1: warning: &#39;dump_ubin&#39; defined but not used<br>
proflog.c:1318:1: warning: &#39;read_elf_symbols&#39; defined but not used<br>
make[3]: *** [proflog.lo] Error 1<br>
make[3]: Leaving directory `/export/home/dev/mono/mono-2.10.1/mono-2.10.1/mono/profiler&#39;<br>
make[2]: *** [all-recursive] Error 1<br>
make[2]: Leaving directory `/export/home/dev/mono/mono-2.10.1/mono-2.10.1/mono&#39;<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/export/home/dev/mono/mono-2.10.1/mono-2.10.1&#39;<br>
make: *** [all] Error 2<br>
<br>
<br>
<br>
Francis A. Bausch | <a href="mailto:fbausch@dracorp.com">fbausch@dracorp.com</a> | <a href="tel:703.299.0700">703.299.0700</a> x213<br>
     Data Research and Analysis Corp.  |  <a href="http://www.dracorp.com" target="_blank">www.dracorp.com</a><br>
<br>
_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
</blockquote></div><br></div>