On 03/01/2017 06:44 PM, Ritesh Raj Sarraf wrote:
> Thanks to hints from Frank, I can see the culprit now.
> 
> -Werror  
> -I/usr/src/linux-headers-4.9.0-2-common/"/usr/share/systemtap/runtime"  
> -DMODULE
> 
> 
> The full compile command is:
> 
>    gcc-6 
> -Wp,-MD,/tmp/staptZYmtX/.stap_7ef754ea40ea0990a9bfaf74753e8a9d_1538_aux_0.o.d 
>  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/6/include 
> -I/usr/src/linux-headers-4.9.0-2-common/arch/x86/include 
> -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  
> -I/usr/src/linux-headers-4.9.0-2-common/include -I./include 
> -I/usr/src/linux-headers-4.9.0-2-common/arch/x86/include/uapi 
> -I/usr/src/linux-headers-4.9.0-2-common/include/uapi 
> -I./include/generated/uapi -include 
> /usr/src/linux-headers-4.9.0-2-common/include/linux/kconfig.h 
> -I/usr/src/linux-headers-4.9.0-2-common//tmp/staptZYmtX -I/tmp/staptZYmtX 
> -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs 
> -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration 
> -Wno-format-security -std=gnu89 -fno-PIE -mno-sse -mno-mmx -mno-sse2 
> -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 
> -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup 
> -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time 
> -maccumulate-outgoing-args -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 
> -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 
> -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 
> -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 
> -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare 
> -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks 
> -Wno-frame-address -O2 --param=allow-store-data-races=0 
> -Wframe-larger-than=2048 -fstack-protector-strong 
> -Wno-unused-but-set-variable -Wno-unused-const-variable 
> -fno-var-tracking-assignments -pg -mfentry -DCC_USING_FENTRY 
> -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow 
> -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes 
> -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO  
> -I/usr/src/linux-headers-4.9.0-2-common/include2/asm/mach-default  
> -I/lib/modules/4.9.0-2-amd64/build -include 
> /tmp/staptZYmtX/stapconf_d8a215ec355839da11c41ac20d4e7e1e_702.h 
> -freorder-blocks -fasynchronous-unwind-tables -Wframe-larger-than=512 
> -fno-ipa-icf -Wno-unused -Werror  
> -I/usr/src/linux-headers-4.9.0-2-common/"/usr/share/systemtap/runtime"  
> -DMODULE  
> -DKBUILD_BASENAME='"stap_7ef754ea40ea0990a9bfaf74753e8a9d_1538_aux_0"'  
> -DKBUILD_MODNAME='"stap_7ef754ea40ea0990a9bfaf74753e8a9d_1538"' -c -o 
> /tmp/staptZYmtX/.tmp_stap_7ef754ea40ea0990a9bfaf74753e8a9d_1538_aux_0.o 
> /tmp/staptZYmtX/stap_7ef754ea40ea0990a9bfaf74753e8a9d_1538_aux_0.c
> /tmp/staptZYmtX/stap_7ef754ea40ea0990a9bfaf74753e8a9d_1538_src.c:10:29: fatal 
> error: runtime_defines.h: No such file or directory
> 
I mentioned that in one of my earlier mails (#22).
Also I can confirm this not an issue with the _packaging_ of systemtap in 
Debian,
I downloaded and compiled the latest release tarball (3.1) directly from 
upstream and still got the same error.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to