<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.3" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: libxml doesn&#8217;t compile</title>
	<link>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/</link>
	<description>advocating olpa's open source developments</description>
	<pubDate>Fri, 29 Aug 2008 00:27:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.3</generator>

	<item>
		<title>By: Benjamin Müller</title>
		<link>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/#comment-27</link>
		<dc:creator>Benjamin Müller</dc:creator>
		<pubDate>Mon, 29 Aug 2005 08:01:08 +0000</pubDate>
		<guid>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/#comment-27</guid>
		<description>Or just prefix ./configure with

LDFLAGS=-pthread ./configure [...]

Worked fine with me

Greetings

b!</description>
		<content:encoded><![CDATA[<p>Or just prefix ./configure with</p>
<p>LDFLAGS=-pthread ./configure [&#8230;]</p>
<p>Worked fine with me</p>
<p>Greetings</p>
<p>b!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LazyTiger</title>
		<link>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/#comment-24</link>
		<dc:creator>LazyTiger</dc:creator>
		<pubDate>Mon, 18 Jul 2005 19:40:55 +0000</pubDate>
		<guid>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/#comment-24</guid>
		<description>may be better to patch ./threads.c ? that works for me (gcc 3.2.3 RHEL3).
build whith threads and check got passed.

--- threads.c.old       2005-05-04 13:58:44.000000000 +0400
+++ threads.c   2005-07-18 23:21:38.000000000 +0400
@@ -51,7 +51,7 @@
 static int libxml_is_threaded = -1;
 #ifdef __GNUC__
 #ifdef linux
-#if (__GNUC__ == 3 &#38;&#38; __GNUC_MINOR__ &#62;= 3) &#124;&#124; (__GNUC__ &#62; 3)
+#if (__GNUC__ == 3 &#38;&#38; __GNUC_MINOR__ &#62;= 2) &#124;&#124; (__GNUC__ &#62; 3)
 extern int pthread_once (pthread_once_t *__once_control,
                          void (*__init_routine) (void))
           __attribute((weak));
</description>
		<content:encoded><![CDATA[<p>may be better to patch ./threads.c ? that works for me (gcc 3.2.3 RHEL3).<br />
build whith threads and check got passed.</p>
<p>&#8212; threads.c.old       2005-05-04 13:58:44.000000000 +0400<br />
+++ threads.c   2005-07-18 23:21:38.000000000 +0400<br />
@@ -51,7 +51,7 @@<br />
 static int libxml_is_threaded = -1;<br />
 #ifdef __GNUC__<br />
 #ifdef linux<br />
-#if (__GNUC__ == 3 &amp;&amp; __GNUC_MINOR__ &gt;= 3) || (__GNUC__ &gt; 3)<br />
+#if (__GNUC__ == 3 &amp;&amp; __GNUC_MINOR__ &gt;= 2) || (__GNUC__ &gt; 3)<br />
 extern int pthread_once (pthread_once_t *__once_control,<br />
                          void (*__init_routine) (void))<br />
           __attribute((weak));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: olpa</title>
		<link>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/#comment-23</link>
		<dc:creator>olpa</dc:creator>
		<pubDate>Thu, 14 Jul 2005 21:46:49 +0000</pubDate>
		<guid>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/#comment-23</guid>
		<description>Yes, it's also a workaround.</description>
		<content:encoded><![CDATA[<p>Yes, it&#8217;s also a workaround.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: libxml2 user</title>
		<link>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/#comment-22</link>
		<dc:creator>libxml2 user</dc:creator>
		<pubDate>Thu, 14 Jul 2005 15:10:16 +0000</pubDate>
		<guid>http://uucode.com/blog/2005/06/21/libxml-doesnt-compile/#comment-22</guid>
		<description>You can also build with the --without-threads option:

./configure --without-threads

 This turns off threads, but will allow the build to complete without error.</description>
		<content:encoded><![CDATA[<p>You can also build with the &#8211;without-threads option:</p>
<p>./configure &#8211;without-threads</p>
<p> This turns off threads, but will allow the build to complete without error.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
