Re: Compile error on AMD Athlon 64

"pepe" <[email protected]> Tue, 26 Jul 2005 18:31:08 -0300 (ART)
Newsgroups gmane.comp.multimedia.xmms.devel
Message-ID <[email protected]>
Probably you are compiling with gcc-4.0. The problem with 'keepGoing' and
the other symbols, is that they are declared as extern on ir.h, but they
are  marked as static on ir.c.

I haven't an AMD64 at hand right now to make a patch. Please try removing
the extern keywords on ir.h.


Regards,
Duilio Protti.

> Hello,
> I am running Fedora Core 4 x86_64 on an AMD Athlon 64 platform. FC 4
> includes
> xmms-1.2.10-16, but for some reason, the equalizer has no effect on the
> sound
> output, regardless the output plugins that I use (I've tried alsa, oss,
> esd).
> My sound card is (as detected by FC 4) is VIA VT8233/A/8235/8237 AC97
> Audio
> Controller, and is using snd-via82xx module. I am using alsa-1.0.9
> (shipped
> with FC 4).
>
> So I thought I compile my own version of xmms to see if I can get the
> equalizer of xmms to actually work. During compilation I got error. Below
> is
> the last lines from the "make" command. Any help in resolving this is
> greatly
> appreciated.
>
> If you have any suggestion as to why the equalizer does not work, or how
> to
> fix it, I'd like to know that too.
>
> I apologize if this is not the right list and please point to the right
> direction. Thank you.
>
> ]# make
> ...
> (cd .libs && rm -f libstereo.la && ln -s ../libstereo.la libstereo.la)
> make[3]: Leaving directory `/usr/src/xmms-1.2.10/Effect/stereo_plugin'
> make[3]: Entering directory `/usr/src/xmms-1.2.10/Effect'
> make[3]: Nothing to be done for `all-am'.
> make[3]: Leaving directory `/usr/src/xmms-1.2.10/Effect'
> make[2]: Leaving directory `/usr/src/xmms-1.2.10/Effect'
> Making all in General
> make[2]: Entering directory `/usr/src/xmms-1.2.10/General'
> Making all in ir
> make[3]: Entering directory `/usr/src/xmms-1.2.10/General/ir'
> if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
> -I../..
> -I..
> /../xmms -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib64/glib/includ
> e -D_REENTRANT -I/usr/X11R6/include -I../../intl -I../..    -g -O2 -Wall
> -Wpoint
> er-arith -finline-functions -ffast-math -funroll-all-loops -MT ir.lo -MD
> -MP
> -MF
>  ".deps/ir.Tpo" \
>   -c -o ir.lo `test -f 'ir.c' || echo './'`ir.c; \
> then mv -f ".deps/ir.Tpo" ".deps/ir.Plo"; \
> else rm -f ".deps/ir.Tpo"; exit 1; \
> fi
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../xmms -I/usr/include/gtk-1.2
> -I/usr/i
> nclude/glib-1.2 -I/usr/lib64/glib/include -D_REENTRANT
> -I/usr/X11R6/include
> -I..
> /../intl -I../.. -g -O2 -Wall -Wpointer-arith -finline-functions
> -ffast-math
> -fu
> nroll-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
> declarat
> ion
> ir.h:52: error: previous declaration of 'irapp_thread' was here
> make[3]: *** [ir.lo] Error 1
> make[3]: Leaving directory `/usr/src/xmms-1.2.10/General/ir'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/xmms-1.2.10/General'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/xmms-1.2.10'
> make: *** [all] Error 2
>
> Reuben D. Budiardja
>