"Try adding HyperCommon to the beginning *and* end of the TARGET_LINKED_LIBRARIES list. Sometimes the linker gets confused when trying to resolve symbols.
- Doug " The advice you supplied works well. Tks. 在 2013年9月26日星期四UTC+8下午11时30分25秒,Doug Judd写道: > > That symbol is defined in libHyperCommon: > > nm /opt/hypertable/current/lib/libHyperCommon.a | fgrep > "_ZN10Hypertable14FailureInducer8instanceE" > 0000000000000000 B _ZN10Hypertable14FailureInducer8instanceE > U _ZN10Hypertable14FailureInducer8instanceE > > > > On Thu, Sep 26, 2013 at 12:00 AM, <[email protected] <javascript:>>wrote: > >> [jack@hyt1 lib]$ nm -a libCdrImport.so >> the undefine symbol as >> U _ZN10Hypertable14FailureInducer8instanceE >> >> but when my application dynamic load libCdrImport.so running, errors as >> follows: >> >> undefined symbol: _**ZN10Hypertable14FailureInducer**8instanceE: Success >> >> why? >> >> 在 2013年9月26日星期四UTC+8下午2时49分22秒,[email protected]写道: >> >>> my CMakeLists.txt TARGET_LINK_LIBRARIES section as follows: >>> >>> TARGET_LINK_LIBRARIES(${**PROJECT_NAME} Hypertable HyperTools HyperComm >>> HyperCommon >>> Hyperspace HyperDfsBroker log4cpp sigar-amd64-linux expat ncurses >>> re2 tcmalloc db boost_thread boost_iostreams boost_program_options >>> boost_system boost_filesystem ) >>> >>> I want to know the library of Hyper* need order by dependency or not. >>> >>> because when I use the include files and libraries of hypertable v >>> 0.9.7.10 in my application. >>> my application running the error happend >>> >>> undefined symbol: _**ZN10Hypertable14FailureInducer**8instanceE: >>> Success >>> >>> any ideas with appreciated. tks! >>> >>> >>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Hypertable Development" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/hypertable-dev. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Doug Judd > CEO, Hypertable Inc. > -- You received this message because you are subscribed to the Google Groups "Hypertable Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/hypertable-dev. For more options, visit https://groups.google.com/groups/opt_out.
