Skip to content

Instantly share code, notes, and snippets.

@lilltroll77
Created April 14, 2011 16:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lilltroll77/919842 to your computer and use it in GitHub Desktop.
Save lilltroll77/919842 to your computer and use it in GitHub Desktop.
build biquad
mikael@ubuntu:~/sc_dsp_filters$ gcc -v
Using built-in specs.
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)
mikael@ubuntu:~/sc_dsp_filters$ xmake all
cd app_example_biquad && xmake all
xmake[1]: Entering directory `/home/mikael/sc_dsp_filters/app_example_biquad'
make -f ../../sc_dsp_filters/build_biquad_coefficients/Makefile \
FILTER='-min -20 -max 20 -step 1 -bits 27 -low 250 -high 4000 -h src/coeffs.h -xc src/coeffs.xc -csv bin/response.csv'
make[2]: Entering directory `/home/mikael/sc_dsp_filters/app_example_biquad'
cc ../../sc_dsp_filters/build_biquad_coefficients/src/makeCoeffs.c
/tmp/ccofRgQU.o: In function `R':
makeCoeffs.c:(.text+0xf3): undefined reference to `floor'
/tmp/ccofRgQU.o: In function `printout':
makeCoeffs.c:(.text+0x314): undefined reference to `sin'
makeCoeffs.c:(.text+0x3de): undefined reference to `log10'
makeCoeffs.c:(.text+0x461): undefined reference to `log10'
makeCoeffs.c:(.text+0x521): undefined reference to `log10'
makeCoeffs.c:(.text+0x5a4): undefined reference to `log10'
/tmp/ccofRgQU.o: In function `peakingEQ':
makeCoeffs.c:(.text+0x6cb): undefined reference to `pow'
makeCoeffs.c:(.text+0x6ef): undefined reference to `sin'
makeCoeffs.c:(.text+0x70e): undefined reference to `sin'
makeCoeffs.c:(.text+0x719): undefined reference to `sinh'
makeCoeffs.c:(.text+0x737): undefined reference to `cos'
makeCoeffs.c:(.text+0x767): undefined reference to `cos'
/tmp/ccofRgQU.o: In function `lowShelf':
makeCoeffs.c:(.text+0x7f3): undefined reference to `pow'
makeCoeffs.c:(.text+0x81c): undefined reference to `sin'
makeCoeffs.c:(.text+0x85d): undefined reference to `sqrt'
makeCoeffs.c:(.text+0x88f): undefined reference to `cos'
makeCoeffs.c:(.text+0x8ae): undefined reference to `sqrt'
makeCoeffs.c:(.text+0x8f1): undefined reference to `cos'
makeCoeffs.c:(.text+0x92b): undefined reference to `cos'
makeCoeffs.c:(.text+0x94a): undefined reference to `sqrt'
makeCoeffs.c:(.text+0x986): undefined reference to `cos'
makeCoeffs.c:(.text+0x9a5): undefined reference to `sqrt'
makeCoeffs.c:(.text+0x9d8): undefined reference to `cos'
makeCoeffs.c:(.text+0xa16): undefined reference to `cos'
makeCoeffs.c:(.text+0xa32): undefined reference to `sqrt'
/tmp/ccofRgQU.o: In function `highShelf':
makeCoeffs.c:(.text+0xab1): undefined reference to `pow'
makeCoeffs.c:(.text+0xada): undefined reference to `sin'
makeCoeffs.c:(.text+0xb0b): undefined reference to `sqrt'
makeCoeffs.c:(.text+0xb39): undefined reference to `cos'
makeCoeffs.c:(.text+0xb58): undefined reference to `sqrt'
makeCoeffs.c:(.text+0xb9f): undefined reference to `cos'
makeCoeffs.c:(.text+0xbd9): undefined reference to `cos'
makeCoeffs.c:(.text+0xbf8): undefined reference to `sqrt'
makeCoeffs.c:(.text+0xc34): undefined reference to `cos'
makeCoeffs.c:(.text+0xc53): undefined reference to `sqrt'
makeCoeffs.c:(.text+0xc86): undefined reference to `cos'
makeCoeffs.c:(.text+0xcb6): undefined reference to `cos'
makeCoeffs.c:(.text+0xccc): undefined reference to `sqrt'
/tmp/ccofRgQU.o: In function `main':
makeCoeffs.c:(.text+0x12a2): undefined reference to `floor'
collect2: ld returned 1 exit status
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/mikael/sc_dsp_filters/app_example_biquad'
xmake[1]: *** [coefficients] Error 2
xmake[1]: Leaving directory `/home/mikael/sc_dsp_filters/app_example_biquad'
xmake: *** [app_example_biquad.all] Error 2
mikael@ubuntu:~/sc_dsp_filters$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment