autoconf test for dgemm_ in libblas fails
Asked by
Nicolas Bock
Using the following configure.ac:
AC_INIT(
AC_SEARCH_
AC_OUTPUT
./configure LDFLAGS=-lblas
fails with this error (from config.log):
configure:2579: gcc -o conftest -g -O2 -lblas conftest.c >&5
/tmp/ccXCG4m3.o: In function `main':
/tmp/autoconf/
collect2: ld returned 1 exit status
configure:2579: $? = 1
When I run
gcc -o conftest -g -O2 conftest.c -lblas
directly instead, I do not get a linker error. There appears to be a positional dependence of the source in relation to -lblas.
This test works fine on a gentoo system with identical compiler versions. Please let me know if and what additional information you need.
Thanks
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Nicolas Bock
- Solved:
- Last query:
- Last reply:
To post a message you must log in.