search for: dtrace_reached1

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

Did you mean: dtrace_reached2
2008 Nov 18
1
Getting error ld: fatal: symbol `__SUNW_dof'' is multiply-defined:
...o 2.o CC -G -o libc.so a.o b.o 1.o 2.o -mt -norunpath clean:: rm *.o *.a $cat 1.d provider sjsws1 { probe reached1(const char *); }; $cat 2.d provider sjsws2 { probe reached2(const char *); }; $cat a.cpp #include <stdio.h> #include "sjsws.h" main() { DTRACE_REACHED1("one"); } $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(a...