-- 
-----------------------------------------------------------------
lu...@debian.org                                     debian/rules
lu...@ximian.com                             Monkeys do it better
--- Begin Message ---
On 12/10/10 Duane Wandless wrote:
> I'm trying out the profiler on OSX against trunk.  I'm not getting any
> useful info.  Do I have to build with special flags?  Is there something
> else I'm missing.  Thanks,

OSX as different default shared lib symbol search rules.
Try this patch:

diff --git a/mono/profiler/Makefile.am b/mono/profiler/Makefile.am
index 26f2e1d..4aa72df 100644
--- a/mono/profiler/Makefile.am
+++ b/mono/profiler/Makefile.am
@@ -36,6 +36,10 @@ libmono_profiler_iomap_la_LIBADD = 
$(top_builddir)/mono/mini/libmono-$(API_VER).
 libmono_profiler_log_la_SOURCES = proflog.c
 libmono_profiler_log_la_LIBADD = 
$(top_builddir)/mono/mini/libmono-$(API_VER).la $(Z_LIBS)
 
+if PLATFORM_DARWIN
+libmono_profiler_log_la_LDFLAGS = -undefined suppress -flat_namespace
+endif
+
 mprof_report_SOURCES = decode.c
 mprof_report_LDADD = $(Z_LIBS)
 
lupus

-- 
-----------------------------------------------------------------
lu...@debian.org                                     debian/rules
lu...@ximian.com                             Monkeys do it better

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

Reply via email to