|
|
编译mysql 4.1.15/16报错--而以前是好的。就是大神生女儿后更新就不行了。
then mv -f ".deps/my_new.Tpo" ".deps/my_new.Po"; else rm -f ".deps/my_new.Tpo"; exit 1; fi
In file included from /usr/include/asm/atomic.h:6,
from ../include/my_global.h:280,
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:244: error: `read_cr4' undeclared (first use this function)
/usr/include/asm/processor.h:246: error: `write_cr4' undeclared (first use this function)
make[2]: *** [my_new.o] Error 1
make[2]: Leaving directory `/root/mysql-4.1.15/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/mysql-4.1.15'
make: *** [all] Error 2 |
|