How to give compiler arguments
Martin Martin
martin@infinio.com
Fri Sep 6 18:42:00 GMT 2013
Hi,
If I put:
%{
#include "stdint.h"
%}
at the start of my probe script, stap says:
In file included from
/tmp/stapR3xMcm/stap_a41ca76a927c0e462ab230035f8677ed_1654_src.c:24:0:
/usr/lib/gcc/x86_64-linux-gnu/4.7/include/stdint.h:3:26: error: no
include path in which to search for stdint.h
make[1]: *** [/tmp/stapR3xMcm/stap_a41ca76a927c0e462ab230035f8677ed_1654_src.o]
Error 1
Is there a way to give some extra arguments to the compiler to resolve
this? Or am I out of luck because it's a kernel module?
Thanks,
Martin
More information about the Systemtap
mailing list