systemtap multiple objs linking question

Frank Ch. Eigler fche@redhat.com
Mon Oct 15 14:07:00 GMT 2012


Hi -

> [...]
> got all the definitions for the probes (a .d make dtrace -> .h and .o), but
> it's failing on final link of node due to undefined references.
> node/out/Release/obj.target/node/src/node_systemtap.o:(.note.stapsdt+0x378):
> undefined reference to `net__socket__write_semaphore'
> [...]

> The provider names are in the generated obj, but the linker is failing to
> find the symbols that should be pointing to notes sections (right??)

Could you paste complete command lines and the tail end of the make
transcript?  It's as though that generated .o file is not being handed
to the linker.

> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
> Sent from my brain.
> =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

Nice squishyware advertisement!

- FChE



More information about the Systemtap mailing list