I'm trying to compile mysql normal on a Slackware 10.2.
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,
/usr/include/asm/processor.h: In function `void set_in_cr4(long unsigned
/usr/include/asm/processor.h:235: error: `read_cr4' undeclared (first use this
/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
/usr/include/asm/processor.h: In function `void clear_in_cr4(long unsigned
/usr/include/asm/processor.h:246: error: `write_cr4' undeclared (first use
make: *** [my_new.o] Error 1
make: Leaving directory `/tmp/mysql-5.0.16/mysys'
make: *** [install-recursive] Error 1
I'm using a kernel 18.104.22.168. Any suggestion?