problem compile HDF5 on Sun...

Guys,

Compiling HDF5 on the Sun, I get the following errors:

cc -DHAVE_CONFIG_H -I. -I. -I../src -I../src -I../src   -DH5_DEBUG_API 
-DH5Z_DEBUG -DH5V_DEBUG -DH5T_DEBUG -DH5S_DEBUG -DH5P_DEBUG -DH5O_DEBUG 
-DH5MM_DEBUG -DH5I_DEBUG -DH5HG_DEBUG -DH5G_DEBUG -DH5F_DEBUG -DH5E_DEBUG 
-DH5D_DEBUG -UNDEBUG -I/home/ed/local/laraine/include -LANG:std  -erroff=%none 
-DBSD_COMP -g -xildoff -c dsets.c
"dsets.c", line 3100: left operand must be modifiable lvalue: op "="
"dsets.c", line 3100: left operand must be modifiable lvalue: op "="
"dsets.c", line 3100: left operand must be modifiable lvalue: op "="
"dsets.c", line 3101: left operand must be modifiable lvalue: op "="
"dsets.c", line 3101: left operand must be modifiable lvalue: op "="
"dsets.c", line 3101: left operand must be modifiable lvalue: op "="
"dsets.c", line 3315: left operand must be modifiable lvalue: op "="
"dsets.c", line 3315: left operand must be modifiable lvalue: op "="
"dsets.c", line 3315: left operand must be modifiable lvalue: op "="
"dsets.c", line 3316: left operand must be modifiable lvalue: op "="
"dsets.c", line 3316: left operand must be modifiable lvalue: op "="
"dsets.c", line 3316: left operand must be modifiable lvalue: op "="
cc: acomp failed for dsets.c
*** Error code 2
make: Fatal error: Command failed for target `dsets.o'
Current working directory /home/ed/downloads/hdf5-1.7.51/test
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'


Any suggestions?

Thanks!

Ed

-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx