Boost logo

Boost Users :

From: Steve Juranich (juranich_at_[hidden])
Date: 2004-03-15 09:40:20


Here's my system specs (let me know if I'm leaving something out):

SuSE Linux 8.2
gcc v. 3.3
barbet (juranich)$ g++ -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info
--mandir=/usr/share/man --libdir=/usr/lib
--enable-languages=c,c++,f77,objc,java,ada --disable-checking
--enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)

flex v. 2.5.4
bison v. 1.75

Description of problem:

When I cd into $BOOST/libs/graph/src and type 'make', I get the following
errors:

barbet:/local/src/boost_1_31_0/libs/graph/src # make
flex -Pbgl_undir_ -ographviz_graph_lex.cpp graphviz_lex.ll
bison -p bgl_undir_ -d -v -o graphviz_graph_parser.cpp graphviz_parser.yy
graphviz_parser.yy: warning: 1 shift/reduce conflict
g++ -ftemplate-depth-50 -DGRAPHVIZ_DIRECTED=0 -I../../.. -g -c
graphviz_graph_lex.cpp
graphviz_lex.ll: In function `int bgl_undir_lex(yystype*)':
graphviz_lex.ll:85: error: request for member `ptr' in `*lvalp', which is
of
   non-class type `int'
graphviz_lex.ll:87: error: request for member `ptr' in `*lvalp', which is
of
   non-class type `int'
make: *** [graphviz_graph_lex.o] Error 1

So, line 85 in graphviz_lex.ll looks like this:

I've looked at the source with a friend who (unlike myself) actually has
some experience with lex and yacc, but he couldn't spot the problem
either.

I know that the caveat at the top of the file says that the makefile
probably won't work on my system, so are there any suggestions on what I
could do to make it work?

Thanks a lot.

-- 
Stephen W. Juranich
Science Applications Intl. Corp. (SAIC)
(520) 570-7706

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