|
Boost-Build : |
From: Peter Simons (simons_at_[hidden])
Date: 2005-04-12 05:43:37
Vladimir Prus writes:
>> intel-linux.link.dll
>> /path/to/bindir/intel-linux-8.0/debug/threading-multi/neoxx_sanity.so
>> /usr/bin/ld: -static and -shared may not be used together
>>
>> Any ideas or pointers what is causing this?
> Maybe, somebody else knows :-(
> Do you get this on "example/library" project?
Unfortunately, I can't build the library example at all:
| tools/build/v2/example/libraries/app$ bjam --v2
| [...]
| tools/build/v2/example/boost-build.jam:2: in module scope
| error: Unable to find file or target named
| error: '/library-example/foo//bar'
| error: referred from project at
| error: '.'
>> I also got problems with the statement
>>
>> using python : 2.3 : /usr ;
>>
>> in my /etc/site-config.jam out of the sudden.
> This is supposed to work! What warnings to you get?
| /home/ps/work/cxx/share/boost-build/build/project.jam:445: in inherit-attributes
| warning: rulename $(pattributes).get expands to empty string
| /home/ps/work/cxx/share/boost-build/build/project.jam:408: in project.initialize
| /home/ps/work/cxx/share/boost-build/tools/python.jam:39: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/build/project.jam:664: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/project.jam:447: in inherit-attributes
| warning: rulename $(pattributes).get expands to empty string
| /home/ps/work/cxx/share/boost-build/build/project.jam:408: in project.initialize
| /home/ps/work/cxx/share/boost-build/tools/python.jam:39: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/build/project.jam:664: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/project.jam:449: in inherit-attributes
| warning: rulename $(pattributes).get expands to empty string
| /home/ps/work/cxx/share/boost-build/build/project.jam:408: in project.initialize
| /home/ps/work/cxx/share/boost-build/tools/python.jam:39: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/build/project.jam:664: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/project.jam:450: in inherit-attributes
| warning: rulename $(pattributes).get expands to empty string
| /home/ps/work/cxx/share/boost-build/build/project.jam:408: in project.initialize
| /home/ps/work/cxx/share/boost-build/tools/python.jam:39: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/build/project.jam:664: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/project.jam:621: in attribute
| warning: rulename $($(project).attributes).get expands to empty string
| /home/ps/work/cxx/share/boost-build/build/project.jam:631: in target
| /home/ps/work/cxx/share/boost-build/build/project.jam:414: in project.initialize
| /home/ps/work/cxx/share/boost-build/tools/python.jam:39: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/build/project.jam:664: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/project.jam:621: in project.attribute
| warning: rulename $($(project).attributes).get expands to empty string
| /home/ps/work/cxx/share/boost-build/build/targets.jam:200: in object(project-target)@2.__init__
| /home/ps/work/cxx/share/boost-build/kernel/class.jam:92: in new
| /home/ps/work/cxx/share/boost-build/build/project.jam:631: in target
| /home/ps/work/cxx/share/boost-build/build/project.jam:414: in project.initialize
| /home/ps/work/cxx/share/boost-build/tools/python.jam:39: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/build/project.jam:664: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/targets.jam:1344: in targets.main-target-requirements
| warning: rulename $(project-requirements).refine expands to empty string
| /home/ps/work/cxx/share/boost-build/build/alias.jam:67: in alias
| /home/ps/work/cxx/share/boost-build/tools/python.jam:90: in init-unix
| /home/ps/work/cxx/share/boost-build/tools/python.jam:56: in python.init
| /home/ps/work/cxx/share/boost-build/build/project.jam:668: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/targets.jam:1367: in targets.main-target-usage-requirements
| warning: rulename $(project-usage-requirements).add expands to empty string
| /home/ps/work/cxx/share/boost-build/build/alias.jam:69: in alias
| /home/ps/work/cxx/share/boost-build/tools/python.jam:90: in init-unix
| /home/ps/work/cxx/share/boost-build/tools/python.jam:56: in python.init
| /home/ps/work/cxx/share/boost-build/build/project.jam:668: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/targets.jam:1344: in targets.main-target-requirements
| warning: rulename $(project-requirements).refine expands to empty string
| /home/ps/work/cxx/share/boost-build/build/alias.jam:67: in alias
| /home/ps/work/cxx/share/boost-build/tools/python.jam:97: in init-unix
| /home/ps/work/cxx/share/boost-build/tools/python.jam:56: in python.init
| /home/ps/work/cxx/share/boost-build/build/project.jam:668: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| /home/ps/work/cxx/share/boost-build/build/targets.jam:1367: in targets.main-target-usage-requirements
| warning: rulename $(project-usage-requirements).add expands to empty string
| /home/ps/work/cxx/share/boost-build/build/alias.jam:69: in alias
| /home/ps/work/cxx/share/boost-build/tools/python.jam:97: in init-unix
| /home/ps/work/cxx/share/boost-build/tools/python.jam:56: in python.init
| /home/ps/work/cxx/share/boost-build/build/project.jam:668: in project._using
| /home/ps/work/cxx/share/boost-build/build/project.jam:689: in using
| /etc/site-config.jam:20: in modules.load
| /home/ps/work/cxx/share/boost-build/build-system.jam:66: in load
| /home/ps/work/cxx/share/boost-build/kernel/modules.jam:259: in import
| /home/ps/work/cxx/share/boost-build/kernel/bootstrap.jam:120: in boost-build
| /home/ps/work/cxx/boost-build.jam:3: in module scope
| ...patience...
| ...found 939 targets...
The "site-config.jam" file looks like this:
| # system-wide boost.build v2 configuration
|
| using gcc
| : 3.3.5
| : g++
| : <cxxflags>"-fno-stack-protector-all -fno-stack-protector -pipe"
| ;
|
| using gcc
| : 4.1.0
| : g++-4.1.0
| : <cxxflags>-pipe
| ;
|
| using intel-linux
| : 8.0
| :
| : <cxxflags>"-D__interface=tmpinterface" ;
|
| using python : 2.3 : /usr ;
|
| using boostbook
| : /usr/share/sgml/docbook/xsl-stylesheets-1.66.1
| : /usr/share/sgml/docbook/sgml-dtd-4.2
| ;
|
| using xsltproc ;
| using doxygen ;
Any ideas what went wrong?
Peter
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