If your installation of MySQL on Solaris is anything like mine (GA package as provided by mysql.com) and you use GCC (3.4), you will need to make a slight alteration in the Makefile. Replace
CCFLAGS :=`mysql_config --cflags` -Wall
with
CCFLAGS :=-I/opt/mysql/mysql/include  -g -D_FORTEC_ -DHAVE_RWLOCK_T -DUNIV_SOLARIS -Wall
as the compiler flags supplied from mysql_config --cflags isn't entirely compatible with the above compiler.

Back