I get the following error when compiling SPTK 3.6 (also found it for 3.5 and 3.4.1) on my iMac using command line XCode and looking it up a bit it seems to suggest some problem in the program:
gcc -DPACKAGE_NAME=\"SPTK\" -DPACKAGE_TARNAME=\"sptk\" -DPACKAGE_VERSION=\"3.4.1\" -DPACKAGE_STRING=\"SPTK\ 3.4.1\" -DPACKAGE_BUGREPORT=\"http://sourceforge.net/projects/sp-tk/\" -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_BZERO=1 -DHAVE_MEMSET=1 -DHAVE_STRRCHR=1 -DHAVE_RINDEX=1 -DFORMAT=\"float\" -I. -I../../include -g -O2 -MT delta.o -MD -MP -MF .deps/delta.Tpo -c -o delta.o delta.c
delta.c:384: internal compiler error: Segmentation fault: 11
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make[2]: *** [delta.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
If I remove the delta section from the makefile SPTK compiles successfully so it should be something in delta.c
This error does not appear on Scientific Linux 6 so seems Mac specific.
Thank you for using SPTK and reporting this problem.
Can you try not using 'CC=gcc' but 'CC=clang' in Makefile for delta command ?
Thanks a lot!
That solved the problem!