In CentOS7 and Mysql 8 version

configure is ok, but make and make install do now work at all...


In member function 'virtual mysqlpp::Option::Error mysqlpp::GuessConnectionOption::set(mysqlpp::DB    Driver*)':
error: 'MYSQL_OPT_GUESS_CONNECTION' was not declared in this scope
    dbd->set_option(MYSQL_OPT_GUESS_CONNECTION) ?
                    ^
In member function 'virtual mysqlpp::Option::Error mysqlpp::SecureAuthOption::set(mysqlpp::DBDrive    r*)':
error: 'MYSQL_SECURE_AUTH' was not declared in this scope
    dbd->set_option(MYSQL_SECURE_AUTH, &arg_) ?
                    ^
In member function 'virtual mysqlpp::Option::Error mysqlpp::SetClientIpOption::set(mysqlpp::DBDriv    er*)':
error: 'MYSQL_SET_CLIENT_IP' was not declared in this scope
    dbd->set_option(MYSQL_SET_CLIENT_IP, arg_.c_str()) ?
                    ^
In member function 'virtual mysqlpp::Option::Error mysqlpp::UseEmbeddedConnectionOption::set(mysql    pp::DBDriver*)':
error: 'MYSQL_OPT_USE_EMBEDDED_CONNECTION' was not declared in this scope
    dbd->set_option(MYSQL_OPT_USE_EMBEDDED_CONNECTION) ?
                    ^
In member function 'virtual mysqlpp::Option::Error mysqlpp::UseRemoteConnectionOption::set(mysqlpp    ::DBDriver*)':
error: 'MYSQL_OPT_USE_REMOTE_CONNECTION' was not declared in this scope
    dbd->set_option(MYSQL_OPT_USE_REMOTE_CONNECTION) ?