View Single Post
Old 2016-02-06, 03:12   #22
Batalov
 
Batalov's Avatar
 
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2

217038 Posts
Cool

How about this (in get_fft_radices.c, lines 1443-1446):
Code:
                case 7 :
                        numrad = 6; rvec[0] = 16; rvec[1] =  8; rvec[2] =  8; rvec[3] =  8; rvec[4] =  8; rvec[5] = 16; break;
          #ifndef USE_ONLY_LARGE_LEAD_RADICES
                case 7 :
                        numrad = 5; rvec[0] =  8; rvec[1] = 16; rvec[2] = 16; rvec[3] = 32; rvec[4] = 16; break;

[linux1@rhel7-3 build]$ gcc -Os ../src/get_fft_radices.c
../src/get_fft_radices.c: In function ‘get_fft_radices’:
../src/get_fft_radices.c:1446:3: error: duplicate case value
   case 7 :
   ^
../src/get_fft_radices.c:1443:3: error: previously used here
   case 7 :
   ^
Their gcc compiler is a bit stricter than on x86_64 (I've built it before -- no problems were reported, only warnings).

A bit later (in TRICKY section)
Code:
../src/util.c: In function ‘print_host_info’:
../src/util.c:1071:106: error: ‘OS_BITS’ undeclared (first use in this function)
so add -DOS_BITS=64 to the compiler line.

After polishing these two little blemishes, runs like a clock.
Batalov is offline   Reply With Quote