<?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"
	>
<channel>
	<title>Commentaires sur : Darwin Streaming Server (DSS) 6.0.3, on Solaris 10</title>
	<atom:link href="http://www.lecentre.net/blog/archives/288/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lecentre.net/blog/archives/288</link>
	<description>Internet, UNIX, Video, Leisure...</description>
	<pubDate>Tue, 02 Dec 2008 14:07:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>Par : Croft</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-401</link>
		<dc:creator>Croft</dc:creator>
		<pubDate>Wed, 19 Nov 2008 11:46:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-401</guid>
		<description>Sure, this is the output from gcc -v:

-bash-3.2$ gcc -v
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs
Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++,f77,objc --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-20050802)</description>
		<content:encoded><![CDATA[<p>Sure, this is the output from gcc -v:</p>
<p>-bash-3.2$ gcc -v<br />
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.11/3.4.3/specs<br />
Configured with: /builds2/sfwnv-gate/usr/src/cmd/gcc/gcc-3.4.3/configure &#8211;prefix=/usr/sfw &#8211;with-as=/usr/sfw/bin/gas &#8211;with-gnu-as &#8211;with-ld=/usr/ccs/bin/ld &#8211;without-gnu-ld &#8211;enable-languages=c,c++,f77,objc &#8211;enable-shared<br />
Thread model: posix<br />
gcc version 3.4.3 (csl-sol210-3_4-20050802)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Prune</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-400</link>
		<dc:creator>Prune</dc:creator>
		<pubDate>Wed, 19 Nov 2008 10:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-400</guid>
		<description>Stefan : of course !
Croft : which version of GCC are you exactly using ? 
The {} this is special for Solaris... I don't think there is another definition for OpenSolaris in DSS... 
This may be a "new" gcc change if you're bleeding edge... If yes, this means : 
- keep the solaris patch as-is and have another opensolaris patch
- try other gcc (solaris) without the {} and change the patch if everything ok

Please give you gcc revision. Thanks.</description>
		<content:encoded><![CDATA[<p>Stefan : of course !<br />
Croft : which version of GCC are you exactly using ?<br />
The {} this is special for Solaris&#8230; I don&#8217;t think there is another definition for OpenSolaris in DSS&#8230;<br />
This may be a &#8220;new&#8221; gcc change if you&#8217;re bleeding edge&#8230; If yes, this means :<br />
- keep the solaris patch as-is and have another opensolaris patch<br />
- try other gcc (solaris) without the {} and change the patch if everything ok</p>
<p>Please give you gcc revision. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Croft</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-399</link>
		<dc:creator>Croft</dc:creator>
		<pubDate>Wed, 19 Nov 2008 10:16:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-399</guid>
		<description>The only thing I did was a quick and dirty change in OSMutex.cpp - there is a section in line 49-52 where you have two versions of PTHREAD_ONCE_INIT - one is surrounded by curly braces and the other isn't. I just experimented and did the bare minimum - removed the curly braces making both lines identical and did another "buildtarball 6.0.3". Built nicely and works fine to stream from, haven't done any actual hammering of it to see if its unbreakable though. 

This was on OpenSolaris 2008.5 Developer Preview, but after running "pkg image-update" to snv_101a (the latest as of yesterday.) I had other issues earlier with ld, but I suspect that was just that I had some issues when I earlier upgraded to snv_99, should have no bearing on compiling DSS.</description>
		<content:encoded><![CDATA[<p>The only thing I did was a quick and dirty change in OSMutex.cpp - there is a section in line 49-52 where you have two versions of PTHREAD_ONCE_INIT - one is surrounded by curly braces and the other isn&#8217;t. I just experimented and did the bare minimum - removed the curly braces making both lines identical and did another &#8220;buildtarball 6.0.3&#8243;. Built nicely and works fine to stream from, haven&#8217;t done any actual hammering of it to see if its unbreakable though. </p>
<p>This was on OpenSolaris 2008.5 Developer Preview, but after running &#8220;pkg image-update&#8221; to snv_101a (the latest as of yesterday.) I had other issues earlier with ld, but I suspect that was just that I had some issues when I earlier upgraded to snv_99, should have no bearing on compiling DSS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Stefan Parvu</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-398</link>
		<dc:creator>Stefan Parvu</dc:creator>
		<pubDate>Wed, 19 Nov 2008 08:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-398</guid>
		<description>Sebastien: we need to evaluate the change making sure we dont break something else.
Wonder why wouldn't compile out of box on OpenSolaris bits.</description>
		<content:encoded><![CDATA[<p>Sebastien: we need to evaluate the change making sure we dont break something else.<br />
Wonder why wouldn&#8217;t compile out of box on OpenSolaris bits.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Prune</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-397</link>
		<dc:creator>Prune</dc:creator>
		<pubDate>Wed, 19 Nov 2008 08:39:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-397</guid>
		<description>Croft, could you please copy/past the change you made with every detail so we can tune the patch ? 
Thanks.</description>
		<content:encoded><![CDATA[<p>Croft, could you please copy/past the change you made with every detail so we can tune the patch ?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Stefan Parvu</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-396</link>
		<dc:creator>Stefan Parvu</dc:creator>
		<pubDate>Wed, 19 Nov 2008 07:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-396</guid>
		<description>Hi,
I will soon test as well on OpenSolaris bits. I have been able to compile DSS 6.0.3
using gcc on Solaris Express and Solaris 10, using latest patch set.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I will soon test as well on OpenSolaris bits. I have been able to compile DSS 6.0.3<br />
using gcc on Solaris Express and Solaris 10, using latest patch set.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Croft</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-393</link>
		<dc:creator>Croft</dc:creator>
		<pubDate>Tue, 18 Nov 2008 17:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-393</guid>
		<description>PS. It works. Yay. :) Thanks again for the patch, made life a lot easier even if I wound up with this last issue.</description>
		<content:encoded><![CDATA[<p>PS. It works. Yay. <img src='http://www.lecentre.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Thanks again for the patch, made life a lot easier even if I wound up with this last issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Croft</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-392</link>
		<dc:creator>Croft</dc:creator>
		<pubDate>Tue, 18 Nov 2008 17:07:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-392</guid>
		<description>Ah here we go:

g++ -c -o OSMutex.o  -D__solaris__ -D_REENTRANT -DFD_SETSIZE=65536 -L/usr/local/lib -R/usr/local/lib -include ../PlatformHeader.h -g -Wall -O2 -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSMutex.cpp
OSMutex.cpp:49: error: brace-enclosed initializer used to initialize `upad64_t'
*** Error code 1
make: Fatal error: Command failed for target `OSMutex.o'

Since it was complaining about curly braces around PTHREAD_ONCE_INIT in that file, I de-curly-braced it and lo and behold, it compiled successfully but with tons of warnings (not sure if that's par for the course as I've never successfully compiled DSS until now.) Now to see if it actually works... :)</description>
		<content:encoded><![CDATA[<p>Ah here we go:</p>
<p>g++ -c -o OSMutex.o  -D__solaris__ -D_REENTRANT -DFD_SETSIZE=65536 -L/usr/local/lib -R/usr/local/lib -include ../PlatformHeader.h -g -Wall -O2 -I. -I.. -I../APIStubLib -I../RTPMetaInfoLib -I../APICommonCode OSMutex.cpp<br />
OSMutex.cpp:49: error: brace-enclosed initializer used to initialize `upad64_t&#8217;<br />
*** Error code 1<br />
make: Fatal error: Command failed for target `OSMutex.o&#8217;</p>
<p>Since it was complaining about curly braces around PTHREAD_ONCE_INIT in that file, I de-curly-braced it and lo and behold, it compiled successfully but with tons of warnings (not sure if that&#8217;s par for the course as I&#8217;ve never successfully compiled DSS until now.) Now to see if it actually works&#8230; <img src='http://www.lecentre.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Croft</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-391</link>
		<dc:creator>Croft</dc:creator>
		<pubDate>Tue, 18 Nov 2008 16:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-391</guid>
		<description>Umm yeah I was confused anyway and I was very much using gcc, not cc, for this. I am indeed getting an error when perusing the log of what went on when it comes to building libCommonUtilitiesLib.a earlier on in the process. I'll just have to see if I can figure out just why that is. :)</description>
		<content:encoded><![CDATA[<p>Umm yeah I was confused anyway and I was very much using gcc, not cc, for this. I am indeed getting an error when perusing the log of what went on when it comes to building libCommonUtilitiesLib.a earlier on in the process. I&#8217;ll just have to see if I can figure out just why that is. <img src='http://www.lecentre.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>Par : Prune</title>
		<link>http://www.lecentre.net/blog/archives/288#comment-390</link>
		<dc:creator>Prune</dc:creator>
		<pubDate>Tue, 18 Nov 2008 15:34:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.lecentre.net/blog/?p=288#comment-390</guid>
		<description>Solaris and Opensolrias are really close. I just don't understand why you don't use GCC as compiler :)
Your problem is compiling Streaming Load Tool. Chances are your build of the main DSS is already working.
Now, this means you have troubles compiling a library (.a). You should have previous errors somewhere... try to find that out.
Also, don't forget to "clean" the directory before doing the build.
Let me know of your findings. If you really have a source problem I will change the patch if we find something.</description>
		<content:encoded><![CDATA[<p>Solaris and Opensolrias are really close. I just don&#8217;t understand why you don&#8217;t use GCC as compiler <img src='http://www.lecentre.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Your problem is compiling Streaming Load Tool. Chances are your build of the main DSS is already working.<br />
Now, this means you have troubles compiling a library (.a). You should have previous errors somewhere&#8230; try to find that out.<br />
Also, don&#8217;t forget to &#8220;clean&#8221; the directory before doing the build.<br />
Let me know of your findings. If you really have a source problem I will change the patch if we find something.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
