Problem with compilation Xtrabackup under Solaris using Sun Studio 11

Hi all,

I tried to compile Xtrabackup 1.5(for Mysql 5.1) under Solaris 10(SPARC) using Sun Studio 11 and I got following error:

Compile XtraBackup
cc -I/opt/sun-studio/SUNWspro/include -g -O3 -g -fmessage-length=0 -D_FORTIFY_S
cc: Warning: option -3 passed to ld
cc: Warning: illegal option -fmessage-length=0
“xtrabackup.c”, line 2710: undefined symbol: RECV_SCAN_SIZE
“xtrabackup.c”, line 3058: warning: statement not reached
“xtrabackup.c”, line 5287: warning: argument #1 is incompatible with prototype:
prototype: pointer to char : “/usr/include/iso/string_iso.h”, line 72
argument : pointer to unsigned char
“xtrabackup.c”, line 5302: warning: argument #1 is incompatible with prototype:
prototype: pointer to char : “/usr/include/iso/string_iso.h”, line 72
argument : pointer to unsigned char
cc: acomp failed for xtrabackup.c
make: *** [xtrabackup.o] Error 2

Any ideas what may caused such error?

I can add that compilation of MySQL was successful.

Thanks,
Pawel

We have not really prioritized compiling xtrabackup on Solaris. We are keenly interested in someone who is willing to pay for it, though. If you have the resources, then we have the time; otherwise it isn’t something we can do for free. Contact our Sales department at http://www.percona.com/contact/sales/ if you’re interested.