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: fedora 8 update to 2.6.24.3-12.fc8, error: linux/hrtimer.h: No such file or directory


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


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