|
From: Nicholas N. <nj...@ca...> - 2003-09-01 15:57:16
|
On Mon, 1 Sep 2003, Andr=E9s Rold=E1n wrote:
> Is there any patch to build valgrind 20030725 under kernel 2.6?
Yes. You can check out from CVS, or apply the following patch, courtesy
of John Levon.
N
diff -Naur -x Makefile -x .deps -x autom4te-2.53.cache -x config.log -x
config.status -x configure valgrind-MASSIF/configure.in v/configure.in
--- valgrind-MASSIF/configure.in 2003-08-09 16:43:05.000000000
+0100
+++ v/configure.in 2003-08-10 13:49:59.000000000 +0100
@@ -97,6 +97,11 @@
kernel=3D`uname -r`
case "${kernel}" in
+ 2.6.*)
+ AC_MSG_RESULT([2.6 family (${kernel})])
+ AC_DEFINE([KERNEL_2_6], 1, [Define to 1 if you're using Linux 2=
=2E6.x])
+ ;;
+
2.5.*)
AC_MSG_RESULT([2.5 family (${kernel})])
AC_DEFINE([KERNEL_2_5], 1, [Define to 1 if you're using Linux 2=
=2E5.x])
|