This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Errors compiling a tap on kernel 4.8.0-0.bpo.2-amd64
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: <webman at manfbraun dot de>
- Cc: <systemtap at sourceware dot org>
- Date: Fri, 20 Jan 2017 15:31:25 -0500
- Subject: Re: Errors compiling a tap on kernel 4.8.0-0.bpo.2-amd64
- Authentication-results: sourceware.org; auth=none
- References: <!&!AAAAAAAAAAAYAAAAAAAAAOosgHnoPqdNlUO2DUrQ/DfCgAAAEAAAADqpeRgjdWBHg6VYWS+qNwgBAAAAAA==@manfbraun.de>
<webman@manfbraun.de> writes:
> [...]
> /tmp/stapmHsuXa/stap_e2a5f917741269f4e397d293840ffdda_26964_src.c:10:29:
> fatal error: runtime_defines.h: No such file or directory
> #include "runtime_defines.h"
> ^
> [...]
A user on IRC reported similar problems recently. Something about a
partial kernel build tree conflicted with the use of double-quotes for
certain macro definitions in the systemtap-generated module Makefile.
This prevented e.g.
EXTRA_CFLAGS += -I"/usr/share/systemtap/runtime"
bit from being passed to the compiler, which in turn led to this same
error message. The user reported that removing the double-quotes made
it work. It may be some kernel kbuild script related to .cmd files that
was at fault.
- FChE