Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile application error #352

Open
chensisi0730 opened this issue Apr 30, 2024 · 0 comments
Open

Compile application error #352

chensisi0730 opened this issue Apr 30, 2024 · 0 comments

Comments

@chensisi0730
Copy link

chensisi0730 commented Apr 30, 2024

/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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant