[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems compiling kernel-source 4.5



On Wed, 18 Jul 2001 12:30:56 +0200 (MEST), Gabor Zoltan Csejtey wrote:
> I've downloaded the kernel source 2.4.5-1 version.
> If I run make dep I got errors.
> 
> from  kernel-source-2.4.5/include/linux/kernel.h
> 
> As I see _f is calculated:
> #define P 22 + sizeof(short) - 3 * sizeof(long) - sizeof(int)
>         char _f[P > 0 ? P : 0];         /* Padding: libc5 uses this.. */
> #undef P
> 
> I have sparc II ULtra 10 machine. Debian testing upgraded.
>
> /ext/src/kernel-source-2.4.5/include/linux/kernel.h:132: size of array `_f' is too large

I get this, too. To get it to compile, I comment those lines out, and insert this instead:

#define P 0

As far as I can see, this is what should be happening anyway, so I don't know why it doesn't work as it is.


-- 
	Peter Haworth	pmh@edison.ioppublishing.com
"What a useless, stupid, vain, and in fact, evil application! Didn't anyone
 ever tell you that you can't count the number of times your page is viewed?"
		-- Tom Christiansen on hit counters.



Reply to: