- 论坛徽章:
- 0
|
环境:Linux AS3U8 + MySql-5.0.27
#./configure --prefix=/usr/local/mysql5
.............
.............省略
Remember to check the platform specific part of the reference manual for
hints about installing MySQL on your platform. Also have a look at the
files in the Docs directory.
Thank you for choosing MySQL!
#make
。。。。。。。。。。
。。。。。。。。。。省略
/usr/include/sys/mman.h:122: error: `size_t' has not been declared
/usr/include/sys/mman.h:130: error: `size_t' has not been declared
/usr/include/sys/mman.h:135: error: `size_t' has not been declared
/usr/include/sys/mman.h:136: error: `size_t' has not been declared
In file included from mysys_priv.h:18,
from my_new.cc:22:
../include/my_sys.h:865: error: `size_t' has not been declared
../include/my_sys.h:865: error: ISO C++ forbids declaration of `parameter' with no type
my_new.cc:26: error: declaration of `operator new' as non-function
my_new.cc:26: error: `size_t' was not declared in this scope
my_new.cc:31: error: declaration of `operator new []' as non-function
my_new.cc:31: error: `size_t' was not declared in this scope
make[2]: *** [my_new.o] Error 1
make[2]: Leaving directory `/home/sofeware/mysql-5.0.27/mysys'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/sofeware/mysql-5.0.27'
make: *** [all] Error 2
请问各位有遇到过这种情况吗?是不是有什么库没装好? |
|