Hi, Adam!
The typical problem:
> uname -a
SunOS *** 5.10 Generic_120012-14 i86pc i386 i86pc
> cat test.d
provider testprov {
probe some_event(int);
};
> dtrace -h -s test.d -o test.h
from src/Engine.cpp:
...
if ( TESTPROV_SOME_EVENT_ENABLED()) {
TESTPROV_SOME_EVENT(23);
}
...
> /usr/sbin/dtrace -G -64 -s test.d Engine.o ... other objs
> ... SUNWspro/bin/CC -o ... test.o ...
Undefined first referenced
symbol in file
__1cGEngine2t5B6MrknHtbricksFtypesEUUID_n0BJcpphelperHSafePtr4nKLOMStorage___rn0BHstoragePMessageStorageT4n0D_n0BIprotocolQStra
test.o
__1cGEngine2t6MrknHtbricksFtypesEUUID_n0BJcpphelperHSafePtr4nKLOMStorage___rn0BHstoragePMessageStorageT4n0D_n0BIprotocolQStrate
test.o
ld: fatal: Symbol referencing errors. No output written to ...
So, the decorated signature for class Engine costructor was truncated to 127
symbols.
Thanks for your help!
Ungrund
--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
[email protected]