![]() |
[QUOTE=alexvong1995;425343]Hi people, could you try appending --enable-verbose-compiler and --disable-silent-rule when running configure and paste the output? (I don't want to give away my phone number to register...)[/QUOTE]
Sure. But you can always use a "burner phone" in such cases. I know guys who have a half dozen or so for just such instances... :wink: But here are the results of what you asked for: [CODE]linux1@i4l-2 build]$ ../configure --enable-verbose-compiler --disable-silent-rule configure: WARNING: unrecognized options: --disable-silent-rule checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for library containing ceil, log, pow, sqrt, sincos, floor, lrint, atan... -lm checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for uint64_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for clock_gettime... no checking for gethrtime... no checking for gettimeofday... yes checking for memset... yes checking for pow... yes checking for sqrt... yes checking for strerror... yes checking for strstr... yes checking for strtoul... yes checking whether _LARGEFILE_SOURCE is declared... no checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-silent-rule [linux1@i4l-2 build]$ make make all-am make[1]: Entering directory `/home/linux1/mlucas/mlucas-14.1/build' CC $NORMAL_O $THREADS_O In file included from ../src/types.h:30, from ../src/align.h:29, from ../src/Mlucas.h:29, from ../src/br.c:23: ../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds! In file included from ../src/types.h:30, from ../src/Mdata.h:30, from ../src/dft_macro.c:24: ../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds! In file included from ../src/types.h:30, from ../src/util.h:30, from ../src/factor.h:29, from ../src/factor.c:27: ../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds! In file included from ../src/types.h:30, from ../src/align.h:29, from ../src/Mlucas.h:29, from ../src/fermat_mod_square.c:23: ... In file included from ../src/types.h:30, from ../src/util.h:30, from ../src/factor.h:29, from ../src/twopmodq80.c:23: ../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds! ../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE’: ../src/twopmodq80.c:342: warning: right shift count >= width of type ../src/twopmodq80.c:342: warning: left shift count is negative ../src/twopmodq80.c:342: warning: right shift count >= width of type ../src/twopmodq80.c:342: warning: left shift count is negative ../src/twopmodq80.c:342: warning: right shift count >= width of type ../src/twopmodq80.c:342: warning: right shift count is negative ../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q2’: ../src/twopmodq80.c:811: warning: right shift count >= width of type ../src/twopmodq80.c:811: warning: left shift count is negative ../src/twopmodq80.c:811: warning: right shift count >= width of type ../src/twopmodq80.c:811: warning: left shift count is negative ../src/twopmodq80.c:811: warning: right shift count >= width of type ../src/twopmodq80.c:811: warning: right shift count is negative ../src/twopmodq80.c:812: warning: right shift count >= width of type ../src/twopmodq80.c:812: warning: left shift count is negative ../src/twopmodq80.c:812: warning: right shift count >= width of type ../src/twopmodq80.c:812: warning: left shift count is negative ../src/twopmodq80.c:812: warning: right shift count >= width of type ../src/twopmodq80.c:812: warning: right shift count is negative ../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q4’: ../src/twopmodq80.c:2210: warning: right shift count >= width of type ../src/twopmodq80.c:2210: warning: left shift count is negative ../src/twopmodq80.c:2210: warning: right shift count >= width of type ../src/twopmodq80.c:2210: warning: left shift count is negative ../src/twopmodq80.c:2210: warning: right shift count >= width of type ../src/twopmodq80.c:2210: warning: right shift count is negative ../src/twopmodq80.c:2211: warning: right shift count >= width of type ../src/twopmodq80.c:2211: warning: left shift count is negative ../src/twopmodq80.c:2211: warning: right shift count >= width of type ../src/twopmodq80.c:2211: warning: left shift count is negative ../src/twopmodq80.c:2211: warning: right shift count >= width of type ../src/twopmodq80.c:2211: warning: right shift count is negative ../src/twopmodq80.c:2212: warning: right shift count >= width of type ../src/twopmodq80.c:2212: warning: left shift count is negative ../src/twopmodq80.c:2212: warning: right shift count >= width of type ../src/twopmodq80.c:2212: warning: left shift count is negative ../src/twopmodq80.c:2212: warning: right shift count >= width of type ../src/twopmodq80.c:2212: warning: right shift count is negative ../src/twopmodq80.c:2213: warning: right shift count >= width of type ../src/twopmodq80.c:2213: warning: left shift count is negative ../src/twopmodq80.c:2213: warning: right shift count >= width of type ../src/twopmodq80.c:2213: warning: left shift count is negative ../src/twopmodq80.c:2213: warning: right shift count >= width of type ../src/twopmodq80.c:2213: warning: right shift count is negative ../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q4_REF’: ../src/twopmodq80.c:2954: warning: right shift count >= width of type ../src/twopmodq80.c:2954: warning: left shift count is negative ../src/twopmodq80.c:2954: warning: right shift count >= width of type ../src/twopmodq80.c:2954: warning: left shift count is negative ../src/twopmodq80.c:2954: warning: right shift count >= width of type ../src/twopmodq80.c:2954: warning: right shift count is negative ../src/twopmodq80.c:2955: warning: right shift count >= width of type ../src/twopmodq80.c:2955: warning: left shift count is negative ../src/twopmodq80.c:2955: warning: right shift count >= width of type ../src/twopmodq80.c:2955: warning: left shift count is negative ../src/twopmodq80.c:2955: warning: right shift count >= width of type ../src/twopmodq80.c:2955: warning: right shift count is negative ../src/twopmodq80.c:2956: warning: right shift count >= width of type ../src/twopmodq80.c:2956: warning: left shift count is negative ../src/twopmodq80.c:2956: warning: right shift count >= width of type ../src/twopmodq80.c:2956: warning: left shift count is negative ../src/twopmodq80.c:2956: warning: right shift count >= width of type ../src/twopmodq80.c:2956: warning: right shift count is negative ../src/twopmodq80.c:2957: warning: right shift count >= width of type ../src/twopmodq80.c:2957: warning: left shift count is negative ../src/twopmodq80.c:2957: warning: right shift count >= width of type ../src/twopmodq80.c:2957: warning: left shift count is negative ../src/twopmodq80.c:2957: warning: right shift count >= width of type ../src/twopmodq80.c:2957: warning: right shift count is negative In file included from ../src/types.h:30, from ../src/util.h:30, from ../src/factor.h:29, from ../src/twopmodq96.c:23: ../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds! In file included from ../src/types.h:30, from ../src/util.h:30, from ../src/factor.h:29, from ../src/twopmodq.c:23: ../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds! In file included from ../src/types.h:30, from ../src/types.c:23: ../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds! In file included from ../src/types.h:30, from ../src/threadpool.h:69, from ../src/threadpool.c:65: ../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds! ../src/threadpool.c:265: warning: ‘force_align_arg_pointer’ attribute directive ignored ../src/threadpool.c: In function ‘worker_thr_routine’: ../src/threadpool.c:312: error: ‘__NR_gettid’ undeclared (first use in this function) ../src/threadpool.c:312: error: (Each undeclared identifier is reported only once ../src/threadpool.c:312: error: for each function it appears in.) make[1]: *** [NORMAL_O-THREADS_O.stamp] Error 1 make[1]: Leaving directory `/home/linux1/mlucas/mlucas-14.1/build' make: *** [all] Error 2[/CODE] |
[CODE]configure: WARNING: unrecognized options: --disable-silent-rule[/CODE]Oh I forget a "s". :rolleyes:
[CODE]../src/platform.h:1072:4: error: #error Multithreading currently only supported for Linux/GCC builds![/CODE]Judging from this line, maybe we should try to build without multithread. Maybe we can try ./configure --enable-verbose-compiler --disable-threads and see what happens. By the way, --help should show all options of configure. (only the Custom Options part is useful) |
[QUOTE=alexvong1995;425358]Maybe we can try ./configure --enable-verbose-compiler --disable-threads and see what happens.[/QUOTE]
This is the last help I'm going to provide on this matter. Create your own account to debug further on the IBM 390 mainframe.... [CODE][linux1@i4l-2 build]$ ../configure --enable-verbose-compiler --disable-threads checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for library containing ceil, log, pow, sqrt, sincos, floor, lrint, atan... -lm checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fenv.h usability... yes checking fenv.h presence... yes checking for fenv.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for uint64_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for clock_gettime... no checking for gethrtime... no checking for gettimeofday... yes checking for memset... yes checking for pow... yes checking for sqrt... yes checking for strerror... yes checking for strstr... yes checking for strtoul... yes checking whether _LARGEFILE_SOURCE is declared... no checking build system type... s390x-ibm-linux-gnu checking host system type... s390x-ibm-linux-gnu checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands [linux1@i4l-2 build]$ make make all-am make[1]: Entering directory `/home/linux1/mlucas/mlucas-14.1/build' CC $NORMAL_O ../src/get_fft_radices.c: In function ‘get_fft_radices’: ../src/get_fft_radices.c:1446: error: duplicate case value ../src/get_fft_radices.c:1443: error: previously used here ../src/Mlucas.c: In function ‘ernstMain’: ../src/Mlucas.c:1170: warning: cast from pointer to integer of different size In file included from ../src/radix1024_ditN_cy_dif1.c:1324: ../src/radix1024_main_carry_loop.h: In function ‘radix1024_ditN_cy_dif1’: ../src/radix1024_main_carry_loop.h:137: warning: assignment discards qualifiers from pointer target type In file included from ../src/radix1024_ditN_cy_dif1.c:1324: ../src/radix1024_main_carry_loop.h:529: warning: assignment discards qualifiers from pointer target type In file included from ../src/radix128_ditN_cy_dif1.c:1443: ../src/radix128_main_carry_loop.h: In function ‘radix128_ditN_cy_dif1’: ../src/radix128_main_carry_loop.h:325: warning: assignment discards qualifiers from pointer target type ../src/radix128_main_carry_loop.h:868: warning: assignment discards qualifiers from pointer target type In file included from ../src/radix144_ditN_cy_dif1.c:1044: ../src/radix144_main_carry_loop.h: In function ‘radix144_ditN_cy_dif1’: ../src/radix144_main_carry_loop.h:194: warning: assignment discards qualifiers from pointer target type ../src/radix144_main_carry_loop.h:503: warning: assignment discards qualifiers from pointer target type ../src/radix144_ditN_cy_dif1.c: In function ‘radix144_dif_pass1’: ../src/radix144_ditN_cy_dif1.c:1348: warning: assignment discards qualifiers from pointer target type ../src/radix144_ditN_cy_dif1.c: In function ‘radix144_dit_pass1’: ../src/radix144_ditN_cy_dif1.c:1609: warning: assignment discards qualifiers from pointer target type In file included from ../src/radix208_ditN_cy_dif1.c:1049: ../src/radix208_main_carry_loop.h: In function ‘radix208_ditN_cy_dif1’: ../src/radix208_main_carry_loop.h:144: warning: assignment discards qualifiers from pointer target type ../src/radix208_main_carry_loop.h:401: warning: assignment discards qualifiers from pointer target type ../src/radix208_ditN_cy_dif1.c: In function ‘radix208_dif_pass1’: ../src/radix208_ditN_cy_dif1.c:1322: warning: assignment discards qualifiers from pointer target type ../src/radix208_ditN_cy_dif1.c: In function ‘radix208_dit_pass1’: ../src/radix208_ditN_cy_dif1.c:1600: warning: assignment discards qualifiers from pointer target type In file included from ../src/radix256_ditN_cy_dif1.c:1675: ../src/radix256_main_carry_loop.h: In function ‘radix256_ditN_cy_dif1’: ../src/radix256_main_carry_loop.h:307: warning: assignment discards qualifiers from pointer target type ../src/radix256_main_carry_loop.h:876: warning: assignment discards qualifiers from pointer target type ../src/radix512_ditN_cy_dif1.c: In function ‘radix512_dif_pass1’: ../src/radix512_ditN_cy_dif1.c:322: warning: assignment discards qualifiers from pointer target type ../src/radix512_ditN_cy_dif1.c: In function ‘radix512_dit_pass1’: ../src/radix512_ditN_cy_dif1.c:491: warning: assignment discards qualifiers from pointer target type In file included from ../src/radix64_ditN_cy_dif1.c:1306: ../src/radix64_main_carry_loop.h: In function ‘radix64_ditN_cy_dif1’: ../src/radix64_main_carry_loop.h:218: warning: assignment discards qualifiers from pointer target type ../src/radix64_main_carry_loop.h:735: warning: assignment discards qualifiers from pointer target type ../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE’: ../src/twopmodq80.c:342: warning: right shift count >= width of type ../src/twopmodq80.c:342: warning: left shift count is negative ../src/twopmodq80.c:342: warning: right shift count >= width of type ../src/twopmodq80.c:342: warning: left shift count is negative ../src/twopmodq80.c:342: warning: right shift count >= width of type ../src/twopmodq80.c:342: warning: right shift count is negative ../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q2’: ../src/twopmodq80.c:811: warning: right shift count >= width of type ../src/twopmodq80.c:811: warning: left shift count is negative ../src/twopmodq80.c:811: warning: right shift count >= width of type ../src/twopmodq80.c:811: warning: left shift count is negative ../src/twopmodq80.c:811: warning: right shift count >= width of type ../src/twopmodq80.c:811: warning: right shift count is negative ../src/twopmodq80.c:812: warning: right shift count >= width of type ../src/twopmodq80.c:812: warning: left shift count is negative ../src/twopmodq80.c:812: warning: right shift count >= width of type ../src/twopmodq80.c:812: warning: left shift count is negative ../src/twopmodq80.c:812: warning: right shift count >= width of type ../src/twopmodq80.c:812: warning: right shift count is negative ../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q4’: ../src/twopmodq80.c:2210: warning: right shift count >= width of type ../src/twopmodq80.c:2210: warning: left shift count is negative ../src/twopmodq80.c:2210: warning: right shift count >= width of type ../src/twopmodq80.c:2210: warning: left shift count is negative ../src/twopmodq80.c:2210: warning: right shift count >= width of type ../src/twopmodq80.c:2210: warning: right shift count is negative ../src/twopmodq80.c:2211: warning: right shift count >= width of type ../src/twopmodq80.c:2211: warning: left shift count is negative ../src/twopmodq80.c:2211: warning: right shift count >= width of type ../src/twopmodq80.c:2211: warning: left shift count is negative ../src/twopmodq80.c:2211: warning: right shift count >= width of type ../src/twopmodq80.c:2211: warning: right shift count is negative ../src/twopmodq80.c:2212: warning: right shift count >= width of type ../src/twopmodq80.c:2212: warning: left shift count is negative ../src/twopmodq80.c:2212: warning: right shift count >= width of type ../src/twopmodq80.c:2212: warning: left shift count is negative ../src/twopmodq80.c:2212: warning: right shift count >= width of type ../src/twopmodq80.c:2212: warning: right shift count is negative ../src/twopmodq80.c:2213: warning: right shift count >= width of type ../src/twopmodq80.c:2213: warning: left shift count is negative ../src/twopmodq80.c:2213: warning: right shift count >= width of type ../src/twopmodq80.c:2213: warning: left shift count is negative ../src/twopmodq80.c:2213: warning: right shift count >= width of type ../src/twopmodq80.c:2213: warning: right shift count is negative ../src/twopmodq80.c: In function ‘twopmodq78_3WORD_DOUBLE_q4_REF’: ../src/twopmodq80.c:2954: warning: right shift count >= width of type ../src/twopmodq80.c:2954: warning: left shift count is negative ../src/twopmodq80.c:2954: warning: right shift count >= width of type ../src/twopmodq80.c:2954: warning: left shift count is negative ../src/twopmodq80.c:2954: warning: right shift count >= width of type ../src/twopmodq80.c:2954: warning: right shift count is negative ../src/twopmodq80.c:2955: warning: right shift count >= width of type ../src/twopmodq80.c:2955: warning: left shift count is negative ../src/twopmodq80.c:2955: warning: right shift count >= width of type ../src/twopmodq80.c:2955: warning: left shift count is negative ../src/twopmodq80.c:2955: warning: right shift count >= width of type ../src/twopmodq80.c:2955: warning: right shift count is negative ../src/twopmodq80.c:2956: warning: right shift count >= width of type ../src/twopmodq80.c:2956: warning: left shift count is negative ../src/twopmodq80.c:2956: warning: right shift count >= width of type ../src/twopmodq80.c:2956: warning: left shift count is negative ../src/twopmodq80.c:2956: warning: right shift count >= width of type ../src/twopmodq80.c:2956: warning: right shift count is negative ../src/twopmodq80.c:2957: warning: right shift count >= width of type ../src/twopmodq80.c:2957: warning: left shift count is negative ../src/twopmodq80.c:2957: warning: right shift count >= width of type ../src/twopmodq80.c:2957: warning: left shift count is negative ../src/twopmodq80.c:2957: warning: right shift count >= width of type ../src/twopmodq80.c:2957: warning: right shift count is negative make[1]: *** [NORMAL_O.stamp] Error 1 make[1]: Leaving directory `/home/linux1/mlucas/mlucas-14.1/build' make: *** [all] Error 2[/CODE] |
I can help to build )) But i'm not familiar with C/C++ :blush:
|
[QUOTE=Lorenzo;425371]I can help to build )) But i'm not familiar with C/C++ :blush:[/QUOTE]
We are still awaiting Ernst to speak. Usually he is rather loud. His silence is notable. Edit: Casts got your tongue? |
There are two distinct issues here - [1] the basic code-build and [2] the automated Linux/x86-oriented build scripts - which should be tackled in turn. I'll let Alex focus on [2] since he developed the scripts.
As to [1], the OP mentions having 'tried' the pre-build-script-wrapped 14.1 release - what precisely was tried? The manual build instructions on the README page? Note that due to the non-x86 CPUs here we are stuck with the non-SIMD basic scalar-double C build. But it's still always useful to work through build and code issues on non-primary-target platforms, to make/keep the code as portable as reasonably possible. So to the OP (or anyone else with access to this platform - I will look into a guest account over the weekend), try the most-basic manual build first: straight C, unthreaded - i.e. no USE_ flags of any kind in the compile command. As for the threading-related preprocessor #error, if this platform supports pthreads it should be a simple matter of tweaking the platform.h header to look in the right place for the pthreads-related header files. Looking at the #error line Alex quoted in my platform.h file, it's clear the [i] #include <pthread.h> [/i] is not finding the pthread.h file. Is there one in the /include tree on this platform? |
[QUOTE=ewmayer;425381]As to [1], the OP mentions having 'tried' the pre-build-script-wrapped 14.1 release - what precisely was tried?[/QUOTE]
What part of "../configure; make" isn't clear? |
[QUOTE=chalsall;425386]What part of "../configure; make" isn't clear?[/QUOTE]
The part about the Mlucas_12.11.2014.tgz release not supporting that kind of auto-build, possibly. |
[QUOTE=ewmayer;425387]The part about the Mlucas_12.11.2014.tgz release not supporting that kind of auto-build, possibly.[/QUOTE]
You missed this: [CODE]linux1@i4l-2 build]$ pwd /home/linux1/mlucas/mlucas-14.1/build[/CODE] |
[QUOTE=chalsall;425388]You missed this:
[CODE]linux1@i4l-2 build]$ pwd /home/linux1/mlucas/mlucas-14.1/build[/CODE][/QUOTE] I was referring to the 'and' part of the OP's second sentence: [i]Tried compile MLucas (mlucas-14.1.tar.gz and Mlucas_12.11.2014.tgz)[/i] |
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 : ^ [/CODE]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)[/CODE]so add -DOS_BITS=64 to the compiler line. After polishing these two little blemishes, runs like a clock. |
| All times are UTC. The time now is 05:04. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.