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

Error while building Caffe - SSD tree #1027

Open
nr-patel opened this issue Dec 4, 2020 · 0 comments
Open

Error while building Caffe - SSD tree #1027

nr-patel opened this issue Dec 4, 2020 · 0 comments

Comments

@nr-patel
Copy link

nr-patel commented Dec 4, 2020

CXX/LD -o .build_release/tools/upgrade_net_proto_text.bin
.build_release/tools/finetune_net.o: In function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': finetune_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::generic_category()'
finetune_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xd1): undefined reference to boost::system::generic_category()' finetune_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x119): undefined reference to boost::system::generic_category()'
.build_release/tools/finetune_net.o: In function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': finetune_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3e): undefined reference to boost::system::generic_category()'
finetune_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0xe9): undefined reference to boost::system::generic_category()' .build_release/tools/finetune_net.o:finetune_net.cpp:(.text.startup+0x7b): more undefined references to boost::system::generic_category()' follow
.build_release/tools/finetune_net.o: In function _GLOBAL__sub_I_finetune_net.cpp': finetune_net.cpp:(.text.startup+0x89): undefined reference to boost::system::system_category()'
.build_release/tools/train_net.o: In function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': train_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::generic_category()'collect2: error: ld returned 1 exit status

train_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xd1): undefined reference to boost::system::generic_category()' train_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x119): undefined reference to boost::system::generic_category()'
.build_release/tools/train_net.o: In function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': train_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3e): undefined reference to boost::system::generic_category()'
train_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0xe9): undefined reference to boost::system::generic_category()' .build_release/tools/train_net.o:train_net.cpp:(.text.startup+0x7b): more undefined references to boost::system::generic_category()' follow
.build_release/tools/train_net.o: In function _GLOBAL__sub_I_train_net.cpp': train_net.cpp:(.text.startup+0x89): undefined reference to boost::system::system_category()'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/finetune_net.bin' failed
make: *** [.build_release/tools/finetune_net.bin] Error 1
make: *** Waiting for unfinished jobs....
Makefile:619: recipe for target '.build_release/tools/train_net.bin' failed
make: *** [.build_release/tools/train_net.bin] Error 1
.build_release/tools/test_net.o: In function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': test_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::generic_category()'
test_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xd1): undefined reference to boost::system::generic_category()' test_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x119): undefined reference to boost::system::generic_category()'
.build_release/tools/test_net.o: In function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': test_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3e): undefined reference to boost::system::generic_category()'
test_net.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0xe9): undefined reference to boost::system::generic_category()' .build_release/tools/test_net.o:test_net.cpp:(.text.startup+0x7b): more undefined references to boost::system::generic_category()' follow
.build_release/tools/test_net.o: In function _GLOBAL__sub_I_test_net.cpp': test_net.cpp:(.text.startup+0x89): undefined reference to boost::system::system_category()'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/test_net.bin' failed
make: *** [.build_release/tools/test_net.bin] Error 1
.build_release/tools/create_label_map.o: In function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const': create_label_map.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::generic_category()'
create_label_map.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xd1): undefined reference to boost::system::generic_category()' create_label_map.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x119): undefined reference to boost::system::generic_category()'
.build_release/tools/create_label_map.o: In function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const': create_label_map.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3e): undefined reference to boost::system::generic_category()'
create_label_map.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0xe9): undefined reference to boost::system::generic_category()' .build_release/tools/create_label_map.o:create_label_map.cpp:(.text.startup+0x9): more undefined references to boost::system::generic_category()' follow
.build_release/tools/create_label_map.o: In function _GLOBAL__sub_I_create_label_map.cpp': create_label_map.cpp:(.text.startup+0x13): undefined reference to boost::system::system_category()'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::verify_options(unsigned int, boost::regex_constants::_match_flags)' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > > > >, boost::regex_traits<char, boost::cpp_regex_traits > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > > const&, boost::regex_constants::_match_flags)'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::get_mem_block()' .build_release/lib/libcaffe.so: undefined reference to boost::detail::set_tss_data(void const*, boost::shared_ptrboost::detail::tss_cleanup_function, void*, bool)'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::put_mem_block(void*)' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::cpp_regex_traits_implementation::transform_primary[abi:cxx11](char const*, char const*) const'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::get_default_error_string(boost::regex_constants::error_type)' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::cpp_regex_traits_implementation::transform[abi:cxx11](char const*, char const*) const'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::raise_runtime_error(std::runtime_error const&)' collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/create_label_map.bin' failed make: *** [.build_release/tools/create_label_map.bin] Error 1 .build_release/tools/upgrade_net_proto_text.o: In function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const':
upgrade_net_proto_text.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::generic_category()' upgrade_net_proto_text.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xd1): undefined reference to boost::system::generic_category()'
upgrade_net_proto_text.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x119): undefined reference to boost::system::generic_category()' .build_release/tools/upgrade_net_proto_text.o: In function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const':
upgrade_net_proto_text.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3e): undefined reference to boost::system::generic_category()' upgrade_net_proto_text.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0xe9): undefined reference to boost::system::generic_category()'
.build_release/tools/upgrade_net_proto_text.o:upgrade_net_proto_text.cpp:(.text.startup+0x2b): more undefined references to boost.:build_release:/systemtools:/:convert_imageset.ogeneric_category:( )In' functionfollow .boostbuild_release:/:toolssystem/:upgrade_net_proto_text.o::error_category :In: std_categoryfunction: :equivalent_GLOBAL__sub_I_upgrade_net_proto_text.cpp('std:: :upgrade_net_proto_text.cpperror_code: (const.&text.startup,+ 0x39int)): constundefined' :reference convert_imageset.cppto: (.boosttext._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei:[:_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codeisystem]:+:0x44system_category)(:) 'undefined
.referencebuild_release /tolib /libcaffe.soboost:: :undefinedsystem :reference: generic_categoryto( )'boost
:convert_imageset.cpp::re_detail_106501(:.:text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codeiverify_options[(_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codeiunsigned] +int0xd1,) :boost :undefined: regex_constantsreference: :to_match_flags )'boost :.:build_releasesystem/:lib:/generic_categorylibcaffe.so(:) 'undefined convert_imageset.cppreference: (to. text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[boost_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei:]:+re_detail_1065010x119:)::perl_matcher <undefined__gnu_cxx :reference: __normal_iteratorto< char boostconst:*:,system :std::generic_category:(__cxx11):': basic_string.<build_releasechar/,tools /stdconvert_imageset.o::: char_traitsIn< charfunction> , booststd::::systemallocator:<:charerror_category>: :>std_category :>:,equivalent (stdint:,: allocatorstd<:boost::error_condition: sub_matchconst<&__gnu_cxx): :const__normal_iterator'<:char
convert_imageset.cppconst:*(,. text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_conditionstd[:_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition:]__cxx11+:0x3e:)basic_string:< charundefined, referencestd :to: char_traits`boostchar::,system :std::generic_category:(allocator)<'char

convert_imageset.cpp :>( .>text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition [>_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition ]>+,0xe9 )boost:: :undefinedregex_traits <referencechar ,to boost:boost::cpp_regex_traits:<systemchar:>: generic_category>( )>': :.construct_initbuild_release(/boosttools:/:convert_imageset.obasic_regex:<convert_imageset.cppchar:,( .boosttext.startup:+:0x3bregex_traits)<:char ,more boostundefined: :referencescpp_regex_traits <tochar > boost>: :>system :const:&generic_category,( )boost': :followregex_constants
:.:build_release_match_flags/)tools'/
convert_imageset.o.:build_release /Inlib /functionlibcaffe.so : _GLOBAL__sub_I_convert_imageset.cppundefined' :reference convert_imageset.cppto: (.boosttext.startup:+:0x45re_detail_106501)::: get_mem_blockundefined( )reference'
to. build_release/boostlib:/:libcaffe.sosystem:: :undefinedsystem_category (reference) 'to .build_releaseboost/:lib:/detaillibcaffe.so::: set_tss_dataundefined( voidreference constto* ,` boostboost::::re_detail_106501shared_ptr:<:boostverify_options:(:unsigneddetail :int:,tss_cleanup_function >boost,: :voidregex_constants*:,: _match_flagsbool))''

