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

shogun compilation errror : Linking CXX executable transfer_multitaskleastsquaresregression #3634

Closed
ahmedmazari opened this issue Feb 17, 2017 · 2 comments

Comments

@ahmedmazari
Copy link

After fixing th problem with nlopt l got another error of compilation which is a bit strange , l can't figure it out

Scanning dependencies of target transfer_multitaskleastsquaresregression
[ 68%] Building CXX object examples/undocumented/libshogun/CMakeFiles/transfer_multitaskleastsquaresregression.dir/transfer_multitaskleastsquaresregression.cpp.o
[ 68%] Linking CXX executable transfer_multitaskleastsquaresregression
../../../src/shogun/libshogun.so.17.2: undefined reference to `clapack_dgetrf'
../../../src/shogun/libshogun.so.17.2: undefined reference to `GOMP_parallel@GOMP_4.0'
../../../src/shogun/libshogun.so.17.2: undefined reference to `clapack_dgetri'
../../../src/shogun/libshogun.so.17.2: undefined reference to `clapack_dpotrf'
collect2: error: ld returned 1 exit status
examples/undocumented/libshogun/CMakeFiles/transfer_multitaskleastsquaresregression.dir/build.make:106: recipe for target 'examples/undocumented/libshogun/transfer_multitaskleastsquaresregression' failed
make[2]: *** [examples/undocumented/libshogun/transfer_multitaskleastsquaresregression] Error 1
CMakeFiles/Makefile2:668: recipe for target 'examples/undocumented/libshogun/CMakeFiles/transfer_multitaskleastsquaresregression.dir/all' failed
make[1]: *** [examples/undocumented/libshogun/CMakeFiles/transfer_multitaskleastsquaresregression.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

@ahmedmazari
Copy link
Author

l don't understand these lines :

../../../src/shogun/libshogun.so.17.2: undefined reference to `clapack_dgetrf'
../../../src/shogun/libshogun.so.17.2: undefined reference to `GOMP_parallel@GOMP_4.0'
../../../src/shogun/libshogun.so.17.2: undefined reference to `clapack_dgetri'
../../../src/shogun/libshogun.so.17.2: undefined reference to `clapack_dpotrf'

@karlnapf
Copy link
Member

Can you please stop opening issues around you not being able to compile Shogun. Rather ask on the mailing list or on IRC. This is likely to be an issue with your local lapack installation. Check the Lapack setup and whether cmake detects things properly.

Also consider using a precompiled package ...

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

2 participants