Hello.

I want to build aubio with puredata under GNU/Gentoo Linux.
Pd 0.43 ans aubio 0.3.2

But build stop at linking time.

Is the configure file/makefile file are wrong?

I have m_pd.h in /usr/include and i have put a copy of src directory of pd's tarball in /usr/lib/pd/src



Thanks for help.

Willy.

will puredata # make
/bin/sh ../../libtool --tag=CC   --mode=link gcc -I../../src -I/usr/lib/pd/src -DPD  -Wall -Wextra -fPIC -DPIC  -g -O2 -L../../src -laubio   --export_dynam
ic -shared   -o aubio.pd_linux aubio_setup.o aubioonset~.o aubiotempo~.o aubiotss~.o aubioquiet~.o aubiopitch~.o  -lpthread                              
libtool: link: gcc -I../../src -I/usr/lib/pd/src -DPD -Wall -Wextra -fPIC -DPIC -g -O2 --export_dynamic -o .libs/aubio.pd_linux aubio_setup.o aubioonset~.o
 aubiotempo~.o aubiotss~.o aubioquiet~.o aubiopitch~.o  -L/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/src /var/tmp/portage/media-libs/aubio
-0.3.2-r1/work/aubio-0.3.2/src/.libs/libaubio.so /usr/lib64/libfftw3f.so /usr/lib64/libsamplerate.so -lm -lpthread                                       
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
aubio_setup.o: In function `aubio_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubio_setup.c:15: undefined reference to `post'
aubioonset~.o: In function `aubioonset_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:105: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:105: undefined reference to `class_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:109: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:109: undefined reference to `class_addmethod'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:112: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:112: undefined reference to `class_addmethod'
aubioonset~.o: In function `aubioonset_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:73: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:74: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:75: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:76: undefined reference to `post'
aubioonset~.o: In function `aubioonset_tilde_perform':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:56: undefined reference to `outlet_bang'
aubioonset~.o: In function `aubioonset_tilde_new':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:83: undefined reference to `pd_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:97: undefined reference to `floatinlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:98: undefined reference to `s_bang'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:98: undefined reference to `outlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:99: undefined reference to `post'
aubioonset~.o: In function `aubioonset_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:115: undefined reference to `class_domainsignalin'
aubioonset~.o: In function `aubioonset_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:77: undefined reference to `post'
aubioonset~.o: In function `aubioonset_tilde_dsp':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioonset~.c:68: undefined reference to `dsp_add'
aubiotempo~.o: In function `aubiotempo_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:108: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:108: undefined reference to `class_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:113: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:113: undefined reference to `class_addmethod'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:116: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:116: undefined reference to `class_addmethod'
aubiotempo~.o: In function `aubiotempo_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:68: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:69: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:70: undefined reference to `post'
aubiotempo~.o: In function `aubiotempo_tilde_perform':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:48: undefined reference to `outlet_bang'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:51: undefined reference to `outlet_bang'
aubiotempo~.o: In function `aubiotempo_tilde_new':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:77: undefined reference to `pd_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:91: undefined reference to `floatinlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:92: undefined reference to `s_bang'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:92: undefined reference to `outlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:93: undefined reference to `outlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:94: undefined reference to `post'
aubiotempo~.o: In function `aubiotempo_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:119: undefined reference to `class_domainsignalin'
aubiotempo~.o: In function `aubiotempo_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:71: undefined reference to `post'
aubiotempo~.o: In function `aubiotempo_tilde_dsp':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotempo~.c:63: undefined reference to `dsp_add'
aubiotss~.o: In function `aubiotss_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:124: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:124: undefined reference to `class_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:128: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:128: undefined reference to `class_addmethod'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:131: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:131: undefined reference to `class_addmethod'
aubiotss~.o: In function `aubiotss_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:80: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:81: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:82: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:83: undefined reference to `post'
aubiotss~.o: In function `aubiotss_tilde_dsp':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:74: undefined reference to `dsp_add'
aubiotss~.o: In function `aubiotss_tilde_new':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:91: undefined reference to `pd_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:115: undefined reference to `floatinlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:116: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:116: undefined reference to `outlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:117: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:117: undefined reference to `outlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:118: undefined reference to `post'
aubiotss~.o: In function `aubiotss_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:134: undefined reference to `class_domainsignalin'
aubiotss~.o: In function `aubiotss_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiotss~.c:84: undefined reference to `post'
aubioquiet~.o: In function `aubioquiet_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:104: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:104: undefined reference to `class_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:108: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:108: undefined reference to `class_addmethod'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:111: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:111: undefined reference to `class_addmethod'
aubioquiet~.o: In function `aubioquiet_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:77: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:78: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:79: undefined reference to `post'
aubioquiet~.o: In function `aubioquiet_tilde_perform':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:58: undefined reference to `outlet_bang'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:50: undefined reference to `outlet_bang'
aubioquiet~.o: In function `aubioquiet_tilde_new':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:86: undefined reference to `pd_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:95: undefined reference to `floatinlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:96: undefined reference to `s_bang'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:96: undefined reference to `outlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:97: undefined reference to `outlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:98: undefined reference to `post'
aubioquiet~.o: In function `aubioquiet_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:114: undefined reference to `class_domainsignalin'
aubioquiet~.o: In function `aubioquiet_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:80: undefined reference to `post'
aubioquiet~.o: In function `aubioquiet_tilde_dsp':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubioquiet~.c:72: undefined reference to `dsp_add'
aubiopitch~.o: In function `aubiopitch_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:102: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:102: undefined reference to `class_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:107: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:107: undefined reference to `class_addmethod'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:110: undefined reference to `gensym'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:110: undefined reference to `class_addmethod'
aubiopitch~.o: In function `aubiopitch_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:65: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:66: undefined reference to `post'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:67: undefined reference to `post'
aubiopitch~.o: In function `aubiopitch_tilde_perform':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:49: undefined reference to `outlet_float'
aubiopitch~.o: In function `aubiopitch_tilde_new':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:75: undefined reference to `pd_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:87: undefined reference to `s_float'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:87: undefined reference to `outlet_new'
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:89: undefined reference to `post'
aubiopitch~.o: In function `aubiopitch_tilde_setup':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:113: undefined reference to `class_domainsignalin'
aubiopitch~.o: In function `aubiopitch_tilde_debug':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:68: undefined reference to `post'
aubiopitch~.o: In function `aubiopitch_tilde_dsp':
/var/tmp/portage/media-libs/aubio-0.3.2-r1/work/aubio-0.3.2/plugins/puredata/aubiopitch~.c:60: undefined reference to `dsp_add'
collect2: ld returned 1 exit status
make: *** [aubio.pd_linux] Error 1

--
Willy WOLFF

06 09 72 81 51
11, Rue des Orchidées
67000 Strasbourg