Your message dated Sun, 23 Oct 2011 12:29:44 -0500
with message-id <[email protected]>
and subject line Re: [pkg-boost-devel] Bug#646207: libboost-graph-dev: Linking 
error with read_graphviz
has caused the Debian Bug report #646207,
regarding libboost-graph-dev: Linking error with read_graphviz
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
646207: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=646207
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libboost-graph-dev
Version: 1.46.1.1
Severity: normal

Dear Maintainer,

there is a linker problem when using read_graphviz as defined
in "boost/graph/graphviz.hpp". The linker error is the following:

--- <snip> ---
g++ -Wall -pedantic -g  graphviz.cpp 
/tmp/cccHnOax.o: In function `bool 
boost::read_graphviz_new<boost::adjacency_list<boost::vecS, boost::vecS, 
boost::undirectedS, boost::property<boost::vertex_name_t, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
boost::no_property>, boost::property<boost::edge_weight_t, double, 
boost::no_property>, boost::no_property, boost::listS> 
>(std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
const&, boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, 
boost::property<boost::vertex_name_t, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, boost::no_property>, 
boost::property<boost::edge_weight_t, double, boost::no_property>, 
boost::no_property, boost::listS>&, boost::dynamic_properties&, 
std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
/usr/include/boost/graph/detail/read_graphviz_new.hpp:103: undefined reference 
to `boost::detail::graph::read_graphviz_new(std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, 
boost::detail::graph::mutate_graph*)'
collect2: ld returned 1 exit status
--- <snap> ---

A non linking example is already shipped with the boost debian packages as 
/usr/share/doc/libboost1.46-doc/examples/libs/graph/example/graphviz.cpp
or
/usr/share/doc/libboost1.46-doc/examples/libs/graph/example/read_graphviz.cpp

This actually looks quite similar to closed bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326089
for Boost 1.33.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libboost-graph-dev depends on:
ii  libboost-graph1.46-dev  1.46.1-7

libboost-graph-dev recommends no packages.

libboost-graph-dev suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
On Sat, Oct 22, 2011 at 11:00:49AM +0200, Andreas Cord-Landwehr wrote:
> Package: libboost-graph-dev
> Version: 1.46.1.1
> Severity: normal
> 
> Dear Maintainer,
> 
> there is a linker problem when using read_graphviz as defined
> in "boost/graph/graphviz.hpp". The linker error is the following:
> 
> --- <snip> ---
> g++ -Wall -pedantic -g  graphviz.cpp 
> /tmp/cccHnOax.o: In function `bool 
> boost::read_graphviz_new<boost::adjacency_list<boost::vecS, boost::vecS, 
> boost::undirectedS, boost::property<boost::vertex_name_t, 
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
> boost::no_property>, boost::property<boost::edge_weight_t, double, 
> boost::no_property>, boost::no_property, boost::listS> 
> >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
> const&, boost::adjacency_list<boost::vecS, boost::vecS, boost::undirectedS, 
> boost::property<boost::vertex_name_t, std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> >, boost::no_property>, 
> boost::property<boost::edge_weight_t, double, boost::no_property>, 
> boost::no_property, boost::listS>&, boost::dynamic_properties&, 
> std::basic_string<char, std::char_traits<char>, std::allocator<char> > 
> const&)':
> /usr/include/boost/graph/detail/read_graphviz_new.hpp:103: undefined 
> reference to `boost::detail::graph::read_graphviz_new(std::basic_string<char, 
> std::char_traits<char>, std::allocator<char> > const&, 
> boost::detail::graph::mutate_graph*)'
> collect2: ld returned 1 exit status
> --- <snap> ---
> 
> A non linking example is already shipped with the boost debian packages as 
> /usr/share/doc/libboost1.46-doc/examples/libs/graph/example/graphviz.cpp
> or
> /usr/share/doc/libboost1.46-doc/examples/libs/graph/example/read_graphviz.cpp
> 
> This actually looks quite similar to closed bug
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326089
> for Boost 1.33.

I can build the example with the addition of the "-lboost_graph" to the command 
line:


steve@riemann{tmp}g++ -Wall -pedantic -g   
/usr/share/doc/libboost1.46-doc/examples/libs/graph/example/graphviz.cpp 
-lboost_graph
steve@riemann{tmp}

-Steve

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to