I have follow installation process of SystemTap, but got a wrong result. Does it comes from something I done wrong or from this kernel version?
The error:
aurelien@icebot:~/git/stuff/SystemTap$ sudo stap -e 'probe begin { printf("Hello, World!\n"); exit() }'
cc1: fatal error: /tmp/stapsypJMr/stapconf_65457367ef4d7ed52aaaae440e42c00c_753.h: No such file or directory
compilation terminated
cc1: fatal error: /tmp/stapsypJMr/stapconf_65457367ef4d7ed52aaaae440e42c00c_753.h: No such file or directory
compilation terminated.
scripts/Makefile.build:284: recipe for target '/tmp/stapsypJMr/stap_9a0b55b200bf55578dbb0e27f51dd27f_992_src.o' failed
make[1]: *** [/tmp/stapsypJMr/stap_9a0b55b200bf55578dbb0e27f51dd27f_992_src.o] Error 1
make[1]: *** Waiting for unfinished jobs....
scripts/Makefile.build:284: recipe for target '/tmp/stapsypJMr/stap_9a0b55b200bf55578dbb0e27f51dd27f_992_aux_0.o' failed
make[1]: *** [/tmp/stapsypJMr/stap_9a0b55b200bf55578dbb0e27f51dd27f_992_aux_0.o] Error 1
Makefile:1606: recipe for target '_module_/tmp/stapsypJMr' failed
make: *** [_module_/tmp/stapsypJMr] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compilation failed. [man error::pass4]
Tip: /usr/share/doc/systemtap/README.Debian should help you get started.
aurelien@icebot:~/git/stuff/SystemTap$ uname -a
Linux icebot 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
The installation process:
sudo apt-get install systemtap
sudo apt-get install gcc
sudo apt-get install linux-headers-$(uname -r)
sudo stap -e 'probe begin { printf("Hello, World!\n"); exit() }'