Boost logo

Boost-Build :

Subject: Re: [Boost-build] Installing boost 1.59 from .tgz on Linux Mint 17.3 failed with "command.c(63): error: identifier "__INT_MAX__" is undefined"
From: Andreas Delleske (delleske_at_[hidden])
Date: 2015-12-17 11:59:41


Dear Steven,

Thanks for answering!

> This isn't 1.59. newstr.c was renamed quite
> a while ago. The other errors also correspond
> to code that has been significantly changed.

I beg to differ:

I've downloaded boost 1.59.0 (again) from the website

http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz/download

into /opt/boost/1.59.0/

After untarring:

[...]
boss boost_1_59_0 # ./bootstrap.sh --with-toolset=intel-linux
--prefix=/root/intel-linux
Building Boost.Build engine with toolset intel-linux...
Failed to build Boost.Build build engine
Consult 'bootstrap.log' for more details
boss boost_1_59_0 # cat bootstrap.log
Found in environment
###
### Using 'intel-linux' toolset.
###
rm -rf bootstrap
mkdir bootstrap
icc -o bootstrap/jam0 command.c compile.c constants.c debug.c execcmd.c
frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c
jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c
pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c
variable.c modules.c strings.c filesys.c builtins.c class.c cwd.c
native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c
modules/property-set.c modules/sequence.c modules/order.c execunix.c
fileunix.c pathunix.c
object.c(114): error: type name is not allowed
          new_block = (strblock *)BJAM_MALLOC( offsetof( strblock, data[
0 ] ) +
                                  ^

object.c(114): error: identifier "data" is undefined
          new_block = (strblock *)BJAM_MALLOC( offsetof( strblock, data[
0 ] ) +
                                  ^

object.c(235): error: expected an expression
      return (struct hash_item *)( (char *)obj - offsetof( struct
hash_item, data
                                                 ^

object.c(235): error: identifier "data" is undefined
      return (struct hash_item *)( (char *)obj - offsetof( struct
hash_item, data
                                                 ^

compilation aborted for object.c (code 2)

------ snip ------

All the best -
Andreas


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