stap build error on 2.6.16.

Masami Hiramatsu mhiramat@redhat.com
Mon Oct 22 16:35:00 GMT 2007


Hi David,

David Wilder wrote:
> I am seeing the following error when running stap -vv on a 2.6.16 kernel.
> 
> <....>
> cc1: warnings being treated as errors
> /usr/local/share/systemtap/runtime/autoconf-ktime-get-real.c: In 
> function '____autoconf_func':
> /usr/local/share/systemtap/runtime/autoconf-ktime-get-real.c:5: warning: 
> implicit declaration of function 'get_realtime_clock_ts'
> 
> <....>

That was generated by autoconf. And it just means the get_realtime_clock_ts()
doesn't exists on your kernel. In that case, runtime uses do_gettimeofday()
instead of that function.

Thanks,

-- 
Masami Hiramatsu

Software Engineer
Hitachi Computer Products (America) Inc.
Software Solutions Division

e-mail: mhiramat@redhat.com, masami.hiramatsu.pt@hitachi.com



More information about the Systemtap mailing list