Hello Everyone,
I have spent some time trying to build BOOST libraries from source code on Ubuntu machine.
BOOST version is boost_1_73_0.
I use ARM compiler
echo $CC
arm-oe-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon --sysroot=/home/lm/rfnoc/oe/sysroots/armv7ahf-vfp-neon-oe-linux-gnueabi
My current directory is boost_1_73_0
1.
I have edited user-config.jam file, adding
gcc_root = $(CC) ;
using gcc : arm : $(gcc_root)
This file is located on ‘parent’ BOOST directory - boost_1_73_0.
2.
Run
lm@ubuntu:~/boost/boost_1_73_0$ ./bootstrap.sh --prefix=bbb
Building Boost.Build engine with toolset gcc... tools/build/src/engine/b2
Detecting Python version... 2.7
Detecting Python root... /home/lm/rfnoc/oe/sysroots/x86_64-oesdk-linux/usr
Unicode/ICU support for Boost.Regex?... /usr
Backing up existing Boost.Build configuration in project-config.jam.4
Generating Boost.Build configuration in project-config.jam for gcc...
Bootstrapping is done. To build, run:
./b2
To generate header files, run:
./b2 headers
To adjust configuration, edit 'project-config.jam'.
Further information:
- Command line help:
./b2 --help
- Getting started guide:
http://www.boost.org/more/getting_started/unix-variants.html
- Boost.Build documentation:
http://www.boost.org/build/
3.
So far it looks OK, I run b2 and have got an error
lm@ubuntu:~ /boost/boost_1_73_0$ b2
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/tools/features/warnings-feature.jam:27: in load
ERROR: rule "[[bbv2.builtin.features.warnings]]`warnings`::" unknown in module "warnings-feature".
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/kernel/modules.jam:295: in import
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/tools/features/__init_features__.jam:22: in load
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/kernel/modules.jam:295: in import
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/tools/builtin.jam:16: in load
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/kernel/modules.jam:295: in import
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/build-system.jam:12: in load
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/kernel/modules.jam:295: in import
/home/lm/covra-liquidsdr/boost/boost_1_73_0/tools/build/src/kernel/bootstrap.jam:139: in boost-build
/home/lm/covra-liquidsdr/boost/boost_1_73_0/boost-build.jam:17: in module scope
Could somebody explain what this error means and what I am doing wrong?
Thank you,
Leonid