Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Undefined reference during make related to Linking CXX executable storage_test #37

Open
kochie opened this issue Mar 23, 2017 · 2 comments

Comments

@kochie
Copy link

kochie commented Mar 23, 2017

So I've run into this error during compilation, not really sure where to begin - If anybody has any ideas that would be great. I'm running on Arch so I believe it might be a dependency problem.

[ 73%] Linking CXX executable storage_test ../libthpp.so: undefined reference to thpp::_ThriftTensorEndiannessEnumDataStorage::names'
../libthpp.so: undefined reference to thpp::_ThriftTensorDataTypeEnumDataStorage::values' ../libthpp.so: undefined reference to thpp::_ThriftTensorEndiannessEnumDataStorage::values'
/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/../../../../lib/libthriftcpp2.so: undefined reference to apache::thrift::transport::THeader::setHeader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)' ../libthpp.so: undefined reference to thpp::_ThriftTensorDataTypeEnumDataStorage::names'
collect2: error: ld returned 1 exit status
make[2]: *** [test/CMakeFiles/storage_test.dir/build.make:106: test/storage_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:223: test/CMakeFiles/storage_test.dir/all] Error 2
make: *** [Makefile:139: all] Error 2`

@stalagmite7
Copy link

Hi, I have the same error, have you figured a way out of yours?

@kochie
Copy link
Author

kochie commented Jun 30, 2017

Yeah if I remember correctly there was something wrong with the repo at this stage, reverting to a previous commit fixed it. I was running on Arch when this happened and I think I gave up to be honest. I'll have another go and see if anything changes.

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

No branches or pull requests

2 participants