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

Linking failure #1504

pmconrad opened this issue Dec 30, 2018 · 1 comment


2 participants
Copy link

commented Dec 30, 2018

Build Error Description

[ 82%] Linking CXX executable genesis_update
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: ../../libraries/chain/libgraphene_chain.a(db_management.cpp.o): in function `void fc::reflector<graphene::chain::chain_parameters>::visit<fc::to_variant_visitor<graphene::chain::chain_parameters> >(fc::to_variant_visitor<graphene::chain::chain_parameters> const&)':
/home/peter/rpmbuild/BUILD/graphene/libraries/fc/include/fc/variant.hpp:629: undefined reference to `fc::smart_ref<graphene::chain::fee_schedule>::operator*() const'
collect2: error: ld returned 1 exit status

Build Environment
Details about the build environment, including the relevant required libraries. Much of this information can be found in the CMakeFiles/CMakeOutput.log.

  • Host OS: Linux (openSUSE 15.0)
  • Host Physical RAM 8GB
  • Source Branch/Tag: current develop
  • OpenSSL Version: 1.1.0i
  • Boost Version: 1.65.1
  • C++ Compiler: gcc-7.3.1

Steps To Reproduce
Follow usual build instructions - git clone ..., git submodule update ..., cmake ..., `make

The problem may depend on the order in which files are added to libchain.a, which may depend on the underlying filesystem.


This comment has been minimized.

Copy link
Contributor Author

commented Dec 31, 2018

Resolved by #1505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.