This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: uprobes-inode.c:262: error: implicit declaration of function 'uprobe_register'


On Fri, Apr 6, 2012 at 11:36 PM, Negreanu Marius <groleo@gmail.com> wrote:
> Hi,
>
> on latest master, I'm getting this error:
> Â Â Â uprobes-inode.c:262: error: implicit declaration of function
> 'uprobe_register'
>
> I can see that STAPCONF_UPROBE_REGISTER_EXPORTED controls when
> uprobe_register is defined,
> but I don't know where should uprobe_register come from when
> STAPCONF_UPROBE_REGISTER_EXPORTED is 1 .

Heh,
<linux/wait.h> was not included by asm/uprobes.h
and ./runtime/autoconf-old-inode-uprobes.c was failing because of this.

The failing of the autoconf test meant undefined
STAPCONF_UPROBE_REGISTER_EXPORTED .


-- 
Regards!
http://groleo.wordpress.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]