|
Boost : |
From: Lie-Quan Lee (llee1_at_[hidden])
Date: 2001-08-22 21:45:47
That is very wierd. I can build libbgl-viz.a without any probelm.
I tested either linking applications with -lfl (for yywrap) or adding
%option noyywrap in graphviz_lex.l. Both are fine.
However, When I build ligbgl-viz.so, I got error messages:
Cannot export _bss_end__: smybol not define
Cannot export _bss_start__: smybol not define
Cannot export _data_end__: smybol not define
Cannot export _data_start__: smybol not define
So, I am not able to do further testing.
Is you Cygwin up to date?
Lie-Quan
-----Original Message-----
From: osmanb_at_[hidden] [mailto:osmanb_at_[hidden]]
Sent: Wednesday, August 22, 2001 8:23 PM
To: boost_at_[hidden]
Subject: [boost] read_graphviz: Link errors?
Hi,
I'm trying to make the read_graphviz stuff work, for some small scale
persistence (keep a graph around, extract portions of it, then
rewrite those sections as new .dot files to generate pictures of
regions of interest). I know this isn't advised, but this still seems
to be the only set of tools to do this... So...
I'm working on Cygwin, g++ 2.95.3. write_graphviz works fine. I went
into the src directory and tried using make to build libbgl-viz. I
got errors about yywrap being undeclared, and the only thing I could
come up with was to add %option noyywrap (-lfl didn't seem to work).
Doing that I got a libbgl-viz.a and .so. I then tried to build my
sample program, which just declares a GraphvizDigraph and tries to
call read_graphviz. I build with -L/path/to/libbgl-viz -lbgl-viz but
I still get a single linker error indicating an undefined reference
to boost::read_graphviz(). Did I miss something really obvious (this
is likely)?
I realize that my inclusion of noyywrap may break something, but it
shouldn't be causing this, methinks. Any help would be greatly
appreciated.
-Brian
Info: http://www.boost.org Unsubscribe:
<mailto:boost-unsubscribe_at_[hidden]>
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk