redeclaration of C++ built-in type ‘bool’ 异常

redeclaration of C++ built-in type ‘bool’ 错误。安装mysql时 make 时? 提示 redeclaration of C++ built

redeclaration of C++ built-in type ‘bool’ 错误。

安装mysql时 make 时? 提示 redeclaration of C++ built-in type ‘bool’ 错误。

是没有安装 gcc-c++ 导致的,解决如下。

sudo apt-get install build-essential

?如果还出现是因为gcc-c++是在configure之后安装的,此时只需重新configure mysql后再编译make即可。