Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-03-22 10:51:00

On Tuesday 22 March 2005 18:38, heimr_at_[hidden] wrote:
> I'm trying to build the boost C++ libs on HPUX 11. I'm using gcc as the
> HP C++ compiler is not available for me. The gcc version is 3.3.2.
> I'm in the boost_1_32_0/tools/build/jam_src directory and this is what
> I get when running "./ gcc"
> $ ./ gcc
> ###
> ### Using 'gcc' toolset.
> ###
> rm -rf bootstrap.gcc
> mkdir bootstrap.gcc
> gcc -o bootstrap.gcc/jam0 command.c compile.c execnt.c execunix.c execvms.c
> expand.c filent.c fileos2.c fileunix.c filevms.c glob.c hash.c hdrmacro.c
> headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c newstr.c
> option.c parse.c pathunix.c pathvms.c regexp.c rules.c scan.c search.c
> subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c
> pwd.c class.c native.c modules/set.c modules/path.c modules/regex.c
> modules/property-set.c modules/sequence.c modules/order.c In
> function `int yyparse()':
> error: parse error before `goto'
> class.c:83: error: parse error before `char'

In my copy there's no 'char' at that line, but a bit above I see:

static void import_base_rules(module_t* class, char* base)

Do you get error on this line? Could it be that gcc is somehow invoked in C++
mode, and barks on "class"? Can you rename "class" to "class_" and try again?

- Volodya


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at