I apologize if this topic has been brought up but I could not find anything under search.
I’m trying to compile Percona from source on my CentOS 6.3 32-bit VM. I run make and it goes up to 85% and stops with this error:
/root/Percona-Server-5.5.27-rel28.0/sql/mysqld.cc: In function âvoid handle_connections_sockets()â:
/root/Percona-Server-5.5.27-rel28.0/sql/mysqld.cc:5429: error: invalid conversion from âsize_socketâ to âsocklen_tâ
/root/Percona-Server-5.5.27-rel28.0/sql/mysqld.cc:5429: error: initializing argument 3 of âint accept(int, sockaddr*, socklen_t*)â
/root/Percona-Server-5.5.27-rel28.0/sql/mysqld.cc:5496: error: invalid conversion from âintâ to âsocklen_tâ
/root/Percona-Server-5.5.27-rel28.0/sql/mysqld.cc:5496: error: initializing argument 3 of âint getsockname(int, sockaddr*, socklen_t*)â
make[2]: *** [sql/CMakeFiles/sql.dir/mysqld.cc.o] Error 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2
Anyone have a clue what could be wrong?