Displaying 1 result from an estimated 1 matches for "reached1".
Did you mean:
reached
2008 Nov 18
1
Getting error ld: fatal: symbol `__SUNW_dof'' is multiply-defined:
...s 1.d a.o -o 1.o
CC -xar -o liba.a a.o 1.o
CC -mt -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_RE...