Boost logo

Boost Users :

From: Leonid Meyerovich (lmeyerovich_at_[hidden])
Date: 2020-05-19 15:56:35


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_at_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_at_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

________________________________
This message and all attachments are PRIVATE, and contain information that is PROPRIETARY to Intelligent Automation, Inc. You are not authorized to transmit or otherwise disclose this message or any attachments to any third party whatsoever without the express written consent of Intelligent Automation, Inc. If you received this message in error or you are not willing to view this message or any attachments on a confidential basis, please immediately delete this email and any attachments and notify Intelligent Automation, Inc.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net