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

Errors in '# cmake ..' '# make cirkit' #92

Open
eat7 opened this issue Sep 4, 2020 · 0 comments
Open

Errors in '# cmake ..' '# make cirkit' #92

eat7 opened this issue Sep 4, 2020 · 0 comments

Comments

@eat7
Copy link

eat7 commented Sep 4, 2020

Environment:
system: CentOS Linux release 7.8.2003 (Core)
cmake version 3.18.2
clang version 7.0.1 (tags/RELEASE_701/final)
compiler: gcc (GCC) 7.3.1 20180303 (Red Hat 7.3.1-5)
@msoeken kindly help. Thank you.

When '# cmake ..'
Performing Test HAS_WNO_gnu-anonymous-struct - Failed
Performing Test HAS_WNO_nested-anon-types - Failed
Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed

When '# make cirkit', it reports errors about 'undefined references to ...'.
CMakeFiles/cirkit.dir/cirkit.cpp.o: In function void alice::write<std::shared_ptr<mockturtle::mapping_view<mockturtle::names_view<mockturtle::aig_network>, true, false> >, alice::io_verilog_tag_t>(std::shared_ptr<mockturtle::mapping_view<mockturtle::names_view<mockturtle::aig_network>, true, false> > const&, std::string const&, alice::command const&)': cirkit.cpp:(.text._ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11aig_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE[_ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11aig_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE]+0x42): undefined reference to std::vector<std::pair<std::string, unsigned int>, std::allocator<std::pair<std::string, unsigned int> > >::vector()'
cirkit.cpp:(.text._ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11aig_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE[_ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11aig_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE]+0x52): undefined reference to std::vector<std::pair<std::string, unsigned int>, std::allocator<std::pair<std::string, unsigned int> > >::vector()' CMakeFiles/cirkit.dir/cirkit.cpp.o: In function void alice::write<std::shared_ptr<mockturtle::mapping_view<mockturtle::names_viewmockturtle::mig_network, true, false> >, alice::io_verilog_tag_t>(std::shared_ptr<mockturtle::mapping_view<mockturtle::names_viewmockturtle::mig_network, true, false> > const&, std::string const&, alice::command const&)':
cirkit.cpp:(.text._ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11mig_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE[_ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11mig_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE]+0x42): undefined reference to std::vector<std::pair<std::string, unsigned int>, std::allocator<std::pair<std::string, unsigned int> > >::vector()' cirkit.cpp:(.text._ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11mig_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE[_ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11mig_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE]+0x52): undefined reference to std::vector<std::pair<std::string, unsigned int>, std::allocator<std::pair<std::string, unsigned int> > >::vector()'
CMakeFiles/cirkit.dir/cirkit.cpp.o: In function void alice::write<std::shared_ptr<mockturtle::mapping_view<mockturtle::names_view<mockturtle::xag_network>, true, false> >, alice::io_verilog_tag_t>(std::shared_ptr<mockturtle::mapping_view<mockturtle::names_view<mockturtle::xag_network>, true, false> > const&, std::string const&, alice::command const&)': cirkit.cpp:(.text._ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11xag_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE[_ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11xag_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE]+0x42): undefined reference to std::vector<std::pair<std::string, unsigned int>, std::allocator<std::pair<std::string, unsigned int> > >::vector()'
CMakeFiles/cirkit.dir/cirkit.cpp.o:cirkit.cpp:(.text._ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11xag_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE[_ZN5alice5writeISt10shared_ptrIN10mockturtle12mapping_viewINS2_10names_viewINS2_11xag_networkEEELb1ELb0EEEENS_16io_verilog_tag_tEEEvRKT_RKSsRKNS_7commandE]+0x52): more undefined references to `std::vector<std::pair<std::string, unsigned int>, std::allocator<std::pair<std::string, unsigned int> > >::vector()' follow
collect2: error: ld returned 1 exit status
make[3]: *** [cli/CMakeFiles/cirkit.dir/build.make:104: cli/cirkit] Error 1
make[2]: *** [CMakeFiles/Makefile2:257: cli/CMakeFiles/cirkit.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:264: cli/CMakeFiles/cirkit.dir/rule] Error 2
make: *** [Makefile:150: cirkit] Error 2

3DIC_intsim_pso_1301

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