Re: build fails for xmms-1.2.10 w/gcc 4.1.0

Thomas Nilsson <[email protected]> Thu, 12 Oct 2006 21:06:49 +0200
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
Springer, Doug wrote:
> 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=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --enable-checking=release --with-system-zlib --enable-__cxa_atexit
> --disable-libunwind-exceptions --enable-libgcj-multifile
> --enable-languages=c,c++,objc,obj-c++,java,fortran,ada
> --enable-java-awt=gtk --disable-dssi
> --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
> --with-cpu=generic --host=i386-redhat-linux
> Thread model: posix
> gcc version 4.1.0 20060304 (Red Hat 4.1.0-3)

If you guys have a database of issues at work, always ignore it and send 
all inquiries to everyone at work.

Especially if it's a reoccurring issue which many people experience.

After a couple of months, having all people mailing everyone, tell your 
IT department they are a bunch of <insert animal reference profanity>.

Please use the cvs, cvs snapshot, or read the bugzilla for how to 
correct this issue.

Best regards,
Thomas