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

error when running ./build.sh #50

Closed
freshcoderman opened this issue Oct 26, 2017 · 8 comments
Closed

error when running ./build.sh #50

freshcoderman opened this issue Oct 26, 2017 · 8 comments

Comments

@freshcoderman
Copy link

I am not sure if it's the problem of fbthrift, any suggestion will be appreciated
I have already change gnu++11 to gnu++14
The errors are :
[ 80%] Linking CXX executable storage_test
../libthpp.so: undefined reference to apache::thrift::protocol::TProtocolException::throwExceededSizeLimit()' ../libthpp.so: undefined reference to apache::thrift::protocol::TProtocolException::throwReportedTypeMismatch()'
../libthpp.so: undefined reference to apache::thrift::util::detail::throwInvalidVarint()' ../libthpp.so: undefined reference to apache::thrift::protocol::TProtocolException::throwMissingRequiredField(folly::Range<char const*>, folly::Range<char const*>)'
../libthpp.so: undefined reference to apache::thrift::CompactProtocolReader::throwBadType(unsigned char)' ../libthpp.so: undefined reference to apache::thrift::protocol::TProtocolException::throwNegativeSize()'
collect2: error: ld returned 1 exit status
test/CMakeFiles/storage_test.dir/build.make:104: recipe for target 'test/storage_test' failed
make[2]: *** [test/storage_test] Error 1
CMakeFiles/Makefile2:222: recipe for target 'test/CMakeFiles/storage_test.dir/all' failed
make[1]: *** [test/CMakeFiles/storage_test.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

@TaoTaoFu
Copy link

TaoTaoFu commented Nov 9, 2017

I meet the same error :( @freshcoderman
how do you solve the problem?

@freshcoderman
Copy link
Author

@TaoTaoFu I haven't solved that. As far as I can remember, I encountered this problem when I wanted to use CRNN. So instead, my colleague used another CRNN version based on mxnet. Anyway, I will still try to work on this problem. If you get any solution, share that. Thank you!

@fengyang0317
Copy link

I manually move all the missing functions from this repository to apache thrift and it compiles.

@ZYX-MLer
Copy link

@fengyang0317 i find libthriftprotocol.a in thrift‘s folder, does link this file can solve this problem? but i do not know how to link it, can you help me?
can you share your manually changed file? thank you

@jiuhuazhao
Copy link

@freshcoderman I also wan to use the CRNN, would you please share the other CRNN version?

@freshcoderman
Copy link
Author

@jiuhuazhao I modified the code wrote by novioleo in mxnet, here is the link https://github.com/novioleo/crnn.mxnet

@jiuhuazhao
Copy link

@freshcoderman Thanks a lot!

@gbolin
Copy link

gbolin commented Feb 27, 2018

#58
you can take a look at this one, it works for me

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

6 participants