OS X build failure latest git

1 view
Skip to first unread message

ed

unread,
Nov 6, 2009, 8:38:05 AM11/6/09
to Ledger
fresh git archive yesterday. I am building everything from source if
that matters. had it building and working unteil recently:

output of the build with make output

make[2]: Nothing to be done for `all'.
LD ledger
/usr/bin/g++-4.2 -fpch-deps -Wconversion -g -pipe -g -o ledger ledger-
main.o ledger-global.o /usr/lib/libiconv.dylib -Wl,-framework -
Wl,CoreFoundation -Wl,-bind_at_load -L/usr/local/lib -L/usr/lib -L/
usr/lib/python2.5/config ./.libs/libledger_report.a ./.libs/
libledger_data.a ./.libs/libledger_expr.a ./.libs/
libledger_math.a ./.libs/libledger_util.a ./.libs/libledger_python.a ./
intl/libintl.a -lboost_python -lpython2.5 -lboost_iostreams -
lboost_filesystem -lboost_system -lboost_date_time -lboost_regex -
ledit /usr/local/lib/libmpfr.dylib /usr/local/lib/libgmp.dylib
Undefined symbols:
"ledger::archive_t::should_save
(boost::shared_ptr<ledger::journal_t>)", referenced from:
ledger::session_t::read_data(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libledger_report.a(libledger_report_la-session.o)
"ledger::archive_t::should_load
(std::list<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits>,
std::allocator<boost::filesystem::basic_path<std::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
boost::filesystem::path_traits> > > const&)", referenced from:
ledger::session_t::read_data(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libledger_report.a(libledger_report_la-session.o)
"ledger::archive_t::save(boost::shared_ptr<ledger::journal_t>)",
referenced from:
ledger::session_t::read_data(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libledger_report.a(libledger_report_la-session.o)
"ledger::archive_t::load(boost::shared_ptr<ledger::journal_t>)",
referenced from:
ledger::session_t::read_data(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)in
libledger_report.a(libledger_report_la-session.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status

The following returns no output nm ./.libs/libledger_data.a | grep
should_save

John Wiegley

unread,
Nov 6, 2009, 4:16:02 PM11/6/09
to ledge...@googlegroups.com
Oh, duh! This is my fault. I forgot that the binary caching stuff
isn't compiled if you don't have boost_serialization installed.

I'll fix this right now.

John

ed

unread,
Nov 7, 2009, 3:10:55 PM11/7/09
to Ledger
Now builds ... thank you
Reply all
Reply to author
Forward
0 new messages