Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001969graphvizBuild/Installpublic2010-10-07 07:302011-04-28 04:03
ReporterRyan Schmidt11 
Assigned Toerg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSx86-OSX-10.6.4OS Version
Summary0001969: conflicting types for 'lt__PROGRAM__LTX_preloaded_symbols'
Description



Cannot compile Graphviz 2.27.20101006.0445:



<CD>
In file included from ../../lib/common/types.h:36,
                 from gvplugin.c:27:
./gvcext.h:83: error: conflicting types for 'lt__PROGRAM__LTX_preloaded_symbols'
/opt/local/include/ltdl.h:106: error: previous declaration of 'lt__PROGRAM__LTX_preloaded_symbols' was here
lipo: can't open input file: /var/tmp//cc2WwHD5.out (No such file or directory)
make[3]: *** [gvplugin.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
</CD>






/opt/local/include/ltdl.h is from libtool 2.4.






2.27.20101005.0445 builds fine.
Additional Information

[ellson]
The change that was made is shown below. Basically to remove the explicit include of the libltdl/ltdl.h
from the libtoolize-generated code since the appropriate include is always supposed to be in $(INCLTDL) .


Did you rerun libtoolize when you got this failure?


<CD>
[email protected]:graphviz2> cvs diff -r 1.116 lib/gvc/Makefile.am
Index: lib/gvc/Makefile.am
===================================================================
RCS file: /home/cvsroot/graphviz2/lib/gvc/Makefile.am,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- lib/gvc/Makefile.am 28 Aug 2009 19:46:42 -0000 1.116
+++ lib/gvc/Makefile.am 5 Oct 2010 19:04:46 -0000 1.117
@@ -1,4 +1,4 @@
-# $Id: Makefile.am,v 1.116 2009/08/28 19:46:42 erg Exp $ $Revision: 1.116 $
+# $Id: Makefile.am,v 1.117 2010/10/05 19:04:46 ellson Exp $ $Revision: 1.117 $
 ## Process this file with automake to produce Makefile.in

 GVC_VERSION="5:0:0"
@@ -18,8 +18,7 @@
     -I$(top_srcdir)/lib/pathplan \
     -I$(top_srcdir)/lib/$(GRAPH) \
     -I$(top_srcdir)/lib/cdt \
- $(INCLTDL) -I$(top_srcdir)/libltdl \
- -DGVLIBDIR=\"$(pkglibdir)\"
+ $(INCLTDL) -DGVLIBDIR=\"$(pkglibdir)\"

 if WITH_WIN32
 AM_CFLAGS = -D_BLD_gvc=1
</CD>

[ellson]
<CD>
> The change that was made is shown below. Basically to remove the explicit include of the libltdl/ltdl.h
> > from the libtoolize-generated code since the appropriate include is always supposed to be in $(INCLTDL) .
Confirmed, backing out that change lets it compile again.


> > Did you rerun libtoolize when you got this failure?
I had not been, but doing so doesn't fix the problem.
</CD>


[ellson]
 Apparently the gentoo bug I was trying to fix wasn't fixed either by my change.
<CD>
      http://bugs.gentoo.org/show_bug.cgi?id=339298 [^]
</CD>

Back to the libtool documentation.....

TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID2050
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (27 Oct 2010)
VERSION     2.27.20101006.0445
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

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


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