- 论坛徽章:
- 0
|
In file included from /usr/include/asm/processor.h:18,
from /usr/include/asm/atomic.h:6,
from ./../include/global.h:224,
from mysys_priv.h:18,
from my_new.cc:22:
/usr/include/asm/system.h:265: error: expected `,' or `...' before "new"
/usr/include/asm/system.h: In function `long unsigned int __cmpxchg(volatile void*, long unsigned int, long unsigned int)':
/usr/include/asm/system.h:268: error: `size' undeclared (first use this function)
/usr/include/asm/system.h:268: error: (Each undeclared identifier is reported only once for each function it appears in.)
/usr/include/asm/system.h:272: error: expected identifier before ')' token
/usr/include/asm/system.h:278: error: expected identifier before ')' token
/usr/include/asm/system.h:284: error: expected identifier before ')' token
In file included from /usr/include/asm/atomic.h:6,
from ./../include/global.h:224,
from mysys_priv.h:18,
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: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)
/usr/include/asm/processor.h: In function `void load_esp0(tss_struct*, thread_struct*)':
/usr/include/asm/processor.h:487: error: `unlikely' undeclared (first use this function)
make[2]: *** [my_new.o] Error 1
make[2]: Leaving directory `/home/soft/mysql-3.23.58/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/soft/mysql-3.23.58'
make: *** [all] Error 2
上面是我截下来的错误提示,我用的Linux ASU1,升过内核到2.6.14,所以/usr/include下的asm,linux,scsi都是指向到新内核源码包的相应目录,是不是这里出了问题呢?请高手指点 |
|