newbie question: graph library with gcc 3.2.1
I tried building the graph library and the graph examples with bjam. I am using gcc 3.2.1 on Solaris 2.8. The library seemed to build successfully but did have warnings. The examples failed to build complaining that it could not find the dependent graph library which seems to be a problem with my LD_LIBRARY_PATH or something like that. The build outputs for both cases are given below. I did not do any customizing for either of these builds. My cmd line was bjam "-sTOOLS=gcc" Any help is appreciated. Thanks in advance Vik Anantha <GRAPH EXAMPLES BEGIN> unknown dependent target <libs!graph!build>liblibbgl-viz.a </GRAPH EXAMPLES END> <BGL BUILD BEGIN> ...patience... ...found 437 targets... ...updating 11 targets... MkDir1 ../../../libs/graph/build/bin MkDir1 ../../../libs/graph/build/bin/libbgl-viz.a MkDir1 ../../../libs/graph/build/bin/libbgl-viz.a/gcc MkDir1 ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug MkDir1 ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug/inlining-on MkDir1 ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug/inlining-on/runtime -link-dynamic gcc-C++-action ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug/inlining-on/runtime -link-dynamic/graphviz_graph_lex.o lex.yy.c:1169: warning: `void yyunput(int, char*)' defined but not used gcc-C++-action ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug/inlining-on/runtime -link-dynamic/graphviz_digraph_lex.o lex.yy.c:1169: warning: `void yyunput(int, char*)' defined but not used gcc-C++-action ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug/inlining-on/runtime -link-dynamic/graphviz_graph_parser.o graphviz_parser.y: In function `void boost::read_graphviz(const std::string&, boost::GraphvizGraph&)': graphviz_parser.y:492: warning: unused variable `void*in' graphviz_parser.y: In function `void boost::read_graphviz(FILE*, boost::GraphvizGraph&)': graphviz_parser.y:497: warning: unused variable `void*in' /home/installs/boost-1.30.2/boost/tuple/detail/tuple_basic.hpp: At top level: graphviz_parser.y:81: warning: `const std::string& graphviz::get_graph_name(const graphviz::Subgraph&)' defined but not used gcc-C++-action ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug/inlining-on/runtime -link-dynamic/graphviz_digraph_parser.o graphviz_parser.y: In function `void boost::read_graphviz(const std::string&, boost::GraphvizDigraph&)': graphviz_parser.y:492: warning: unused variable `void*in' graphviz_parser.y: In function `void boost::read_graphviz(FILE*, boost::GraphvizDigraph&)': graphviz_parser.y:497: warning: unused variable `void*in' /home/installs/boost-1.30.2/boost/tuple/detail/tuple_basic.hpp: At top level: graphviz_parser.y:81: warning: `const std::string& graphviz::get_graph_name(const graphviz::Subgraph&)' defined but not used gcc-Archive-action ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug/inlining-on/runtime -link-dynamic/libbgl-viz.a ar: creating ../../../libs/graph/build/bin/libbgl-viz.a/gcc/debug/inlining-on/runtime -link-dynamic/libbgl-viz.a ...updated 11 targets... </BGL BUILD END>
Hi Vikram,
I tried building the graph library and the graph examples with bjam. I am using gcc 3.2.1 on Solaris 2.8.
The library seemed to build successfully but did have warnings. The examples failed to build complaining that it could not find the dependent graph library which seems to be a problem with my LD_LIBRARY_PATH or something like that. The build outputs for both cases are given below. I did not do any customizing for either of these builds. My cmd line was bjam "-sTOOLS=gcc"
Any help is appreciated. Thanks in advance
What version of Boost are you using? If it's CVS version, then you might try to run "cvs up" now and try again. I've fixed some typos which were causing the above error. - Volodya
participants (2)
-
Vikram Anantha
-
Vladimir Prus