FFTW / fftw3

DO NOT CHECK OUT THESE FILES FROM GITHUB UNLESS YOU KNOW WHAT YOU ARE DOING. (See below.)
GNU General Public License v2.0
2.75k stars 666 forks source link

Compile application error #352

Open chensisi0730 opened 7 months ago

chensisi0730 commented 7 months ago

/usr/local/riscv64/riscv64-unknown-linux-gnu/bin/riscv64-unknown-linux-gnu-cc -o main_test main_test.c -lfftw3 -lm -I../include/ -L./ /usr/local/riscv64/riscv64-unknown-linux-gnu/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.3.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .//libfftw3.a(assert.o): in function fftw_assertion_failed': assert.c:(.text+0x4): undefined reference to_impure_ptr' /usr/local/riscv64/riscv64-unknown-linux-gnu/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.3.0/../../../../riscv64-unknown-linux-gnu/bin/ld: assert.c:(.text+0x8): undefined reference to _impure_ptr' /usr/local/riscv64/riscv64-unknown-linux-gnu/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.3.0/../../../../riscv64-unknown-linux-gnu/bin/ld: assert.c:(.text+0x20): undefined reference to_impure_ptr' collect2: error: ld returned 1 exit status