caps: new package
PATCH v2 1/2 caps: new package
CAPS is a collection of audio plugins comprising virtual guitar amplification and a small range of basic classic effects, signal processors and generators of often elementary and occasionally exotic nature.
The plugins aim to satisfy the highest demands in sound quality with maximal computational efficiency and zero latency.
---
Changes v1 -> v2:
- Added dependency to BR2_INSTALL_LIBSTDCPP (Thomas Petazzoni)
- Add description and Signed-off-by to patch (Thomas Petazzoni)
- Fixed use of $(TARGET_CONFIGURE_OPTS) and $(TARGET_MAKE_ENV) (Thomas Petazzoni)
--- package/Config.in | 1 + package/caps/Config.in | 16 +++++ package/caps/caps-01-fix-cross-compilation.patch | 79 ++++++++++++++++++++++++ package/caps/caps.mk | 23 +++++++ 4 files changed, 119 insertions(+) create mode 100644 package/caps/Config.in create mode 100644 package/caps/caps-01-fix-cross-compilation.patch create mode 100644 package/caps/caps.mk
package/Config.in +1 -0
@@ -525,6 +525,7 @@ menu "Libraries" menu "Audio/Sound" source "package/alsa-lib/Config.in" source "package/audiofile/Config.in" + source "package/caps/Config.in" source "package/celt051/Config.in" source "package/fdk-aac/Config.in" source "package/libao/Config.in"
package/caps/Config.in new file +16 -0
@@ -0,0 +1,16 @@ +config BR2_PACKAGE_CAPS + bool "caps" + depends on BR2_INSTALL_LIBSTDCPP + help + CAPS is a collection of audio plugins comprising virtual guitar + amplification and a small range of basic classic effects, signal + processors and generators of often elementary and occasionally + exotic nature. + + The plugins aim to satisfy the highest demands in sound quality + with maximal computational efficiency and zero latency. + + http://quitte.de/dsp/caps.html + +comment "caps needs a toolchain w/ C++" + depends on !BR2_INSTALL_LIBSTDCPP
package/caps/caps-01-fix-cross-compilation.patch new file +79 -0
79 lines not on this page · raw message
package/caps/caps.mk new file +23 -0
@@ -0,0 +1,23 @@ +################################################################################ +# +# caps +# +################################################################################ + +CAPS_VERSION = 0.9.23 +CAPS_SOURCE = caps_$(CAPS_VERSION).tar.bz2 +CAPS_SITE = http://quitte.de/dsp/ +CAPS_LICENSE = GPLv3 +CAPS_LICENSE_FILES = COPYING + +define CAPS_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + all -C $(@D) +endef + +define CAPS_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) install -C $(@D) +endef + +$(eval $(generic-package))
Signature · 1 line
1.9.1
PATCH v2 2/2 alsaequal: new package
Alsaequal is a real-time adjustable equalizer plugin for ALSA. It can be adjusted using an ALSA compatible mixer, like alsamixergui or alsamixer.
Alsaequal uses the Eq CAPS LADSPA Plugin as it's default equalizer.
---
Changes v1 -> v2:
- Add description and Signed-off-by to patch files (Thomas Petazzoni)
- Fixed use of $(TARGET_CONFIGURE_OPTS) and $(TARGET_MAKE_ENV) (Thomas Petazzoni)Petazzoni)
--- package/Config.in | 1 + package/alsaequal/Config.in | 18 +++++ .../alsaequal-01-fix-cross-compilation.patch | 49 ++++++++++++ package/alsaequal/alsaequal-02-fix-eq-name.patch | 86 ++++++++++++++++++++++ .../alsaequal/alsaequal-03-fix-caps-error.patch | 37 ++++++++++ package/alsaequal/alsaequal.mk | 24 ++++++ package/alsaequal/readme.txt | 59 +++++++++++++++ 7 files changed, 274 insertions(+) create mode 100644 package/alsaequal/Config.in create mode 100644 package/alsaequal/alsaequal-01-fix-cross-compilation.patch create mode 100644 package/alsaequal/alsaequal-02-fix-eq-name.patch create mode 100644 package/alsaequal/alsaequal-03-fix-caps-error.patch create mode 100644 package/alsaequal/alsaequal.mk create mode 100644 package/alsaequal/readme.txt
package/Config.in +1 -0
@@ -523,6 +523,7 @@ endmenu menu "Libraries" menu "Audio/Sound" + source "package/alsaequal/Config.in" source "package/alsa-lib/Config.in" source "package/audiofile/Config.in" source "package/caps/Config.in"
package/alsaequal/Config.in new file +18 -0
@@ -0,0 +1,18 @@ +config BR2_PACKAGE_ALSAEQUAL + bool "alsaequal" + depends on BR2_INSTALL_LIBSTDCPP + depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib + select BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_CAPS # Runtime dependency + help + Alsaequal is a real-time adjustable equalizer plugin for ALSA. It + can be adjusted using an ALSA compatible mixer, like alsamixergui + or alsamixer. + + Alsaequal uses the Eq CAPS LADSPA Plugin as it's default + equalizer. + + http://www.thedigitalmachine.net/alsaequal.html + +comment "alsaequal needs a toolchain w/ C++, threads" + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
package/alsaequal/alsaequal-01-fix-cross-compilation.patch new file +49 -0
49 lines not on this page · raw message
package/alsaequal/alsaequal-02-fix-eq-name.patch new file +86 -0
86 lines not on this page · raw message
package/alsaequal/alsaequal-03-fix-caps-error.patch new file +37 -0
@@ -0,0 +1,37 @@ +From f773aef9e1275f61577819ffc1ef9b8c8b739ec3 Mon Sep 17 00:00:00 2001 +From: Martin Bark <[email protected]> +Date: Tue, 5 Aug 2014 22:28:57 +0100 +Subject: [PATCH 3/3] Fix caps error + +Fix a spurious error with newer caps versions. Fix from +debian/patches/06_fix-caps-error.patch. + +Origin: vendor, https://aur.archlinux.org/packages/alsaequal/?comments=all +Forwarded: no +Author: Alessandro Ghedini <[email protected]> +Last-Update: 2013-08-30 +Applied-Upstream: *** FIXME *** + +Signed-off-by: Martin Bark <[email protected]> +--- + ctl_equal.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/ctl_equal.c b/ctl_equal.c +index afba793..bd0a8ba 100644 +--- a/ctl_equal.c ++++ b/ctl_equal.c +@@ -263,8 +263,8 @@ SND_CTL_PLUGIN_DEFINE_FUNC(equal) + for(i = 0; i < equal->num_input_controls; i++) { + if(equal->control_data->control[i].type == LADSPA_CNTRL_INPUT) { + index = equal->control_data->control[i].index; +- if(equal->klass->PortDescriptors[index] != +- (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) { ++ if((equal->klass->PortDescriptors[index] & ++ (LADSPA_PORT_INPUT | LADSPA_PORT_CONTROL)) == 0) { + SNDERR("Problem with control file %s, %d.", controls, index); + return -1; + } +-- +1.9.1 +
package/alsaequal/alsaequal.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# alsaequal +# +################################################################################ + +ALSAEQUAL_VERSION = 0.6 +ALSAEQUAL_SOURCE = alsaequal-$(ALSAEQUAL_VERSION).tar.bz2 +ALSAEQUAL_SITE = http://www.thedigitalmachine.net/tools/ +ALSAEQUAL_LICENSE = LGPLv2.1 +ALSAEQUAL_LICENSE_FILES = COPYING +ALSAEQUAL_DEPENDENCIES = alsa-lib + +define ALSAEQUAL_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + all -C $(@D) +endef + +define ALSAEQUAL_INSTALL_TARGET_CMDS + $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \ + DESTDIR=$(TARGET_DIR) install -C $(@D) +endef + +$(eval $(generic-package))
package/alsaequal/readme.txt new file +59 -0
59 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v2 1/2 caps: new package
In reply to Martin BarkDear Martin Bark,
Quoted 11 lines · Martin Bark
CAPS is a collection of audio plugins comprising virtual guitar amplification and a small range of basic classic effects, signal processors and generators of often elementary and occasionally exotic nature.
The plugins aim to satisfy the highest demands in sound quality with maximal computational efficiency and zero latency.
Signed-off-by Martin Bark <[email protected]>CC Thomas Petazzoni <[email protected]>
Quoted 6 lines
---
Changes v1 -> v2:
- Added dependency toBR2_INSTALL_LIBSTDCPP(Thomas Petazzoni)
- Add description and Signed-off-by to patch (Thomas Petazzoni)
- Fixed use of $(TARGET_CONFIGURE_OPTS) and $(TARGET_MAKE_ENV) (Thomas Petazzoni)
Thanks for this new version. Review-wise, it looks good, but unfortunately, it doesn't build here:
/home/thomas/projets/buildroot/output/host/usr/bin/arm-linux-g++ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -fPIC -DPIC -o Eq.o -c Eq.cc In file included from dsp/Oversampler.h:35:0,
from Amp.h:35,
from Amp.cc:30:dsp/windows.h: In function ?void DSP::kaiser(sample_t*, int, double, double)?:dsp/windows.h:165:17: error: there are no arguments to ?finite? that depend on a template parameter, so a declaration of ?finite? must be available [-fpermissive] dsp/windows.h:165:17: note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from Eq.h:36:0,
from Eq.cc:33:
dsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4f::set_eq(v4f_t, v4f_t, v4f_t)?:dsp/v4f_BiQuad.h:145:17: error: ?pow10f? was not declared in this scope dsp/v4f_BiQuad.h:145:27: error: no matching function for call to ?v4f_map(v4f_t&)? dsp/v4f_BiQuad.h:145:27: note: candidate is:
In file included from Eq.h:35:0,
from Eq.cc:33:
dsp/v4f.h:74:7: note: template<float (* fn)(float)> v4f_t v4f_map(v4f_t)
dsp/v4f.h:74:7: note: template argument deduction/substitution failed:
In file included from Eq.h:36:0,
from Eq.cc:33:dsp/v4f_BiQuad.h:145:27: error: template argument 1 is invalid
In file included from Compress.h:36:0,
from Compress.cc:28:dsp/windows.h: In function ?void DSP::kaiser(sample_t*, int, double, double)?:dsp/windows.h:165:17: error: there are no arguments to ?finite? that depend on a template parameter, so a declaration of ?finite? must be available [-fpermissive]dsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4fBank<N>::set_eq(v4f_t*, v4f_t*, v4f_t*)?:dsp/v4f_BiQuad.h:432:18: error: ?pow10f? was not declared in this scope
dsp/windows.h:165:17: note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the use of an undeclared name is deprecated) dsp/windows.h: In instantiation of ?void DSP::kaiser(sample_t*, int, double, double) [with void (* F)(sample_t&, sample_t) = DSP::apply_window; sample_t = float]?:dsp/Oversampler.h:73:5: required from ?void DSP::Oversampler<Oversample, FIRSize>::init(float) [with int Oversample = 2; int FIRSize = 32]?dsp/Oversampler.h:65:6: required from ?DSP::Oversampler<Oversample, FIRSize>::Oversampler() [with int Oversample = 2; int FIRSize = 32]?
Amp.h:44:7: required from ?static void* Descriptor<T>::_instantiate(const _LADSPA_Descriptor*, ulong) [with T = AmpVTS; LADSPA_Handle = void*; _LADSPA_Descriptor = _LADSPA_Descriptor; ulong = long unsigned int]?
Descriptor.h:123:5: required from ?void Descriptor<T>::autogen() [with T = AmpVTS]?
Amp.cc:222:2: required from heredsp/windows.h:165:3: error: ?finite? was not declared in this scopedsp/windows.h: In instantiation of ?void DSP::kaiser(sample_t*, int, double, double) [with void (* F)(sample_t&, sample_t) = DSP::apply_window; sample_t = float]?:
Compress.h:53:5: required from ?void CompSaturate<Over, FIRSize>::init(double) [with int Over = 2; int FIRSize = 32]?
Compress.h:123:6: required from ?void CompressStub<Channels>::init() [with int Channels = 1]?
Descriptor.h:150:5: required from ?static void* Descriptor<T>::_instantiate(const _LADSPA_Descriptor*, ulong) [with T = Compress; LADSPA_Handle = void*; _LADSPA_Descriptor = _LADSPA_Descriptor; ulong = long unsigned int]?
Descriptor.h:123:5: required from ?void Descriptor<T>::autogen() [with T = Compress]?
Compress.cc:157:2: required from heredsp/windows.h:165:3: error: ?finite? was not declared in this scope
make[1]: *** [Eq.o] Erreur 1
make[1]: *** Attente des t?ches non termin?es....
make[1]: *** [Amp.o] Erreur 1
In file included from dsp/Oversampler.h:35:0,
from Cabinet.h:42,
from Click.cc:158:dsp/windows.h: In function ?void DSP::kaiser(sample_t*, int, double, double)?:dsp/windows.h:165:17: error: there are no arguments to ?finite? that depend on a template parameter, so a declaration of ?finite? must be available [-fpermissive] dsp/windows.h:165:17: note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from Cabinet.h:45:0,
from Click.cc:158:
dsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4f::set_eq(v4f_t, v4f_t, v4f_t)?:dsp/v4f_BiQuad.h:145:17: error: ?pow10f? was not declared in this scope dsp/v4f_BiQuad.h:145:27: error: no matching function for call to ?v4f_map(v4f_t&)? dsp/v4f_BiQuad.h:145:27: note: candidate is:
In file included from Cabinet.h:43:0,
from Click.cc:158:
dsp/v4f.h:74:7: note: template<float (* fn)(float)> v4f_t v4f_map(v4f_t)
dsp/v4f.h:74:7: note: template argument deduction/substitution failed:
In file included from Cabinet.h:45:0,
from Click.cc:158:dsp/v4f_BiQuad.h:145:27: error: template argument 1 is invaliddsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4fBank<N>::set_eq(v4f_t*, v4f_t*, v4f_t*)?:dsp/v4f_BiQuad.h:432:18: error: ?pow10f? was not declared in this scope
make[1]: *** [Compress.o] Erreur 1
In file included from dsp/Oversampler.h:35:0,
from Cabinet.h:42,
from Cabinet.cc:29:dsp/windows.h: In function ?void DSP::kaiser(sample_t*, int, double, double)?:dsp/windows.h:165:17: error: there are no arguments to ?finite? that depend on a template parameter, so a declaration of ?finite? must be available [-fpermissive] dsp/windows.h:165:17: note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from Cabinet.h:45:0,
from Cabinet.cc:29:
dsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4f::set_eq(v4f_t, v4f_t, v4f_t)?:dsp/v4f_BiQuad.h:145:17: error: ?pow10f? was not declared in this scope dsp/v4f_BiQuad.h:145:27: error: no matching function for call to ?v4f_map(v4f_t&)? dsp/v4f_BiQuad.h:145:27: note: candidate is:
In file included from Cabinet.h:43:0,
from Cabinet.cc:29:
dsp/v4f.h:74:7: note: template<float (* fn)(float)> v4f_t v4f_map(v4f_t)
dsp/v4f.h:74:7: note: template argument deduction/substitution failed:
In file included from Cabinet.h:45:0,
from Cabinet.cc:29:dsp/v4f_BiQuad.h:145:27: error: template argument 1 is invaliddsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4fBank<N>::set_eq(v4f_t*, v4f_t*, v4f_t*)?:dsp/v4f_BiQuad.h:432:18: error: ?pow10f? was not declared in this scope
make[1]: *** [Click.o] Erreur 1
In file included from dsp/Oversampler.h:35:0,
from Cabinet.h:42,
from Cabinet.cc:29:dsp/windows.h: In instantiation of ?void DSP::kaiser(sample_t*, int, double, double) [with void (* F)(sample_t&, sample_t) = DSP::apply_window; sample_t = float]?:dsp/Oversampler.h:73:5: required from ?void DSP::Oversampler<Oversample, FIRSize>::init(float) [with int Oversample = 4; int FIRSize = 64]?
Cabinet.cc:251:31: required from heredsp/windows.h:165:3: error: ?finite? was not declared in this scope
make[1]: *** [Cabinet.o] Erreur 1
make[1]: quittant le r?pertoire ? /home/thomas/projets/buildroot/output/build/caps-0.9.23 ?
make: *** [/home/thomas/projets/buildroot/output/build/caps-0.9.23/.stamp_built] Erreur 2
You can use this defconfig to reproduce the problem:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2014.05-rc1.tar.bz2" BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14=y
BR2_TOOLCHAIN_EXTERNAL_LARGEFILE=y
BR2_TOOLCHAIN_EXTERNAL_INET_IPV6=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_CAPS=y
# BR2_TARGET_ROOTFS_TAR is not set
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH v2 1/2 caps: new package
Thomas,
Quoted 142 lines · Thomas Petazzoni
Dear Martin Bark,
Quoted 11 lines · Martin Bark
CAPS is a collection of audio plugins comprising virtual guitar amplification and a small range of basic classic effects, signal processors and generators of often elementary and occasionally exotic nature.
The plugins aim to satisfy the highest demands in sound quality with maximal computational efficiency and zero latency.
Signed-off-by Martin Bark <[email protected]>CC Thomas Petazzoni <[email protected]>Quoted 6 lines
---
Changes v1 -> v2:
- Added dependency toBR2_INSTALL_LIBSTDCPP(Thomas Petazzoni)
- Add description and Signed-off-by to patch (Thomas Petazzoni)
- Fixed use of $(TARGET_CONFIGURE_OPTS) and $(TARGET_MAKE_ENV) (Thomas Petazzoni)Thanks for this new version. Review-wise, it looks good, but unfortunately, it doesn't build here:
/home/thomas/projets/buildroot/output/host/usr/bin/arm-linux-g++-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -fPIC -DPIC -o Eq.o -c Eq.cc In file included fromdsp/Oversampler.h:35:0,from Amp.h:35, from Amp.cc:30:
dsp/windows.h: In function ?voidDSP::kaiser(sample_t*, int, double, double)?:dsp/windows.h:165:17: error: there are no arguments to ?finite? that depend on a template parameter, so a declaration of ?finite? must be available [-fpermissive]dsp/windows.h:165:17: note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from Eq.h:36:0,from Eq.cc:33:
dsp/v4f_BiQuad.h: In member function ?voidDSP::BiQuad4f::set_eq(v4f_t, v4f_t, v4f_t)?:dsp/v4f_BiQuad.h:145:17: error: ?pow10f? was not declared in this scopedsp/v4f_BiQuad.h:145:27: error: no matching function for call to ?v4f_map(v4f_t&)?dsp/v4f_BiQuad.h:145:27: note: candidate is:
In file included from Eq.h:35:0,from Eq.cc:33: dsp/v4f.h:74:7: note: template<float (* fn)(float)> v4f_t v4f_map(v4f_t) dsp/v4f.h:74:7: note: template argument deduction/substitution failed: In file included from Eq.h:36:0, from Eq.cc:33:
dsp/v4f_BiQuad.h:145:27: error: template argument 1 is invalid
In file included from Compress.h:36:0,
from Compress.cc:28:dsp/windows.h: In function ?voidDSP::kaiser(sample_t*, int, double, double)?:dsp/windows.h:165:17: error: there are no arguments to ?finite? that depend on a template parameter, so a declaration of ?finite? must be available [-fpermissive]dsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4fBank<N>::set_eq(v4f_t*, v4f_t*, v4f_t*)?:dsp/v4f_BiQuad.h:432:18: error: ?pow10f? was not declared in this scope
dsp/windows.h:165:17: note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the use of an undeclared name is deprecated)dsp/windows.h: In instantiation of ?voidDSP::kaiser(sample_t*, int, double, double)[with void (* F)(sample_t&,sample_t) =DSP::apply_window;sample_t= float]?:dsp/Oversampler.h:73:5: required from ?void DSP::Oversampler<Oversample, FIRSize>::init(float) [with int Oversample = 2; int FIRSize = 32]?dsp/Oversampler.h:65:6: required from ?DSP::Oversampler<Oversample, FIRSize>::Oversampler() [with int Oversample = 2; int FIRSize = 32]?
Amp.h:44:7: required from ?static void* Descriptor<T>::_instantiate(const _LADSPA_Descriptor*, ulong) [with T = AmpVTS;LADSPA_Handle= void*;_LADSPA_Descriptor=_LADSPA_Descriptor; ulong = long unsigned int]?
Descriptor.h:123:5: required from ?void Descriptor<T>::autogen() [with T = AmpVTS]?
Amp.cc:222:2: required from heredsp/windows.h:165:3: error: ?finite? was not declared in this scopedsp/windows.h: In instantiation of ?voidDSP::kaiser(sample_t*, int, double, double)[with void (* F)(sample_t&,sample_t) =DSP::apply_window;sample_t= float]?:
Compress.h:53:5: required from ?void CompSaturate<Over, FIRSize>::init(double) [with int Over = 2; int FIRSize = 32]?
Compress.h:123:6: required from ?void CompressStub<Channels>::init() [with int Channels = 1]?
Descriptor.h:150:5: required from ?static void* Descriptor<T>::_instantiate(const _LADSPA_Descriptor*, ulong) [with T = Compress;LADSPA_Handle= void*;_LADSPA_Descriptor=_LADSPA_Descriptor; ulong = long unsigned int]?
Descriptor.h:123:5: required from ?void Descriptor<T>::autogen() [with T = Compress]?
Compress.cc:157:2: required from heredsp/windows.h:165:3: error: ?finite? was not declared in this scope
make[1]: *** [Eq.o] Erreur 1
make[1]: *** Attente des t?ches non termin?es....
make[1]: *** [Amp.o] Erreur 1
In file included fromdsp/Oversampler.h:35:0,from Cabinet.h:42, from Click.cc:158:
dsp/windows.h: In function ?voidDSP::kaiser(sample_t*, int, double, double)?:dsp/windows.h:165:17: error: there are no arguments to ?finite? that depend on a template parameter, so a declaration of ?finite? must be available [-fpermissive]dsp/windows.h:165:17: note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from Cabinet.h:45:0,from Click.cc:158:
dsp/v4f_BiQuad.h: In member function ?voidDSP::BiQuad4f::set_eq(v4f_t, v4f_t, v4f_t)?:dsp/v4f_BiQuad.h:145:17: error: ?pow10f? was not declared in this scopedsp/v4f_BiQuad.h:145:27: error: no matching function for call to ?v4f_map(v4f_t&)?dsp/v4f_BiQuad.h:145:27: note: candidate is:
In file included from Cabinet.h:43:0,from Click.cc:158: dsp/v4f.h:74:7: note: template<float (* fn)(float)> v4f_t v4f_map(v4f_t) dsp/v4f.h:74:7: note: template argument deduction/substitution failed: In file included from Cabinet.h:45:0, from Click.cc:158:
dsp/v4f_BiQuad.h:145:27: error: template argument 1 is invaliddsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4fBank<N>::set_eq(v4f_t*, v4f_t*, v4f_t*)?:dsp/v4f_BiQuad.h:432:18: error: ?pow10f? was not declared in this scope
make[1]: *** [Compress.o] Erreur 1
In file included fromdsp/Oversampler.h:35:0,from Cabinet.h:42, from Cabinet.cc:29:
dsp/windows.h: In function ?voidDSP::kaiser(sample_t*, int, double, double)?:dsp/windows.h:165:17: error: there are no arguments to ?finite? that depend on a template parameter, so a declaration of ?finite? must be available [-fpermissive]dsp/windows.h:165:17: note: (if you use ?-fpermissive?, G++ will accept your code, but allowing the use of an undeclared name is deprecated) In file included from Cabinet.h:45:0,from Cabinet.cc:29:
dsp/v4f_BiQuad.h: In member function ?voidDSP::BiQuad4f::set_eq(v4f_t, v4f_t, v4f_t)?:dsp/v4f_BiQuad.h:145:17: error: ?pow10f? was not declared in this scopedsp/v4f_BiQuad.h:145:27: error: no matching function for call to ?v4f_map(v4f_t&)?dsp/v4f_BiQuad.h:145:27: note: candidate is:
In file included from Cabinet.h:43:0,from Cabinet.cc:29: dsp/v4f.h:74:7: note: template<float (* fn)(float)> v4f_t v4f_map(v4f_t) dsp/v4f.h:74:7: note: template argument deduction/substitution failed: In file included from Cabinet.h:45:0, from Cabinet.cc:29:
dsp/v4f_BiQuad.h:145:27: error: template argument 1 is invaliddsp/v4f_BiQuad.h: In member function ?void DSP::BiQuad4fBank<N>::set_eq(v4f_t*, v4f_t*, v4f_t*)?:dsp/v4f_BiQuad.h:432:18: error: ?pow10f? was not declared in this scope
make[1]: *** [Click.o] Erreur 1
In file included fromdsp/Oversampler.h:35:0,from Cabinet.h:42, from Cabinet.cc:29:
dsp/windows.h: In instantiation of ?voidDSP::kaiser(sample_t*, int, double, double)[with void (* F)(sample_t&,sample_t) =DSP::apply_window;sample_t= float]?:dsp/Oversampler.h:73:5: required from ?void DSP::Oversampler<Oversample, FIRSize>::init(float) [with int Oversample = 4; int FIRSize = 64]?
Cabinet.cc:251:31: required from heredsp/windows.h:165:3: error: ?finite? was not declared in this scope
make[1]: *** [Cabinet.o] Erreur 1
make[1]: quittant le r?pertoire ?/home/thomas/projets/buildroot/output/build/caps-0.9.23?
make: *** [/home/thomas/projets/buildroot/output/build/caps-0.9.23/.stamp_built] Erreur 2You can use this defconfig to reproduce the problem:
BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2014.05-rc1.tar.bz2" BR2_TOOLCHAIN_EXTERNAL_HEADERS_3_14=y
BR2_TOOLCHAIN_EXTERNAL_LARGEFILE=y
BR2_TOOLCHAIN_EXTERNAL_INET_IPV6=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
#BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUGis not set
BR2_TOOLCHAIN_EXTERNAL_INET_RPC=y
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
#BR2_PACKAGE_BUSYBOXis not set
BR2_PACKAGE_CAPS=y
#BR2_TARGET_ROOTFS_TARis not set
Quoted 4 lines
Thanks,
Thomas
Thanks for running the test. After a quick looks it seems the finite() and pow10f() functions are the issue. I tried a quick change to use isfinite() and powf(10,x) instead and that builds.
I'm off on holiday now for a week so I?ll create an updated patch when i get back.
Thanks
Martin
PATCH v2 1/2 caps: new package
Dear Martin Bark,
Quoted 6 lines · Martin Bark
Thanks for running the test. After a quick looks it seems the
finite()andpow10f()functions are the issue. I tried a quick change to useisfinite()andpowf(10,x)instead and that builds.I'm off on holiday now for a week so I?ll create an updated patch when i get back.
Any news about this?
Since you did not send updated versions of this patch, I'll mark this patch, and the following one add alsaequal as "Changes Requested" in patchwork. Therefore, if you would like to see those patches merged in Buildroot, could you resend an updated versions that fixes the build issues that I reported back in August?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com