Boost logo

Boost :

From: Johan Carlstedt (johan_at_[hidden])
Date: 2004-12-12 08:54:05


Hello,

I am having problems compiling Boost 1.32 on Solaris 10 X86 with gcc
3.4.1 and Python 2.23. The compilation fails for libboost_python with
the error message below. It seems to be a problem with the Boost.Graph
library, used by Boost.Python. I have tried with and without "-fpermissive".

I would be grateful if anyone was able to advice.

With friendly regards,

Johan Carlstedt

bash-2.05b# bjam "-sTOOLS=gcc" "-sGXX=g++ -fpermissive" install
....found 11612 targets...
....updating 32 targets...
gcc-C++-action
bin/boost/libs/python/build/libboost_python.so/gcc/debug/shared-linkable-
true/inheritance.o
In file included
from /export/home/johan/boost_1_32_0/libs/python/build/../src/object/inherit
ance.cpp:11:
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:441: error:
expected identifier before numeric constant
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:441:
warning: ISO C++ forbids declaration of `parameter' with no type
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:441: error:
expected `>' before numeric constant
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
`VP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
`EP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
`GP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
`EL' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
type/value mismatch at argument 3 in template parameter list for
`template<class OutEdgeListS, class VertexListS, class DirectedS, class
VertexProperty, class EdgeProperty, class GraphProperty, class EdgeListS>
class boost::adjacency_list'
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444:
error: expected a type, got `3'
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
template argument 4 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
template argument 5 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
template argument 6 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
template argument 7 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:444: error:
`Tag' has not been declared
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:445: error:
expected `,' or `...' before '&' token
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:445:
warning: ISO C++ forbids declaration of `g' with no type
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:445:
warning: ISO C++ forbids declaration of `parameter' with no type
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:445:
warning: ISO C++ forbids declaration of `Value' with no type
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp: In function
`void boost::set_property(int&, int, int)':
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:446: error:
`m_property' has not been declared
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:446: error:
request for member of non-aggregate type before ',' token
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:446:
warning: there are no arguments to `Tag' that depend on a template
parameter, so a declaration of `Tag' must be available
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:446: error:
`value' undeclared (first use this function)
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:446: error:
(Each undeclared identifier is reported only once for each function it
appears in.)
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp: At global
scope:
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:449: error:
expected identifier before numeric constant
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:449:
warning: ISO C++ forbids declaration of `parameter' with no type
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:449: error:
expected `>' before numeric constant
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
`VP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
`EP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
`GP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
`EL' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
type/value mismatch at argument 3 in template parameter list for
`template<class OutEdgeListS, class VertexListS, class DirectedS, class
VertexProperty, class EdgeProperty, class GraphProperty, class EdgeListS>
class boost::adjacency_list'
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452:
error: expected a type, got `3'
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
template argument 4 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
template argument 5 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
template argument 6 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
template argument 7 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
`Tag' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
template argument 1 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
template argument 2 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
expected init-declarator before '&' token
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:452: error:
expected `;' before '&' token
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:457: error:
expected identifier before numeric constant
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:457:
warning: ISO C++ forbids declaration of `parameter' with no type
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:457: error:
expected `>' before numeric constant
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
`VP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
`EP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
`GP' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
`EL' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
type/value mismatch at argument 3 in template parameter list for
`template<class OutEdgeListS, class VertexListS, class DirectedS, class
VertexProperty, class EdgeProperty, class GraphProperty, class EdgeListS>
class boost::adjacency_list'
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461:
error: expected a type, got `3'
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
template argument 4 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
template argument 5 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
template argument 6 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
template argument 7 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
`Tag' was not declared in this scope
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
template argument 1 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
template argument 2 is invalid
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
expected init-declarator before '&' token
/export/home/johan/boost_1_32_0/boost/graph/adjacency_list.hpp:461: error:
expected `;' before '&' token


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk