- removed comment
Correct Forge configuration
Issue #863
closed
When I build on Forge, I receive the error
In file included from timer.c:29: cycle.h: In function 'getticks': cycle.h:226: error: 'asm' undeclared (first use in this function) cycle.h:226: error: (Each undeclared identifier is reported only once cycle.h:226: error: for each function it appears in.) cycle.h:226: error: expected ';' before 'volatile' make[4]: *** [timer.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 CST error 1: -> Configuration script for thorn FFTW3 returned exit code 1 (no error message)
Using a pre-build FFTW3 library may be a solution.
Keyword:
Comments (3)
-
-
reporter - changed status to resolved
- removed comment
Corrected.
-
- changed status to closed
- edited description
- Log in to comment
I believe this can be fixed by using -std=gnu99 instead of -std=c99 in the option list. Plain C99 doesn't support asm blocks.