compiling aubio

I have been installing the dependinces for ardour 2.5
and I have run int a problem with aubio when I run make I get the following error:
Making all in src
make[1]: Entering directory /home/mark/Desktop/aubio-0.3.2/src' make all-am make[2]: Entering directory/home/mark/Desktop/aubio-0.3.2/src’
/bin/sh …/libtool --mode=link gcc -Wall -Wextra -I/usr/local/include -g -O2 -o libaubio.la -rpath /usr/local/lib -version-info 3:1:1 phasevoc.lo mathutils.lo fft.lo sample.lo hist.lo scale.lo resample.lo onsetdetection.lo tss.lo peakpick.lo biquad.lo pitchdetection.lo pitchmcomb.lo pitchyin.lo pitchschmitt.lo pitchfcomb.lo pitchyinfft.lo beattracking.lo onset.lo tempo.lo filter.lo -L/usr/local/lib -lfftw3f -lm -lsamplerate -lpthread
gcc -shared .libs/phasevoc.o .libs/mathutils.o .libs/fft.o .libs/sample.o .libs/hist.o .libs/scale.o .libs/resample.o .libs/onsetdetection.o .libs/tss.o .libs/peakpick.o .libs/biquad.o .libs/pitchdetection.o .libs/pitchmcomb.o .libs/pitchyin.o .libs/pitchschmitt.o .libs/pitchfcomb.o .libs/pitchyinfft.o .libs/beattracking.o .libs/onset.o .libs/tempo.o .libs/filter.o -L/usr/local/lib /usr/local/lib/libfftw3f.a -lm /usr/lib/libsamplerate.so -lpthread -Wl,-soname -Wl,libaubio.so.2 -o .libs/libaubio.so.2.1.1
/usr/lib/gcc/x86_64-pc-linux/4.2.3/…/…/…/…/x86_64-pc-linux/bin/ld: /usr/local/lib/libfftw3f.a(apiplan.o): relocation R_X86_64_32 against a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libfftw3f.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [libaubio.la] Error 1 make[2]: Leaving directory/home/mark/Desktop/aubio-0.3.2/src’
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mark/Desktop/aubio-0.3.2/src’
make: *** [all-recursive] Error 1
mark@main:~/Desktop/aubio-0.3.2$

Does any body know what i need to get past this? what does recompile with -fPIC mean ?
and what needs to be re compiled?
I am installing this in Bw64 ( a64bit slack variant) this is my first time through this
I have only been on linux 4 months.
Thanks for your help in advance.
Mark

I do not know in detail but -fPIC has something to do how libaries are called. This issue only occours IMHO on 64bit architectures. Just have a 2nd try with -fPIC and it will likely work.

-Erdie

Hi all

