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

Closed
pmconrad opened this issue Dec 30, 2018 · 1 comment
Closed

Linking failure #1504

pmconrad opened this issue Dec 30, 2018 · 1 comment
Assignees
Labels
3d Bug Classification indicating the existing implementation does not match the intention of the design 6 Build Impact flag identifying the build process

Comments

@pmconrad
Copy link
Contributor

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.

@pmconrad pmconrad added 2d Developing Status indicating currently designing and developing a solution 3d Bug Classification indicating the existing implementation does not match the intention of the design 6 Build Impact flag identifying the build process labels Dec 30, 2018
@pmconrad pmconrad self-assigned this Dec 30, 2018
@pmconrad pmconrad removed the 2d Developing Status indicating currently designing and developing a solution label Dec 31, 2018
@pmconrad
Copy link
Contributor Author

Resolved by #1505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3d Bug Classification indicating the existing implementation does not match the intention of the design 6 Build Impact flag identifying the build process
Projects
None yet
Development

No branches or pull requests

2 participants