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 Error #302

Open
BIITB opened this issue Jan 6, 2019 · 0 comments
Open

Build Error #302

BIITB opened this issue Jan 6, 2019 · 0 comments

Comments

@BIITB
Copy link

BIITB commented Jan 6, 2019

[ 62%] Linking CXX executable connectivity_tool /usr/bin/ld: StreamTools.cpp.o: plugin needed to handle lto object /tmp/cc0DBISs.ltrans1.ltrans.o: In function std::_Function_handler<void (), handle_request_stat(boost::program_options::variables_map&, unsigned long)::{lambda()#4}>::_M_invoke(std::_Any_data const&) [clone .lto_priv.442]':
:(.text+0xcd3): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)' <artificial>:(.text+0xd06): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)'
:(.text+0xe5b): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)' <artificial>:(.text+0xe9e): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)'
/tmp/cc0DBISs.ltrans1.ltrans.o: In function std::_Function_handler<void (), handle_request_stat(boost::program_options::variables_map&, unsigned long)::{lambda()#3}>::_M_invoke(std::_Any_data const&) [clone .lto_priv.444]': <artificial>:(.text+0x1200): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)'
/tmp/cc0DBISs.ltrans1.ltrans.o::(.text+0x122d): more undefined references to Common::write(Common::IOutputStream&, void const*, unsigned long)' follow /tmp/cc0DBISs.ltrans16.ltrans.o: In function (anonymous namespace)::loadSection(Common::IInputStream&) [clone .lto_priv.379]':
:(.text+0x41e): undefined reference to Common::read(Common::IInputStream&, unsigned char&)' <artificial>:(.text+0x459): undefined reference to Common::read(Common::IInputStream&, unsigned char&)'
:(.text+0x4be): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)' <artificial>:(.text+0x51a): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)'
:(.text+0x545): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)' <artificial>:(.text+0x580): undefined reference to Common::read(Common::IInputStream&, unsigned char&)'
:(.text+0x5b9): undefined reference to Common::read(Common::IInputStream&, unsigned char&)' /tmp/cc0DBISs.ltrans16.ltrans.o: In function (anonymous namespace)::loadValue(Common::IInputStream&, unsigned char)':
:(.text+0x967): undefined reference to Common::read(Common::IInputStream&, unsigned char&)' <artificial>:(.text+0x9d4): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)'
:(.text+0xa14): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)' <artificial>:(.text+0xa44): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)'
:(.text+0xa84): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)' <artificial>:(.text+0xab4): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)'
/tmp/cc0DBISs.ltrans16.ltrans.o::(.text+0xad4): more undefined references to Common::read(Common::IInputStream&, void*, unsigned long)' follow /tmp/cc0DBISs.ltrans16.ltrans.o: In function (anonymous namespace)::loadValue(Common::IInputStream&, unsigned char)':
:(.text+0xbac): undefined reference to Common::read(Common::IInputStream&, unsigned char&)' <artificial>:(.text+0xbe7): undefined reference to Common::read(Common::IInputStream&, unsigned char&)'
:(.text+0xc89): undefined reference to Common::read(Common::IInputStream&, unsigned char&)' <artificial>:(.text+0xd19): undefined reference to Common::read(Common::IInputStream&, unsigned char&)'
:(.text+0xd4c): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)' /tmp/cc0DBISs.ltrans20.ltrans.o: In function (anonymous namespace)::writeElementName(Common::IOutputStream&, Common::StringView) [clone .constprop.205]':
:(.text+0xa7): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)' <artificial>:(.text+0xb7): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)'
/tmp/cc0DBISs.ltrans20.ltrans.o: In function Crypto::serialize(Crypto::Signature&, Common::StringView, CryptoNote::ISerializer&) [clone .constprop.191]': <artificial>:(.text+0x12b9): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)'
:(.text+0x12c9): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)' /tmp/cc0DBISs.ltrans22.ltrans.o: In function CryptoNote::KVBinaryInputStreamSerializer::KVBinaryInputStreamSerializer(Common::IInputStream&)':
:(.text+0x17f8): undefined reference to Common::read(Common::IInputStream&, void*, unsigned long)' /tmp/cc0DBISs.ltrans23.ltrans.o: In function (anonymous namespace)::writeArraySize(Common::IOutputStream&, unsigned long) [clone .lto_priv.217]':
:(.text+0xc1): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)' <artificial>:(.text+0xf7): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)'
:(.text+0x123): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)' <artificial>:(.text+0x156): undefined reference to Common::write(Common::IOutputStream&, void const*, unsigned long)'
collect2: error: ld returned 1 exit status
src/CMakeFiles/ConnectivityTool.dir/build.make:113: ошибка выполнения рецепта для цели «src/connectivity_tool»
make[3]: *** [src/connectivity_tool] Ошибка 1
make[3]: выход из каталога «/home/leo/crub/build/release»
CMakeFiles/Makefile2:955: ошибка выполнения рецепта для цели «src/CMakeFiles/ConnectivityTool.dir/all»
make[2]: *** [src/CMakeFiles/ConnectivityTool.dir/all] Ошибка 2
make[2]: выход из каталога «/home/leo/crub/build/release»
Makefile:94: ошибка выполнения рецепта для цели «all»
make[1]: *** [all] Ошибка 2
make[1]: выход из каталога «/home/leo/crub/build/release»
Makefile:20: ошибка выполнения рецепта для цели «build-release»
make: *** [build-release] Ошибка 2
`

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

1 participant