libaudiofile compilation on Solaris



Hi all!

I am trying to compile libaudiofile on Solaris, but I get this error:

Making all in libaudiofile
gmake[1]: Entering directory `/export/desarrollo/rodrigo/src/gnome/libaudiofile/libaud
iofile'
/bin/sh ../libtool --mode=compile /opt/SUNWspro/bin/cc -DPACKAGE=\"libaudiofile\" -DVE
RSION=\"0.1.5\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -Du_
int8_t=unsigned\ char -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ int -DHAVE_STR
DUP=1  -I. -I.    -g -c swapblock.c
/opt/SUNWspro/bin/cc -DPACKAGE=\"libaudiofile\" -DVERSION=\"0.1.5\" -DHAVE_LIBM=1 -DST
DC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 "-Du_int8_t=unsigned char" "-Du_int16_
t=unsigned short" "-Du_int32_t=unsigned int" -DHAVE_STRDUP=1 -I. -I. -g -c -KPIC -DPIC
 swapblock.c
"swapblock.c", line 51: integral constant expression expected
"swapblock.c", line 99: integral constant expression expected
cc: acomp failed for swapblock.c
gmake[1]: *** [swapblock.lo] Error 1
gmake[1]: Leaving directory `/export/desarrollo/rodrigo/src/gnome/libaudiofile/libaudi
ofile'
gmake: *** [all-recursive] Error 1

The two lines in swapblock.c look like this:
51 -> u_int16_t       sb[WRITE_BUFFER_SIZE], *s;
99 -> u_int32_t       lb[WRITE_BUFFER_SIZE], *s;

Thanks for your help



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]