This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: systemtap multiple objs linking question
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Jan W <jcwynholds at gmail dot com>
- Cc: systemtap <systemtap at sourceware dot org>
- Date: Mon, 15 Oct 2012 10:07:10 -0400
- Subject: Re: systemtap multiple objs linking question
- References: <CAPQN6+sH8hvczBSPN=8+sqo6hDGuoPE5U=om9xOwL9x1NsXGnA@mail.gmail.com> <CAPQN6+vvR-44ZRzg88C0dpar6UXnzuWaQtofaX92oEZ7vg88oA@mail.gmail.com>
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