[OpenAFS-devel] linux configure tests broken on 2.6.17-ish

Troy Benjegerdes hozer@hozed.org
Sun, 25 Jun 2006 22:39:42 -0500


The configure tests for signal->rlim are broken on recent kernel
versions..

In file included from /scratch/troy/linux-2.6/include/linux/sched.h:49,
                 from conftest.c:28:
		 /scratch/troy/linux-2.6/include/linux/jiffies.h: In
		 function 'jiffies_to_msecs':
		 /scratch/troy/linux-2.6/include/linux/jiffies.h:259:
		 error: 'CONFIG_HZ' undeclar
		 ed (first use in this function)
		 /scratch/troy/linux-2.6/include/linux/jiffies.h:259:
		 error: (Each undeclared ide
		 ntifier is reported only once

	
This is on powerpc32.. has anyone tracked down what is going on here
yet?

I'm starting to think it would be better to explicitly use tests
like '#if LINUX_KERNEL_VERSION > XXX' tests than to try to make
configure understand this correctly.