I’m stuck with building from source at the aubio stage. My final goal is to build with VST support… but seems quite fare yet :slight_smile:
I followed the instructions on wizard’s post (downloading aubio from http://aubio.org/pub/aubio-0.3.2.tar.gz)

Everything goes well with the the fftw-3.1.3. When I fire the make in the aubio folder I get (after a lot of other output):

aubio_wrap.c:2329: warning: implicit declaration of function ‘PyDict_SetItem’
aubio_wrap.c: In function ‘SWIG_Python_AddErrMesg’:
aubio_wrap.c:2348: error: ‘PyObject’ undeclared (first use in this function)
aubio_wrap.c:2348: error: ‘type’ undeclared (first use in this function)
aubio_wrap.c:2349: error: ‘value’ undeclared (first use in this function)
aubio_wrap.c:2350: error: ‘traceback’ undeclared (first use in this function)
aubio_wrap.c:2353: error: ‘old_str’ undeclared (first use in this function)
aubio_wrap.c: In function ‘SWIG_Python_ArgFail’:
aubio_wrap.c:2375: warning: implicit declaration of function ‘snprintf’
aubio_wrap.c:2375: warning: incompatible implicit declaration of built-in function ‘snprintf’
aubio_wrap.c: At top level:
aubio_wrap.c:2383: error: expected ‘)’ before ‘’ token
aubio_wrap.c:2391: error: expected declaration specifiers or ‘…’ before ‘PyObject’
aubio_wrap.c: In function ‘SWIG_Python_TypeError’:
aubio_wrap.c:2405: error: ‘obj’ undeclared (first use in this function)
aubio_wrap.c:2407: error: ‘PyObject’ undeclared (first use in this function)
aubio_wrap.c:2407: error: ‘str’ undeclared (first use in this function)
aubio_wrap.c:2410: error: ‘PyExc_TypeError’ undeclared (first use in this function)
aubio_wrap.c: At top level:
aubio_wrap.c:2429: error: expected ‘)’ before '
’ token
aubio_wrap.c:2506:4: error: #error “This python version requires swig to be run with the ‘-classic’ option”
aubio_wrap.c:2540: error: expected ‘)’ before ‘’ token
aubio_wrap.c: In function ‘SWIG_CanCastAsInteger’:
aubio_wrap.c:2596: error: ‘errno’ undeclared (first use in this function)
aubio_wrap.c:2596: error: ‘EDOM’ undeclared (first use in this function)
aubio_wrap.c:2596: error: ‘ERANGE’ undeclared (first use in this function)
aubio_wrap.c: At top level:
aubio_wrap.c:2620: error: expected ‘)’ before '
’ token
aubio_wrap.c:2664: error: expected ‘)’ before ‘’ token
aubio_wrap.c:2682: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:2690: error: expected ‘)’ before ‘’ token
aubio_wrap.c:2719: error: expected ‘)’ before '
’ token
aubio_wrap.c:2774: error: expected ‘)’ before ‘’ token
aubio_wrap.c:2813: error: expected ‘)’ before '
’ token
aubio_wrap.c:2831: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:2838: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:2846: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:2854: error: expected ‘)’ before '
’ token
aubio_wrap.c:2869: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:2886: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:2895: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:2926: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:2947: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:2987: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3035: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3066: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3105: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3127: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3158: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3179: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3227: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3275: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3315: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3355: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3394: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3433: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3464: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3495: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3517: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3539: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3564: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3598: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3619: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3659: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3699: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3721: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3743: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3765: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3804: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3843: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3874: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3913: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:3952: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:3973: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4004: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4026: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4048: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4078: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4156: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4244: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4313: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4362: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4383: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4413: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4443: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4473: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4512: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4534: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4556: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4578: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4600: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4622: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4644: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4665: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4687: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4709: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4731: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4762: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4783: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4813: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4843: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4891: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:4949: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:4971: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5002: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5051: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5082: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5162: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5202: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5242: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5264: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5286: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5317: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5348: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5378: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5427: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5484: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5514: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5535: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5566: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5606: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5627: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5667: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5706: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5727: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5766: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5805: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5844: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5883: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:5922: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:5961: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6000: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6040: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6061: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6170: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6200: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6221: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6288: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6337: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6368: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6408: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6429: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6459: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6480: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6502: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6542: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6573: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6604: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6625: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6665: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6717: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6739: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6770: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6792: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6832: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6853: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6920: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:6941: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:6989: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7020: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7059: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7080: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7093: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7221: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7243: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7274: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7296: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7327: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7349: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7380: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7402: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7433: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7455: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7508: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7539: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7561: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7583: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7605: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7639: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7661: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7692: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7714: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7736: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7758: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7780: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7820: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7833: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7855: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7877: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7908: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7930: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:7961: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:7995: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8029: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8058: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8080: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8217: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8239: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8279: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8310: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8323: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8345: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8376: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8401: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8422: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8444: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8475: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8515: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8546: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8568: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8590: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8621: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8659: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8712: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8734: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8756: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8796: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:8817: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:8838: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘SwigMethods’
aubio_wrap.c:9453: error: expected specifier-qualifier-list before ‘PyObject’
aubio_wrap.c:9459: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
aubio_wrap.c:9463: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:9468: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c: In function ‘swig_varlink_print’:
aubio_wrap.c:9482: error: ‘PyObject’ undeclared (first use in this function)
aubio_wrap.c:9482: error: ‘str’ undeclared (first use in this function)
aubio_wrap.c:9482: warning: implicit declaration of function ‘swig_varlink_str’
aubio_wrap.c:9484: warning: format ‘%s’ expects type ‘char ', but argument 3 has type ‘int’
aubio_wrap.c: In function ‘swig_varlink_dealloc’:
aubio_wrap.c:9491: error: ‘swig_varlinkobject’ has no member named ‘vars’
aubio_wrap.c:9493: error: ‘swig_globalvar’ has no member named ‘next’
aubio_wrap.c:9494: warning: implicit declaration of function ‘free’
aubio_wrap.c: At top level:
aubio_wrap.c:9500: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:9518: error: expected declaration specifiers or ‘…’ before ‘PyObject’
aubio_wrap.c: In function ‘swig_varlink_setattr’:
aubio_wrap.c:9520: error: ‘swig_varlinkobject’ has no member named ‘vars’
aubio_wrap.c:9523: error: ‘swig_globalvar’ has no member named ‘set_attr’
aubio_wrap.c:9523: error: ‘p’ undeclared (first use in this function)
aubio_wrap.c:9526: error: ‘swig_globalvar’ has no member named ‘next’
aubio_wrap.c:9529: warning: implicit declaration of function ‘PyErr_SetString’
aubio_wrap.c:9529: error: ‘PyExc_NameError’ undeclared (first use in this function)
aubio_wrap.c: At top level:
aubio_wrap.c:9534: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
aubio_wrap.c:9586: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:9596: error: expected ‘)’ before ‘’ token
aubio_wrap.c:9612: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before '
’ token
aubio_wrap.c:9625: error: expected ‘)’ before ‘’ token
aubio_wrap.c:9652: error: expected ‘)’ before '
’ token
aubio_wrap.c: In function ‘init_aubiowrapper’:
aubio_wrap.c:9705: error: ‘PyObject’ undeclared (first use in this function)
aubio_wrap.c:9705: error: ‘m’ undeclared (first use in this function)
aubio_wrap.c:9705: error: ‘d’ undeclared (first use in this function)
aubio_wrap.c:9705: warning: left-hand operand of comma expression has no effect
aubio_wrap.c:9708: warning: implicit declaration of function ‘SWIG_Python_FixMethods’
aubio_wrap.c:9708: error: ‘SwigMethods’ undeclared (first use in this function)
aubio_wrap.c:9711: warning: implicit declaration of function ‘PyModule_GetDict’
aubio_wrap.c:9714: warning: implicit declaration of function ‘SWIG_Python_InstallConstants’
aubio_wrap.c:9717: warning: implicit declaration of function ‘SWIG_Python_SetConstant’
aubio_wrap.c:9717: warning: implicit declaration of function ‘SWIG_From_int’
make[2]: *** [aubio_wrap.lo] Error 1
make[2]: Leaving directory /home/lorenzo/dsl/aubio-0.3.2/python/aubio' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/lorenzo/dsl/aubio-0.3.2/python’
make: *** [all-recursive] Error 1

Help would be much appreciated… I am on Ubuntu 8.4 (April 2008)

Thanks,
Lorenzo

aubio complile problem -----------------------
you have to re-compile your fftw-3.1.3 library like this

CFLAGS="-fPIC"

export CFLAGS

make clean

./configure --disable-float

make

make install

make clean

./configure --enable-float

make

make install

and now cd to aubio dir and

make clean

./configure

make

make install

enjoy