I'm trying to compile mysql normal on a Slackware 10.2.
If I use kernel 2.4, all works fine, but with kernel 2.6.14
all seems to work fine in the first part of compilation,
but at the end I receive this error message:

===============================================
In file included from /usr/include/asm/atomic.h:6,
from ../include/my_global.h:309,
from mysys_priv.h:17,
from my_new.cc:22:
/usr/include/asm/processor.h: In function `void set_in_cr4(long unsigned
int)':
/usr/include/asm/processor.h:235: error: `read_cr4' undeclared (first use
this
function)
/usr/include/asm/processor.h:235: error: (Each undeclared identifier is
reported only once for each function it appears in.)
/usr/include/asm/processor.h:237: error: `write_cr4' undeclared (first use
this
function)
/usr/include/asm/processor.h: In function `void clear_in_cr4(long unsigned
int)
':
/usr/include/asm/processor.h:246: error: `write_cr4' undeclared (first use
this
function)
make[1]: *** [my_new.o] Error 1
make[1]: Leaving directory `/tmp/mysql-5.0.16/mysys'
make: *** [install-recursive] Error 1
===============================================

I think it's a headers problem. Any suggestion?
Thanx!

MS