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

Build fails with ColPack #40

Open
yurivict opened this issue Jul 19, 2021 · 2 comments
Open

Build fails with ColPack #40

yurivict opened this issue Jul 19, 2021 · 2 comments

Comments

@yurivict
Copy link

libtool: link: c++ -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -fstack-protector-strong -o .libs/fminmax fminmax.o  -L/usr/local/lib -lboost_system ../.libs/libadolc.so -lColPack -lm -Wl,-rpath -Wl,/usr/local/lib
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::RecoveryCore::RecoveryCore() [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::RecoveryCore::~RecoveryCore() [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::HessianRecovery::DirectRecover_CoordinateFormat_usermem(ColPack::GraphColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**) [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::HessianRecovery::DirectRecover_CoordinateFormat_unmanaged(ColPack::GraphColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**) [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::HessianRecovery::IndirectRecover_CoordinateFormat_usermem(ColPack::GraphColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**) [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::HessianRecovery::IndirectRecover_CoordinateFormat_unmanaged(ColPack::GraphColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**) [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_usermem(ColPack::BipartiteGraphPartialColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**) [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_usermem(ColPack::BipartiteGraphPartialColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**) [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_unmanaged(ColPack::BipartiteGraphPartialColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**) [--no-allow-shlib-undefined]
ld: error: ../.libs/libadolc.so: undefined reference to ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_unmanaged(ColPack::BipartiteGraphPartialColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**) [--no-allow-shlib-undefined]
c++: error: linker command failed with exit code 1 (use -v to see invocation)

Version: 2.7.2
Colpack: 1.0.10.249 (latest github hash)

@awalther1
Copy link
Contributor

thanks a lot for this hint, I will be on holiday for two weeks starting tomorrow, after that I will take care of this

@mupia123
Copy link

Hi, I met the same problem, have you fixed it yet?
/usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::RecoveryCore::~RecoveryCore()' /usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_unmanaged(ColPack::BipartiteGraphPartialColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**)'
/usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::RecoveryCore::RecoveryCore()' /usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::HessianRecovery::DirectRecover_CoordinateFormat_unmanaged(ColPack::GraphColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**)'
/usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::HessianRecovery::IndirectRecover_CoordinateFormat_unmanaged(ColPack::GraphColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**)' /usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::HessianRecovery::IndirectRecover_CoordinateFormat_usermem(ColPack::GraphColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**)'
/usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::JacobianRecovery1D::RecoverD2Cln_CoordinateFormat_usermem(ColPack::BipartiteGraphPartialColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**)' /usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::HessianRecovery::DirectRecover_CoordinateFormat_usermem(ColPack::GraphColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**)'
/usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_usermem(ColPack::BipartiteGraphPartialColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**)' /usr/bin/ld: ../.libs/libadolc.so: undefined reference to ColPack::JacobianRecovery1D::RecoverD2Row_CoordinateFormat_unmanaged(ColPack::BipartiteGraphPartialColoringInterface*, double**, unsigned int**, unsigned int**, unsigned int**, double**)'
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

3 participants