From: Reece Dunn (msclrhd_at_[hidden])
Date: 2006-06-25 17:23:27
Lally Singh wrote:
> Thanks so much for your help. I put the using darwin : 3.2 :
> /Users/lally/Work/bin/gfilt ; line into ~/user-config.jam, and it did
> exactly what you said. Wonderfully formatted warnings, and ld's not
> complaining about unknown flags anymore.
> But, it's not linking in the libraries. I'm sorry.
> bjam eventually runs:
> /Users/lally/Work/bin/gfilt -o "bin/darwin-3.2/debug/mfront"
> "bin/darwin-3.2/debug/config.o" "bin/darwin-3.2/debug/driver.o"
> "bin/darwin-3.2/debug/output.o" "bin/darwin-3.2/debug/main.o"
> "bin/darwin-3.2/debug/map.o" "bin/darwin-3.2/debug/actions.o"
> "bin/darwin-3.2/debug/generator.o" -g
> which complains about many, many undefined symbols.
Hmm. Do you know what libraries these are corresponding to? Are
they all Boost-related?
> Is there any other means of specifying a library to link in?
exe test : ... $(BOOST_ROOT)//wave ;
should work. You should see Boost.Wave being built and then
linked in. Hmmm. Can you try the static library versions:
If that works, can you try the shared library version:
You can rebuild everything by saying:
bjam darwin-3.2 -a
and can print the commands that will be executed (-n):
bjam darwin-3.2 -a -n
Can you see what version of the Boost libraries you are
linking against are being used (i.e. static/shared)?
Hmm. Do you know if the gfilt command line has gone over
the shell line limit (I don't think this is the case, though).
I don't know enough about the problem to know what the
solution is, but maybe my suggestions will help track down
the problem. If not, post again with as much information
as you can give that is relevant to the problem.
Try Live.com - your fast, personalized homepage with all the things you care about in one place.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk