This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Problems compiling systemtap module with kernel-devel on rawhide
- From: William Cohen <wcohen at redhat dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Thu, 06 Jul 2006 12:56:35 -0400
- Subject: Problems compiling systemtap module with kernel-devel on rawhide
The recent vintages of kernel-devel (e.g. 2.6.17-1.2356.fc6) on i386 and
x86_64 are causing problems building the systemtap module. This bug
affect any modules compiled outside the kernel build. There is already a
bug filed for this on the Red Hat Bugzilla, #197220.
For something trivial like
/usr/bin/stap -vv -e 'probe begin { log ("hello world") }'
End up getting the following when trying to compile the resulting C code
of the systemtap module:
Running make -C "/lib/modules/2.6.17-1.2356.fc6/build"
M="/tmp/stapfSW0Zy" modules V=1
make: Entering directory `/usr/src/kernels/2.6.17-1.2356.fc6-x86_64'
Makefile:452: *** kernel configuration not valid - run 'make prepare' in
/usr/src/kernels/2.6.17-1.2356.fc6-x86_64 to update it. Stop.
make: Leaving directory `/usr/src/kernels/2.6.17-1.2356.fc6-x86_64'
Pass 4: compiled C into "stap_20491.ko" in 190usr/230sys/412real ms.
Pass 4: compilation failed. Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapfSW0Zy
-Will