Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000542graphvizBuild/Installpublic2004-12-16 15:012011-04-28 04:02
ReporterJure Repinc 
Assigned Toellson 
PrioritynormalSeveritycriticalReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOther-Linux-2.6.9OS Version
Summary0000542: Can't comple with GCC 3.4.3
Description



I tried to compile graphviz 1.16 on my AMD Athlon 64 machine which is runing all software compiled in 64-bits for AMD64. But when I tried to compile I got these errors:
<CD>
make[3]: Entering directory `/var/tmp/portage/graphviz-1.16/work/graphviz-1.16/dynagraph/common'
if /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../dynagraph -I../../cdt -I../../agraph -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -MT Dynagraph.lo -MD -MP -MF ".deps/Dynagraph.Tpo" -c -o Dynagraph.lo Dynagraph.cpp; \
then mv -f ".deps/Dynagraph.Tpo" ".deps/Dynagraph.Plo"; else rm -f ".deps/Dynagraph.Tpo"; exit 1; fi
if /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../dynagraph -I../../cdt -I../../agraph -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -MT ColorByAge.lo -MD -MP -MF ".deps/ColorByAge.Tpo" -c -o ColorByAge.lo ColorByAge.cpp; \
then mv -f ".deps/ColorByAge.Tpo" ".deps/ColorByAge.Plo"; else rm -f ".deps/ColorByAge.Tpo"; exit 1; fi
mkdir .libs
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../dynagraph -I../../cdt -I../../agraph -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -MT Dynagraph.lo -MD -MP -MF .deps/Dynagraph.Tpo -c Dynagraph.cpp -fPIC -DPIC -o .libs/Dynagraph.o
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../dynagraph -I../../cdt -I../../agraph -march=athlon64 -pipe -O2 -fomit-frame-pointer -frename-registers -MT ColorByAge.lo -MD -MP -MF .deps/ColorByAge.Tpo -c ColorByAge.cpp -fPIC -DPIC -o .libs/ColorByAge.o
In file included from Dynagraph.h:16,
                 from ColorByAge.cpp:13:
../../dynagraph/common/LGraph-cdt.h: In member function `typename cdt::ordering<cdt::tree<cdt::disc<cdt::derived_accessor<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::intreelink>, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::SeqComp<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge> >, true>, cdt::sequence<cdt::derived_accessor<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::inseqlink> > >::iterator LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::nodeedge_iter::inIter()':
../../dynagraph/common/LGraph-cdt.h:235: error: there are no arguments to `head' that depend on a template parameter, so a declaration of `head' must be available
../../dynagraph/common/LGraph-cdt.h:235: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../dynagraph/common/LGraph-cdt.h: In member function `typename cdt::ordering<cdt::tree<cdt::disc<cdt::derived_accessor<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::outtreelink>, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::SeqComp<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge> >, true>, cdt::sequence<cdt::derived_accessor<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::outseqlink> > >::iterator LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::nodeedge_iter::outIter()':
../../dynagraph/common/LGraph-cdt.h:238: error: there are no arguments to `tail' that depend on a template parameter, so a declaration of `tail' must be available
In file included from Dynagraph.h:17,
                 from ColorByAge.cpp:13:
../../dynagraph/common/traversal.h: In member function `DFS<G>& DFS<G>::operator++()':
../../dynagraph/common/traversal.h:81: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h:81: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../dynagraph/common/traversal.h: In member function `bool DFS<G>::outs(typename G::outedge_iter)':
../../dynagraph/common/traversal.h:146: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h: In member function `bool DFS<G>::ins(typename G::inedge_iter)':
../../dynagraph/common/traversal.h:159: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h: In member function `bool DFS<G>::next()':
../../dynagraph/common/traversal.h:183: error: `m_g' undeclared (first use this function)
../../dynagraph/common/traversal.h:184: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h: In member function `BFS<G>& BFS<G>::operator++()':
../../dynagraph/common/traversal.h:208: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h:230: error: `m_g' undeclared (first use this function)
../../dynagraph/common/traversal.h: In constructor `BFS<G>::BFS(G*, typename G::Node*, bool, bool)':
../../dynagraph/common/traversal.h:244: error: `m_hitpos' undeclared (first use this function)
make[3]: *** [ColorByAge.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from ../../dynagraph/common/Dynagraph.h:16,
                 from Dynagraph.cpp:13:
../../dynagraph/common/LGraph-cdt.h: In member function `typename cdt::ordering<cdt::tree<cdt::disc<cdt::derived_accessor<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::intreelink>, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::SeqComp<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge> >, true>, cdt::sequence<cdt::derived_accessor<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::inseqlink> > >::iterator LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::nodeedge_iter::inIter()':
../../dynagraph/common/LGraph-cdt.h:235: error: there are no arguments to `head' that depend on a template parameter, so a declaration of `head' must be available
../../dynagraph/common/LGraph-cdt.h:235: error: (if you use `-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../dynagraph/common/LGraph-cdt.h: In member function `typename cdt::ordering<cdt::tree<cdt::disc<cdt::derived_accessor<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::outtreelink>, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::SeqComp<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge> >, true>, cdt::sequence<cdt::derived_accessor<LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::Edge, LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::outseqlink> > >::iterator LGraph<GraphDatum, NodeDatum, EdgeDatum, GraphIDat, NodeIDat, EdgeIDat>::nodeedge_iter::outIter()':
../../dynagraph/common/LGraph-cdt.h:238: error: there are no arguments to `tail' that depend on a template parameter, so a declaration of `tail' must be available
In file included from ../../dynagraph/common/Dynagraph.h:17,
                 from Dynagraph.cpp:13:
../../dynagraph/common/traversal.h: In member function `DFS<G>& DFS<G>::operator++()':
../../dynagraph/common/traversal.h:81: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h:81: error: (Each undeclared identifier is reported only once for each function it appears in.)
../../dynagraph/common/traversal.h: In member function `bool DFS<G>::outs(typename G::outedge_iter)':
../../dynagraph/common/traversal.h:146: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h: In member function `bool DFS<G>::ins(typename G::inedge_iter)':
../../dynagraph/common/traversal.h:159: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h: In member function `bool DFS<G>::next()':
../../dynagraph/common/traversal.h:183: error: `m_g' undeclared (first use this function)
../../dynagraph/common/traversal.h:184: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h: In member function `BFS<G>& BFS<G>::operator++()':
../../dynagraph/common/traversal.h:208: error: `m_hitpos' undeclared (first use this function)
../../dynagraph/common/traversal.h:230: error: `m_g' undeclared (first use this function)
../../dynagraph/common/traversal.h: In constructor `BFS<G>::BFS(G*, typename G::Node*, bool, bool)':
../../dynagraph/common/traversal.h:244: error: `m_hitpos' undeclared (first use this function)
make[3]: *** [Dynagraph.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/graphviz-1.16/work/graphviz-1.16/dynagraph/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/graphviz-1.16/work/graphviz-1.16/dynagraph'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/graphviz-1.16/work/graphviz-1.16'
make: *** [all] Error 2
</CD>



Other people also have reported problems compiling graphviz (even newer versions) with GCC 3.4.3. There is also a patch and more info in this forum thread:
http://bugs.gentoo.org/show_bug.cgi?id=74393 [^]
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT http://bugs.gentoo.org/attachment.cgi?id=46021&action=view [^]
FORMER-ID590
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTInactive
VERSION     1.16
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker