I also encounter this same error compiling Percona Server-51-5.1.50 on Solaris 10 x86_64, using a simple configure line:
./configure --with-server-suffix=-percona --enable-thread-safe-client --with-plugins=partition,innodb_plugin
uname follows: SunOS iqdsol 5.10 Generic_141445-09 i86pc i386 i86pc
I solved using the suggested fix of removing inline from the function in buf0buf.c
I also encounter this same error compiling Percona Server-51-5.1.50 on Solaris 10 x86_64, using a simple configure line:
./configure --with- server- suffix= -percona --enable- thread- safe-client --with- plugins= partition, innodb_ plugin
uname follows:
SunOS iqdsol 5.10 Generic_141445-09 i86pc i386 i86pc
I solved using the suggested fix of removing inline from the function in buf0buf.c