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

make error #5

Open
YouShaoze opened this issue Jun 24, 2022 · 4 comments
Open

make error #5

YouShaoze opened this issue Jun 24, 2022 · 4 comments

Comments

@YouShaoze
Copy link

/home/ww/Depend/blas/BLAS-3.10.0/libfblas.a -L/usr/lib/gcc/x86_64-linux-gnu/7 -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/7/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/7/../../.. -lgfortran -lm -lquadmath 

./lib/libooqpdense.a(DeSymPSDSolver.o): In function DeSymPSDSolver::matrixChanged()': DeSymPSDSolver.C:(.text+0x4e): undefined reference to dpotrf_'
./lib/libooqpdense.a(DeSymPSDSolver.o): In function DeSymPSDSolver::solve(OoqpVector&)': DeSymPSDSolver.C:(.text+0xe2): undefined reference to dpotrs_'
collect2: error: ld returned 1 exit status
src/QpBound/MakefileTargets.inc:14: recipe for target 'qpbound-dense-gondzio.exe' failed
make: *** [qpbound-dense-gondzio.exe] Error 1

@Curry2Puff
Copy link

I get the same problems,
/usr/bin/ld: ./lib/libooqpdense.a(DeSymPSDSolver.o): in function DeSymPSDSolver::matrixChanged()': DeSymPSDSolver.C:(.text+0x57): undefined reference to dpotrf_'
/usr/bin/ld: ./lib/libooqpdense.a(DeSymPSDSolver.o): in function DeSymPSDSolver::solve(OoqpVector&)': DeSymPSDSolver.C:(.text+0xeb): undefined reference to dpotrs_'
collect2: error: ld returned 1 exit status
make: *** [src/QpBound/MakefileTargets.inc:14:qpbound-dense-gondzio.exe] 错误 1

How to solve it?

@linzhuyue
Copy link

It should install https://github.com/Reference-LAPACK/lapack first, and then, cp libblas.a and liblapack.a /usr/local/lib (if you wanna be convenient). Then make will be ok

@UyaSong
Copy link

UyaSong commented Jan 6, 2025

I have tried this, but still get the same problem above.

It should install https://github.com/Reference-LAPACK/lapack first, and then, cp libblas.a and liblapack.a /usr/local/lib (if you wanna be convenient). Then make will be ok

@Curry2Puff
Copy link

Curry2Puff commented Jan 6, 2025 via email

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

4 participants