build fails for xmms-1.2.10 w/gcc 4.1.0

"Springer, Doug" <[email protected]> Wed, 11 Oct 2006 12:39:01 -0700
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.

--===============090263028410647594==
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C6ED6D.05149D6C"
Content-class: urn:content-classes:message

This is a multi-part message in MIME format.

------_=_NextPart_001_01C6ED6D.05149D6C
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi,
I'd go through bugzilla, but our IT department seems to think bugzilla
is an evil I should be protected from...

Summary:

ir.c fails because the static declaration on lines 19 & 22 don't match
the header file ir.h.  I removed the static part of the declarations and
the build finished fine.

Details:

/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xmms
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-D_REENTRANT -I../../intl -I../.. -g -O2 -Wall -Wpointer-arith
-finline-functions -ffast-math -funroll-all-loops -MT ir.lo -MD -MP
-MF .deps/ir.Tpo -c ir.c  -fPIC -DPIC -o ir.lo
ir.c:19: error: static declaration of 'keepGoing' follows non-static
declaration
ir.h:53: error: previous declaration of 'keepGoing' was here
ir.c:22: error: static declaration of 'irapp_thread' follows non-static
declaration
ir.h:52: error: previous declaration of 'irapp_thread' was here


$ gcc -v
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=3D/usr --mandir=3D/usr/share/man
--infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix
--enable-checking=3Drelease --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=3Dc,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=3Dgtk --disable-dssi
--with-java-home=3D/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
--with-cpu=3Dgeneric --host=3Di386-redhat-linux
Thread model: posix
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)



------_=_NextPart_001_01C6ED6D.05149D6C
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7233.69">
<TITLE>build fails for xmms-1.2.10 w/gcc 4.1.0</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Hi,<BR>
I'd go through bugzilla, but our IT department seems to think =
bugzilla<BR>
is an evil I should be protected from...<BR>
<BR>
Summary:<BR>
<BR>
ir.c fails because the static declaration on lines 19 &amp; 22 don't =
match<BR>
the header file ir.h.&nbsp; I removed the static part of the =
declarations and<BR>
the build finished fine.<BR>
<BR>
Details:<BR>
<BR>
/usr/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xmms<BR>
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 =
-I/usr/lib/glib/include<BR>
-D_REENTRANT -I../../intl -I../.. -g -O2 -Wall -Wpointer-arith<BR>
-finline-functions -ffast-math -funroll-all-loops -MT ir.lo -MD -MP<BR>
-MF .deps/ir.Tpo -c ir.c&nbsp; -fPIC -DPIC -o ir.lo<BR>
ir.c:19: error: static declaration of 'keepGoing' follows non-static<BR>
declaration<BR>
ir.h:53: error: previous declaration of 'keepGoing' was here<BR>
ir.c:22: error: static declaration of 'irapp_thread' follows =
non-static<BR>
declaration<BR>
ir.h:52: error: previous declaration of 'irapp_thread' was here<BR>
<BR>
<BR>
$ gcc -v<BR>
Using built-in specs.<BR>
Target: i386-redhat-linux<BR>
Configured with: ../configure --prefix=3D/usr =
--mandir=3D/usr/share/man<BR>
--infodir=3D/usr/share/info --enable-shared --enable-threads=3Dposix<BR>
--enable-checking=3Drelease --with-system-zlib --enable-__cxa_atexit<BR>
--disable-libunwind-exceptions --enable-libgcj-multifile<BR>
--enable-languages=3Dc,c++,objc,obj-c++,java,fortran,ada<BR>
--enable-java-awt=3Dgtk --disable-dssi<BR>
--with-java-home=3D/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre<BR>
--with-cpu=3Dgeneric --host=3Di386-redhat-linux<BR>
Thread model: posix<BR>
gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C6ED6D.05149D6C--

--===============090263028410647594==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
xmms-devel mailing list
[email protected]
http://lists.xmms.org/mailman/listinfo/xmms-devel

--===============090263028410647594==--