Dear all,
Alfonso: yes, sorry, I forgot to mention that. I am running on Mac OS X 10.9.4.
Thomas: I have tried to compile with Mathematica's mcc, which is just a wrapper for the system compiler. On Mac OS X the system compiler is now clang, not gcc. I'm not sure if the default has changed at some point in the past, but clang complains when trying to compile xperm.c:
./xperm.c:1774:7: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
int L[n]; /* We assume that elements of L cannot
and three similar errors about ALPHA.s, ALPHA.d, ALPHA.o;
./xperm.c:1798:52: error: function definition is not allowed here
void TAB(int *L, int Ll, int *s1, int *d1, int n) {
./xperm.c:2011:7: warning: implicit declaration of function 'F1' is invalid in C99 [-Wimplicit-function-declaration]
F1(ALPHA[c].L, ALPHA[c].Ll, g, IMAGES, &IMAGESl, n);
and two similar errors about the functions F2 and consistency.
Can anybody else on Mac OS X with Mma 10 compile?
I can try to fix these errors, but no guarantees ...
Best
Leo