<?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: Yum GCC Errors</title>
	<atom:link href="http://www.v-nessa.net/2007/11/17/yum-gcc-errors/feed" rel="self" type="application/rss+xml" />
	<link>http://www.v-nessa.net/2007/11/17/yum-gcc-errors</link>
	<description>pink is the new black</description>
	<lastBuildDate>Thu, 26 Jan 2012 17:17:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: BinaryPhalanx</title>
		<link>http://www.v-nessa.net/2007/11/17/yum-gcc-errors/comment-page-1#comment-9455</link>
		<dc:creator>BinaryPhalanx</dc:creator>
		<pubDate>Tue, 09 Sep 2008 00:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/17/yum-gcc-errors/#comment-9455</guid>
		<description>The compile error looks as if you&#039;re either using an incompatible version of GCC, or are simply unluckily pulling broken code from SVN.

apt-get won&#039;t work unless you&#039;re running a debian-derived distro. As I see you&#039;ve got yum installed, this clearly will not do. Do &quot;yum install linux-headers&quot; instead.

The error at the end clearly is an old version of subversion that isn&#039;t up there anymore. Try wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.5.1-1.i386.rpm</description>
		<content:encoded><![CDATA[<p>The compile error looks as if you&#8217;re either using an incompatible version of GCC, or are simply unluckily pulling broken code from SVN.</p>
<p>apt-get won&#8217;t work unless you&#8217;re running a debian-derived distro. As I see you&#8217;ve got yum installed, this clearly will not do. Do &#8220;yum install linux-headers&#8221; instead.</p>
<p>The error at the end clearly is an old version of subversion that isn&#8217;t up there anymore. Try wget <a href="http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.5.1-1.i386.rpm" rel="nofollow">http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.5.1-1.i386.rpm</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad</title>
		<link>http://www.v-nessa.net/2007/11/17/yum-gcc-errors/comment-page-1#comment-9454</link>
		<dc:creator>Brad</dc:creator>
		<pubDate>Fri, 05 Sep 2008 05:02:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/17/yum-gcc-errors/#comment-9454</guid>
		<description>I keep getting this error, any help?



Creating config.mak and config.h...
root@cp1 [/usr/src/ffmpeg]# make
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&quot;/usr/src/ffmpeg&quot; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/alldevices.o libavdevice/alldevices.c
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&quot;/usr/src/ffmpeg&quot; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/dv1394.o libavdevice/dv1394.c
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&quot;/usr/src/ffmpeg&quot; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/audio.o libavdevice/audio.c
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&quot;/usr/src/ffmpeg&quot; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/v4l2.o libavdevice/v4l2.c
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&quot;/usr/src/ffmpeg&quot; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/v4l.o libavdevice/v4l.c
In file included from libavdevice/v4l.c:32:
/usr/include/linux/videodev.h:56: error: syntax error before &quot;ulong&quot;
/usr/include/linux/videodev.h:72: error: syntax error before &#039;}&#039; token
libavdevice/v4l.c: In function `grab_read_header&#039;:
libavdevice/v4l.c:77: error: storage size of &#039;tuner&#039; isn&#039;t known
libavdevice/v4l.c:141: error: invalid application of `sizeof&#039; to incomplete type `video_tuner&#039;
libavdevice/v4l.c:148: error: invalid application of `sizeof&#039; to incomplete type `video_tuner&#039;
libavdevice/v4l.c:77: warning: unused variable `tuner&#039;
make: *** [libavdevice/v4l.o] Error 1
root@cp1 [/usr/src/ffmpeg]#
root@cp1 [/usr/src/ffmpeg]# yum -y update
Loading &quot;fastestmirror&quot; plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
No Packages marked for Update/Obsoletion
root@cp1 [/usr/src/ffmpeg]# apt-get install linux-headers-$(uname -r)
-bash: apt-get: command not found
root@cp1 [/usr/src/ffmpeg]# ln -sf /usr/src/linux-headers-$(uname -r) /usr/src/linux
root@cp1 [/usr/src/ffmpeg]# ln -sf /usr/src/linux-headers-$(uname -r) /usr/src/linux
root@cp1 [/usr/src/ffmpeg]# wget http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.4.5-1.i386.rpm
--22:00:33--  http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.4.5-1.i386.rpm
           =&gt; `subversion-1.4.5-1.i386.rpm&#039;
Resolving the.earth.li... 217.147.81.2
Connecting to the.earth.li&#124;217.147.81.2&#124;:80... connected.
HTTP request sent, awaiting response... 404 Not Found
22:00:34 ERROR 404: Not Found.</description>
		<content:encoded><![CDATA[<p>I keep getting this error, any help?</p>
<p>Creating config.mak and config.h&#8230;<br />
root@cp1 [/usr/src/ffmpeg]# make<br />
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&#8221;/usr/src/ffmpeg&#8221; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/alldevices.o libavdevice/alldevices.c<br />
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&#8221;/usr/src/ffmpeg&#8221; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/dv1394.o libavdevice/dv1394.c<br />
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&#8221;/usr/src/ffmpeg&#8221; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/audio.o libavdevice/audio.c<br />
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&#8221;/usr/src/ffmpeg&#8221; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/v4l2.o libavdevice/v4l2.c<br />
gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. -I&#8221;/usr/src/ffmpeg&#8221; -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -fasm -std=c99 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wcast-qual -Wwrite-strings -O3 -fno-math-errno       -c -o libavdevice/v4l.o libavdevice/v4l.c<br />
In file included from libavdevice/v4l.c:32:<br />
/usr/include/linux/videodev.h:56: error: syntax error before &#8220;ulong&#8221;<br />
/usr/include/linux/videodev.h:72: error: syntax error before &#8216;}&#8217; token<br />
libavdevice/v4l.c: In function `grab_read_header&#8217;:<br />
libavdevice/v4l.c:77: error: storage size of &#8216;tuner&#8217; isn&#8217;t known<br />
libavdevice/v4l.c:141: error: invalid application of `sizeof&#8217; to incomplete type `video_tuner&#8217;<br />
libavdevice/v4l.c:148: error: invalid application of `sizeof&#8217; to incomplete type `video_tuner&#8217;<br />
libavdevice/v4l.c:77: warning: unused variable `tuner&#8217;<br />
make: *** [libavdevice/v4l.o] Error 1<br />
root@cp1 [/usr/src/ffmpeg]#<br />
root@cp1 [/usr/src/ffmpeg]# yum -y update<br />
Loading &#8220;fastestmirror&#8221; plugin<br />
Setting up Update Process<br />
Setting up repositories<br />
Loading mirror speeds from cached hostfile<br />
Reading repository metadata in from local files<br />
Excluding Packages in global exclude list<br />
Finished<br />
No Packages marked for Update/Obsoletion<br />
root@cp1 [/usr/src/ffmpeg]# apt-get install linux-headers-$(uname -r)<br />
-bash: apt-get: command not found<br />
root@cp1 [/usr/src/ffmpeg]# ln -sf /usr/src/linux-headers-$(uname -r) /usr/src/linux<br />
root@cp1 [/usr/src/ffmpeg]# ln -sf /usr/src/linux-headers-$(uname -r) /usr/src/linux<br />
root@cp1 [/usr/src/ffmpeg]# wget <a href="http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.4.5-1.i386.rpm" rel="nofollow">http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.4.5-1.i386.rpm</a><br />
&#8211;22:00:33&#8211;  <a href="http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.4.5-1.i386.rpm" rel="nofollow">http://the.earth.li/pub/subversion/summersoft.fay.ar.us/pub/subversion/latest/rhel-4/i386/subversion-1.4.5-1.i386.rpm</a><br />
           =&gt; `subversion-1.4.5-1.i386.rpm&#8217;<br />
Resolving the.earth.li&#8230; 217.147.81.2<br />
Connecting to the.earth.li|217.147.81.2|:80&#8230; connected.<br />
HTTP request sent, awaiting response&#8230; 404 Not Found<br />
22:00:34 ERROR 404: Not Found.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shelby</title>
		<link>http://www.v-nessa.net/2007/11/17/yum-gcc-errors/comment-page-1#comment-8450</link>
		<dc:creator>Shelby</dc:creator>
		<pubDate>Sat, 24 Nov 2007 13:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/17/yum-gcc-errors/#comment-8450</guid>
		<description>I have not seen any issues with this fix.  It was the only way I was able to have yum update properly otherwise every other time it would bomb out when trying to download/install everything.  I don&#039;t really see the harm in it as CPanel still protects certain aspects of this.  Also with this fix I was able to bring my CentOS 4.4 install up to 4.5 in the VZ CPanel environment.</description>
		<content:encoded><![CDATA[<p>I have not seen any issues with this fix.  It was the only way I was able to have yum update properly otherwise every other time it would bomb out when trying to download/install everything.  I don&#8217;t really see the harm in it as CPanel still protects certain aspects of this.  Also with this fix I was able to bring my CentOS 4.4 install up to 4.5 in the VZ CPanel environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BinaryPhalanx</title>
		<link>http://www.v-nessa.net/2007/11/17/yum-gcc-errors/comment-page-1#comment-8115</link>
		<dc:creator>BinaryPhalanx</dc:creator>
		<pubDate>Tue, 20 Nov 2007 19:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/17/yum-gcc-errors/#comment-8115</guid>
		<description>I was told by the lead sysadmin at work that it would be a bad idea with Virtuozzo , but hey, maybe he was blowing smoke up my pipe, or it was an older bug.

As long as it works!</description>
		<content:encoded><![CDATA[<p>I was told by the lead sysadmin at work that it would be a bad idea with Virtuozzo , but hey, maybe he was blowing smoke up my pipe, or it was an older bug.</p>
<p>As long as it works!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nessa</title>
		<link>http://www.v-nessa.net/2007/11/17/yum-gcc-errors/comment-page-1#comment-8099</link>
		<dc:creator>Nessa</dc:creator>
		<pubDate>Tue, 20 Nov 2007 11:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/17/yum-gcc-errors/#comment-8099</guid>
		<description>True, but the above fix works when we use it on our systems (even on the VPS&#039;s running Virtuozzo) when a yum update fails.  Either of these fixes should work though (don&#039;t take my word for it just because it works for us)</description>
		<content:encoded><![CDATA[<p>True, but the above fix works when we use it on our systems (even on the VPS&#8217;s running Virtuozzo) when a yum update fails.  Either of these fixes should work though (don&#8217;t take my word for it just because it works for us)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BinaryPhalanx</title>
		<link>http://www.v-nessa.net/2007/11/17/yum-gcc-errors/comment-page-1#comment-7999</link>
		<dc:creator>BinaryPhalanx</dc:creator>
		<pubDate>Mon, 19 Nov 2007 14:14:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.v-nessa.net/2007/11/17/yum-gcc-errors/#comment-7999</guid>
		<description>Glibc is specially compiled to function properly under OpenVZ, so that won&#039;t function too well there.

Just add glibc to your yum.conf excludes. Under [main]:

exclude=glibc*

and yum upgrades will work properly.</description>
		<content:encoded><![CDATA[<p>Glibc is specially compiled to function properly under OpenVZ, so that won&#8217;t function too well there.</p>
<p>Just add glibc to your yum.conf excludes. Under [main]:</p>
<p>exclude=glibc*</p>
<p>and yum upgrades will work properly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

