This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: fedora 8 update to 2.6.24.3-12.fc8, error: linux/hrtimer.h: No such file or directory
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Frank Singleton <javabear at tx dot rr dot com>
- Cc: systemtap at sourceware dot org
- Date: Fri, 07 Mar 2008 18:11:17 -0500
- Subject: Re: fedora 8 update to 2.6.24.3-12.fc8, error: linux/hrtimer.h: No such file or directory
- References: <47D1C5F9.9090200@tx.rr.com>
Frank Singleton <javabear@tx.rr.com> writes:
> [...]
> now simple stap example fails to compile
Thanks for the problem report. The bug is not actually with hrtimer* etc.,
which are referred to in build-time "autoconf" pieces ...
> run a simple stap to see if all is well, but it complains about
> /usr/share/systemtap/runtime/autoconf-hrtimer-rel.c
> /usr/share/systemtap/runtime/autoconf-hrtimer-rel.c:1:27: error:
> linux/hrtimer.h: No such file or directory
> /usr/share/systemtap/runtime/autoconf-hrtimer-rel.c:3: error:
> 'HRTIMER_REL' undeclared here (not in a function)
> [...]
... but more likely here:
> + echo ''
> scripts/Makefile.build:46: *** CFLAGS was changed in
> "/tmp/stapHB0Auz/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
> make: *** [_module_/tmp/stapHB0Auz] Error 2
This is fixable in systemtap/src/buildrun.cxx, but we need to check
whether older kernels can tolerate the same change.
By the way, we have a more recent systemtap build waiting in the
"updates-testing" yum repo; please try that one too.
- FChE