Package: swh-plugins Severity: normal Tags: patch When building 'swh-plugins' on amd64 or ppc64 with gcc-4.0, I get the following error:
make[3]: Entering directory `/swh-plugins-0.4.13/util' if x86_64-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -O6 -fstrength-reduce -funroll-loops -fmove-all-movables -ffast-math -fPIC -DPIC -MT rms.o -MD -MP -MF ".deps/rms.Tpo" -c -o rms.o rms.c; \ then mv -f ".deps/rms.Tpo" ".deps/rms.Po"; else rm -f ".deps/rms.Tpo"; exit 1; fi cc1: error: unrecognized command line option "-fmove-all-movables" make[3]: *** [rms.o] Error 1 make[3]: Leaving directory `/swh-plugins-0.4.13/util' With the attached patch 'swh-plugins' can be compiled on amd64 and ppc64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/swh-plugins-0.4.13/configure.in ./configure.in --- ../tmp-orig/swh-plugins-0.4.13/configure.in 2005-03-05 17:46:13.000000000 +0100 +++ ./configure.in 2005-03-18 13:48:10.000000000 +0100 @@ -99,10 +99,12 @@ AC_MSG_WARN([Can't fine architecture specifaction in CFLAGS, picking one from build host CPU type]) AC_MSG_WARN([May result in non-portable code]) dnl For gcc use: MACHINE="-mcpu=${build_cpu} -march=${build_cpu}" if test ${build_cpu} = "powerpc"; then MACHINE=""; fi + if test ${build_cpu} = "powerpc64"; then MACHINE=""; fi + if test ${build_cpu} = "x86_64"; then MACHINE=""; fi - CFLAGS="$CFLAGS -Wall -O6 -fomit-frame-pointer -fstrength-reduce -funroll-loops -fmove-all-movables -ffast-math -fPIC -DPIC ${MACHINE} ${USE_SSE} ${DARWIN_CFLAGS}" + CFLAGS="$CFLAGS -Wall -O6 -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC ${MACHINE} ${USE_SSE} ${DARWIN_CFLAGS}" dnl For Intel's C compiler use: dnl CC="icc" diff -urN ../tmp-orig/swh-plugins-0.4.13/debian/control ./debian/control --- ../tmp-orig/swh-plugins-0.4.13/debian/control 2005-03-18 14:03:32.062430552 +0100 +++ ./debian/control 2005-03-18 14:03:19.868783930 +0100 @@ -2,7 +2,7 @@ Section: sound Priority: optional Maintainer: Anand Kumria <[EMAIL PROTECTED]> -Build-Depends: debhelper (>> 4.0.0), libtool, ladspa-sdk, fftw3-dev (>= 3.0.1-1), ed +Build-Depends: debhelper (>> 4.0.0), libtool, automake1.8, ladspa-sdk, fftw3-dev (>= 3.0.1-1), ed Standards-Version: 3.6.1.0 Package: swh-plugins diff -urN ../tmp-orig/swh-plugins-0.4.13/util/pitchscale.h ./util/pitchscale.h --- ../tmp-orig/swh-plugins-0.4.13/util/pitchscale.h 2005-03-05 17:46:13.000000000 +0100 +++ ./util/pitchscale.h 2005-03-18 13:51:47.520389503 +0100 @@ -46,6 +46,5 @@ const double sampleRate, const float *indata, float *outdata, const int adding, const float gain); -extern float ps_in[], ps_out[]; #endif -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]