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: Errors compiling a tap on kernel 4.8.0-0.bpo.2-amd64


<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


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