<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: undefined reference to &#8220;function name&#8221;</title>
	<atom:link href="http://blog.cynapses.org/2009/08/24/undefined-reference-to-function/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cynapses.org/2009/08/24/undefined-reference-to-function/</link>
	<description>a cosmological pedestrian</description>
	<lastBuildDate>Tue, 22 Jun 2010 20:18:02 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: GlaDiaC</title>
		<link>http://blog.cynapses.org/2009/08/24/undefined-reference-to-function/comment-page-1/#comment-18406</link>
		<dc:creator>GlaDiaC</dc:creator>
		<pubDate>Tue, 06 Oct 2009 06:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cynapses.org/?p=118#comment-18406</guid>
		<description>It should work too. I think you have to test it or compile it without --as-needed. It would be better to fix it. I think this is a design error.</description>
		<content:encoded><![CDATA[<p>It should work too. I think you have to test it or compile it without &#8211;as-needed. It would be better to fix it. I think this is a design error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PI</title>
		<link>http://blog.cynapses.org/2009/08/24/undefined-reference-to-function/comment-page-1/#comment-18404</link>
		<dc:creator>PI</dc:creator>
		<pubDate>Mon, 05 Oct 2009 23:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cynapses.org/?p=118#comment-18404</guid>
		<description>What to do if libfoo.so provides foo() but needs bar() and libbar.so provides bar() but needs foo()? I have seen such pathetic set of dependencies in the past!</description>
		<content:encoded><![CDATA[<p>What to do if libfoo.so provides foo() but needs bar() and libbar.so provides bar() but needs foo()? I have seen such pathetic set of dependencies in the past!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RedDwarf</title>
		<link>http://blog.cynapses.org/2009/08/24/undefined-reference-to-function/comment-page-1/#comment-17676</link>
		<dc:creator>RedDwarf</dc:creator>
		<pubDate>Tue, 25 Aug 2009 17:23:15 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cynapses.org/?p=118#comment-17676</guid>
		<description>When the change was announced by coolo at opensuse-factory ML he linked to the docs from Gentoo that already have a section &quot;Importance of linking order&quot; (http://www.gentoo.org/proj/en/qa/asneeded.xml#doc_chap2)

Also, see &quot;-lnamespec&quot; in ld man, it clearly specified that the linking order is important. If upstream fails to set the correct order it&#039;s a bug on their part, report it!!
For Nikanth&#039;s case... I think you can just use -lfoo -lbar -lfoo, but -lnamepec suggests the use of &quot;-(&quot;.</description>
		<content:encoded><![CDATA[<p>When the change was announced by coolo at opensuse-factory ML he linked to the docs from Gentoo that already have a section &#8220;Importance of linking order&#8221; (<a href="http://www.gentoo.org/proj/en/qa/asneeded.xml#doc_chap2" rel="nofollow">http://www.gentoo.org/proj/en/qa/asneeded.xml#doc_chap2</a>)</p>
<p>Also, see &#8220;-lnamespec&#8221; in ld man, it clearly specified that the linking order is important. If upstream fails to set the correct order it&#8217;s a bug on their part, report it!!<br />
For Nikanth&#8217;s case&#8230; I think you can just use -lfoo -lbar -lfoo, but -lnamepec suggests the use of &#8220;-(&#8220;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GlaDiaC</title>
		<link>http://blog.cynapses.org/2009/08/24/undefined-reference-to-function/comment-page-1/#comment-17667</link>
		<dc:creator>GlaDiaC</dc:creator>
		<pubDate>Tue, 25 Aug 2009 07:23:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cynapses.org/?p=118#comment-17667</guid>
		<description>Then don&#039;t compile it with --as-needed :) In the build service you can export SUSE_ASNEEDED=0.</description>
		<content:encoded><![CDATA[<p>Then don&#8217;t compile it with &#8211;as-needed <img src='http://blog.cynapses.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  In the build service you can export SUSE_ASNEEDED=0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikanth</title>
		<link>http://blog.cynapses.org/2009/08/24/undefined-reference-to-function/comment-page-1/#comment-17660</link>
		<dc:creator>Nikanth</dc:creator>
		<pubDate>Tue, 25 Aug 2009 03:15:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.cynapses.org/?p=118#comment-17660</guid>
		<description>What to do if libfoo.so provides foo() but needs bar() and libbar.so provides bar() but needs foo()? I have seen such pathetic set of dependencies in the past!</description>
		<content:encoded><![CDATA[<p>What to do if libfoo.so provides foo() but needs bar() and libbar.so provides bar() but needs foo()? I have seen such pathetic set of dependencies in the past!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
