search for: reached2

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

Did you mean: reached
2008 Nov 18
1
Getting error ld: fatal: symbol `__SUNW_dof'' is multiply-defined:
...-xtarget=ultra -g -xs -c -o b.o b.cpp dtrace -G -32 -s 2.d b.o -o 2.o CC -xar -o libb.a b.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 SJ...