<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://techbase.kde.org/skins/common/feed.css?0.2"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Debugging_Linker_Errors&amp;feed=atom&amp;action=history</id>
		<title>Development/Tutorials/Debugging Linker Errors - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Debugging_Linker_Errors&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Debugging_Linker_Errors&amp;action=history"/>
		<updated>2013-06-20T00:07:51Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Debugging_Linker_Errors&amp;diff=73757&amp;oldid=prev</id>
		<title>AnneW at 16:27, 19 July 2012</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Debugging_Linker_Errors&amp;diff=73757&amp;oldid=prev"/>
				<updated>2012-07-19T16:27:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 16:27, 19 July 2012&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;{{Template:I18n/Language Navigation Bar|Development/Tutorials/Debugging Linker Errors}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{TutorialBrowser|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{TutorialBrowser|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wwwdeveloper:diff:version:1.11a:oldid:54618:newid:73757 --&gt;
&lt;/table&gt;</summary>
		<author><name>AnneW</name></author>	</entry>

	<entry>
		<id>http://techbase.kde.org/index.php?title=Development/Tutorials/Debugging_Linker_Errors&amp;diff=54618&amp;oldid=prev</id>
		<title>Dfaure: Tell people how to debug undefined symbols</title>
		<link rel="alternate" type="text/html" href="http://techbase.kde.org/index.php?title=Development/Tutorials/Debugging_Linker_Errors&amp;diff=54618&amp;oldid=prev"/>
				<updated>2010-09-29T22:30:19Z</updated>
		
		<summary type="html">&lt;p&gt;Tell people how to debug undefined symbols&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Template:I18n/Language Navigation Bar|Development/Tutorials/Debugging Linker Errors}}&lt;br /&gt;
&lt;br /&gt;
{{TutorialBrowser|&lt;br /&gt;
&lt;br /&gt;
series=Getting Started|&lt;br /&gt;
&lt;br /&gt;
name=Debugging Linker Errors|&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Abstract ==&lt;br /&gt;
&lt;br /&gt;
This tutorial gives precise steps for debugging issues related to linking of applications and libraries.&lt;br /&gt;
&lt;br /&gt;
== Undefined symbol ==&lt;br /&gt;
&lt;br /&gt;
When the linker says undefined reference to 'Foo', and you don't understand why, follow the following steps:&lt;br /&gt;
&lt;br /&gt;
* Check that the library that is supposed to provide this symbol is actually in the link line. To see the full link line with cmake, use &amp;lt;tt&amp;gt;make VERBOSE=1&amp;lt;/tt&amp;gt;. If -lkdecore is the link line, then we're at least asking the linker to link to libkdecore.&lt;br /&gt;
* Check that the right version of the library is linked in, rather than one from the wrong place. To see which library is actually used by ld, copy/paste the full link line from &amp;lt;tt&amp;gt;make VERBOSE=1&amp;lt;/tt&amp;gt;, and add to it:  &amp;lt;tt&amp;gt;-Q -v -Wl,-t&amp;lt;/tt&amp;gt;. Somewhere in the verbose output you'll see the full path to each library being used.&lt;br /&gt;
* Check that the library actually provides the symbol. &amp;lt;tt&amp;gt;nm -D -C /path/to/lib.so | grep Foo&amp;lt;/tt&amp;gt; will tell you. If the symbol shows up with a 'T' or a 'W' in the second column, then it is indeed provided by the library. If it shows up with a 'U' then it is undefined in this library, and is supposed to be provided by another.&lt;/div&gt;</summary>
		<author><name>Dfaure</name></author>	</entry>

	</feed>