search for: __dtrace_sjsws1___reached1

Displaying 1 result from an estimated 1 matches for "__dtrace_sjsws1___reached1".

2008 Nov 18
1
Getting error ld: fatal: symbol `__SUNW_dof'' is multiply-defined:
...;); } $cat b.cpp #include <stdio.h> #include "sjsws.h" void myfunc(void) { DTRACE_REACHED2("two"); } $cat sjsws.h #ifndef SJSWS #define SJSWS 1 #include "sys/sdt.h" #ifdef __cplusplus extern "C" { #endif #define DTRACE_REACHED1(arg0) \ __dtrace_sjsws1___reached1(arg0) #define DTRACE_REACHED2(arg0) \ __dtrace_sjsws2___reached2(arg0) extern void __dtrace_sjsws1___reached1(const char *); extern void __dtrace_sjsws2___reached2(const char *); #ifdef __cplusplus } #endif #endif