..build_releasebuild_release//liblib//libcaffe.solibcaffe.so:: undefinedundefined referencereference toto ``boostboost::::re_detail_106501re_detail_106501::::perl_matcherput_mem_block<(__gnu_cxxvoid:*:)__normal_iterator'<
char. build_releaseconst/*lib,/ libcaffe.sostd:: :undefined__cxx11 :reference: basic_stringto< char,boost :std::re_detail_106501::char_traits:<cpp_regex_traits_implementationchar<>char,> :std::transform_primary:[allocatorabi<:cxx11char]>( char> const>*,, stdchar: :constallocator*<)boost :const:'sub_match <.__gnu_cxxbuild_release:/:lib__normal_iterator/<libcaffe.sochar: constundefined* ,reference stdto: :__cxx11boost::::basic_stringre_detail_106501<char, std::char_traits:<:charget_default_error_string>(,boost :std::regex_constants::allocator:<error_typechar)>'

. build_release>/ lib>/ libcaffe.so>:, undefinedboost :reference: regex_traitsto< char,boost :boost::re_detail_106501::cpp_regex_traits:<cpp_regex_traits_implementationchar<>char >>: :>transform:[:abiconstruct_init:(cxx11boost]:(:charbasic_regex <constchar*,, boostchar: :constregex_traits*<)char ,const 'boost :.:build_releasecpp_regex_traits/<libchar/>libcaffe.so :> undefined> referenceconst &to, boostboost::::regex_constantsre_detail_106501::::_match_flagsraise_runtime_error)('std
:.:build_releaseruntime_error/ libconst/&libcaffe.so):'
undefined reference to boost::re_detail_106501::get_mem_block()' .build_release/lib/libcaffe.so: undefined reference to boost::detail::set_tss_data(void const*, collect2: error: ld returned 1 exit status
boost::shared_ptrboost::detail::tss_cleanup_function, void*, bool)'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::put_mem_block(void*)' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::cpp_regex_traits_implementation::transform_primary[abi:cxx11](char const*, char const*) const'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::get_default_error_string(boost::regex_constants::error_type)' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::cpp_regex_traits_implementation::transform[abi:cxx11](char const*, char const*) const'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::raise_runtime_error(std::runtime_error const&)' collect2: error: ld returned 1 exit status Makefile:619: recipe for target '.build_release/tools/upgrade_net_proto_text.bin' failed make: *** [.build_release/tools/upgrade_net_proto_text.bin] Error 1 Makefile:619: recipe for target '.build_release/tools/convert_imageset.bin' failed make: *** [.build_release/tools/convert_imageset.bin] Error 1 .build_release/tools/compute_image_mean.o: In function _GLOBAL__sub_I_compute_image_mean.cpp':
compute_image_mean.cpp:(.text.startup+0xef): undefined reference to boost::system::generic_category()' compute_image_mean.cpp:(.text.startup+0xf4): undefined reference to boost::system::generic_category()'
compute_image_mean.cpp:(.text.startup+0xf9): undefined reference to boost::system::system_category()' .build_release/tools/compute_image_mean.o: In function boost::system::error_category::std_category::equivalent(std::error_code const&, int) const':
compute_image_mean.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x44): undefined reference to boost::system::generic_category()' compute_image_mean.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0xd1): undefined reference to boost::system::generic_category()'
compute_image_mean.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei[_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei]+0x119): undefined reference to boost::system::generic_category()' .build_release/tools/compute_image_mean.o: In function boost::system::error_category::std_category::equivalent(int, std::error_condition const&) const':
compute_image_mean.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0x3e): undefined reference to boost::system::generic_category()' compute_image_mean.cpp:(.text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition[_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_condition]+0xe9): undefined reference to boost::system::generic_category()'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::verify_options(unsigned int, boost::regex_constants::_match_flags)' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits., build_releasestd/:tools:/allocatorupgrade_solver_proto_text.o<:char >In >function > boost>: :>system,: :boosterror_category::::regex_traitsstd_category<:char:,equivalent (booststd::::cpp_regex_traitserror_code< charconst>& ,> int>): :constconstruct_init'(:boost :upgrade_solver_proto_text.cpp::basic_regex(<char.,text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei [boost_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei:]:+regex_traits0x44<)char:, undefinedboost: :referencecpp_regex_traits <tochar > boost>: >: systemconst:&:,generic_category (boost):':
regex_constantsupgrade_solver_proto_text.cpp:::(_match_flags.)text._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei'[
_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei.]build_release+/0xd1lib)/:libcaffe.so :undefined undefinedreference reference toto ``boostboost::::systemre_detail_106501::::generic_categoryget_mem_block(())''

upgrade_solver_proto_text.cpp.:build_release(/.libtext._ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei/[libcaffe.so_ZNK5boost6system14error_category12std_category10equivalentERKSt10error_codei:] +undefined0x119 )reference: toundefined referenceboost :to:detail ::boostset_tss_data:(:voidsystem :const:,generic_category (boost):':
shared_ptr.<build_releaseboost/:tools:/detailupgrade_solver_proto_text.o::: tss_cleanup_functionIn> ,function void*boost, :bool:)system': :.error_categorybuild_release/:lib:/std_categorylibcaffe.so::: equivalentundefined( intreference, tostd ::boosterror_condition: :constre_detail_106501&:): put_mem_blockconst('void:

)upgrade_solver_proto_text.cpp':
(.build_release./text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_conditionlib[/_ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_conditionlibcaffe.so]:+ 0x3eundefined) :reference undefinedto reference boostto: :re_detail_106501boost::::cpp_regex_traits_implementationsystem<:char:>generic_category:(:)transform_primary'[
abiupgrade_solver_proto_text.cpp::cxx11(].(text._ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_conditionchar[ _ZNK5boost6system14error_category12std_category10equivalentEiRKSt15error_conditionconst]+,0xe9 )char: constundefined )reference constto'
.boostbuild_release:/:libsystem/:libcaffe.so::generic_category (undefined) 'reference .tobuild_release /toolsboost/:upgrade_solver_proto_text.o::re_detail_106501upgrade_solver_proto_text.cpp:::get_default_error_string((.boosttext.startup:+:0x2bregex_constants)::: error_typemore) 'undefined
.referencesbuild_release /tolib /libcaffe.soboost: :undefined: systemreference: :togeneric_category ()boost': :followre_detail_106501
:.:build_releasecpp_regex_traits_implementation/upgrade_solver_proto_text.o::: transformIn[ abifunction: cxx11]_GLOBAL__sub_I_upgrade_solver_proto_text.cpp('char: constupgrade_solver_proto_text.cpp*:,( .chartext.startup +const0x39*)): constundefined' reference. build_releaseto/ lib/boostlibcaffe.so::: systemundefined: :referencesystem_category (to) ' boost.:build_release:/re_detail_106501:lib:/raise_runtime_errorlibcaffe.so(:std :undefined: runtime_errorreference constto& )'boost
::re_detail_106501::verify_options(unsigned int, boost::regex_constants::_match_flags)'
.build_release/libcollect2: error: ld returned 1 exit status
/libcaffe.so: undefined reference to boost::re_detail_106501::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char,Makefile:619: recipe for target '.build_release/tools/compute_image_mean.bin' failed boostmake: *** [.build_release/tools/compute_image_mean.bin] Error 1 ::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::get_mem_block()'
.build_release/lib/libcaffe.so: undefined reference to boost::detail::set_tss_data(void const*, boost::shared_ptr<boost::detail::tss_cleanup_function>, void*, bool)' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::put_mem_block(void*)'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::get_default_error_string(boost::regex_constants::error_type)'
.build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const' .build_release/lib/libcaffe.so: undefined reference to boost::re_detail_106501::raise_runtime_error(std::runtime_error const&)'
collect2: error: ld returned 1 exit status
Makefile:619: recipe for target '.build_release/tools/upgrade_solver_proto_text.bin' failed
make: *** [.build_release/tools/upgrade_solver_proto_text.bin] Error 1

Your system configuration

Operating system:Ubuntu 18.04
Compiler: gcc version 6.5.0
CUDA version (if applicable): 10.0
Python or MATLAB version (for pycaffe and matcaffe respectively): Python 3.6

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