View Issue Details

IDProjectCategoryView StatusLast Update
0002104DarkRadiantGeneralpublic20.06.2010 08:03
Reportersnk Assigned Togreebo  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformamd64OSDebian GNU/LinuxOS Versionsqueeze/sid
Target Version1.1.0Fixed in Version1.1.0 
Summary0002104: Building darkmod-plugins fails with undefined reference
DescriptionThe scenegraph plugin does not build for me. It seems to be missing a library dependency for libmath (see attached patch).
Steps To Reproduce./configure --enable-debug --enable-darkmod-plugins
make

.libs/Octree.o: In function `scene::Octree::ensureRootSize(boost::shared_ptr<scene::INode> const&)':
/home/micha/src/darkradiant/plugins/scenegraph/Octree.cpp:46: undefined reference to `AABB::isValid() const'
.libs/Octree.o: In function `OctreeNode':
/home/micha/src/darkradiant/plugins/scenegraph/OctreeNode.h:64: undefined reference to `AABB::isValid() const'
.libs/Octree.o: In function `scene::OctreeNode::linkRecursively(boost::shared_ptr<scene::INode> const&)':
/home/micha/src/darkradiant/plugins/scenegraph/OctreeNode.h:199: undefined reference to `AABB::isValid() const'
collect2: ld returned 1 exit status
make: *** [scenegraph.la] Fehler 1
TagsNo tags attached.

Activities

13.01.2010 19:58

 

makefile.patch (589 bytes)   
Index: plugins/scenegraph/Makefile.am
===================================================================
--- plugins/scenegraph/Makefile.am	(revision 5153)
+++ plugins/scenegraph/Makefile.am	(working copy)
@@ -3,7 +3,8 @@
 modulesdir = $(pkglibdir)/modules
 modules_LTLIBRARIES = scenegraph.la
 
-scenegraph_la_LIBADD = $(top_builddir)/libs/scene/libscenegraph.la
+scenegraph_la_LIBADD = $(top_builddir)/libs/math/libmath.la \
+				    $(top_builddir)/libs/scene/libscenegraph.la
 scenegraph_la_LDFLAGS = -module -avoid-version
 scenegraph_la_SOURCES = SceneGraph.cpp \
 						Octree.cpp
makefile.patch (589 bytes)   
greebo

greebo

14.01.2010 06:24

administrator   ~0002882

Thank you for the patch, it's committed now. I haven't confirmed it myself, as I'm currently working in Windows, but it's looking good.

Issue History

Date Modified Username Field Change
13.01.2010 19:58 snk New Issue
13.01.2010 19:58 snk File Added: makefile.patch
14.01.2010 06:23 greebo Status new => assigned
14.01.2010 06:23 greebo Assigned To => greebo
14.01.2010 06:24 greebo Note Added: 0002882
14.01.2010 06:24 greebo Status assigned => resolved
14.01.2010 06:24 greebo Fixed in Version => 1.1.0
14.01.2010 06:24 greebo Resolution open => fixed
14.01.2010 06:24 greebo Projection none => tweak
14.01.2010 06:24 greebo ETA none => 5 minutes
14.01.2010 06:24 greebo Target Version => 1.1.0
20.06.2010 08:03 greebo Status resolved => closed