This is on a mac BTW, I should have said. Make output is:

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

The command nm ./.libs/libledger_data.a | grep basic_path
returns 689 lines of output, is that what you meant?


On Nov 2, 7:03 am, John Wiegley <[email protected]> wrote:
> On Nov 1, 2009, at 10:47 AM, ed wrote:
>
> >    LD  ledger
> > Undefined symbols:
> >  "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:
>
> Can you check your libledger_data.a file, and see if it provides those  
> archive symbols?  Also, open up your Makefile, remove the echo LD  
> portion that's hiding the actual link line, and run it again so I can  
> see exactly what's going to the linker...
>
> Thanks, John

Reply via email to