Hello Willy,
I also had this problem (gentoo). The work-around I've found is
mv /usr/include/m_pd.h /usr/include/m_pd.h- emerge -1av aubio mv /usr/include/m_pd.h- /usr/include/m_pd.h
See Gentoo Bug 369835: https://bugs.gentoo.org/show_bug.cgi?id=369835
Bon dimanche, Xavier.
Le 03/07/11 11:27, Willy WOLFF a écrit :
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 functionaubio_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 functionaubioonset_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 toclass_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 toclass_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 toclass_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 topost' /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 topost' /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 functionaubioonset_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 functionaubioonset_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 tofloatinlet_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 tooutlet_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 functionaubioonset_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 functionaubioonset_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 functionaubioonset_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 functionaubiotempo_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 toclass_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 toclass_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 toclass_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 topost' /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 topost' 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 tooutlet_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 functionaubiotempo_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 tofloatinlet_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 tooutlet_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 topost' 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 toclass_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 topost' 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 todsp_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 togensym' /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 togensym' /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 togensym' /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 functionaubiotss_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 topost' /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 topost' 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 todsp_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 topd_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 togensym' /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 togensym' /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 topost' 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 toclass_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 topost' 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 togensym' /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 togensym' /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 togensym' /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 functionaubioquiet_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 topost' /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 functionaubioquiet_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 tooutlet_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 topd_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 tos_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 tooutlet_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 functionaubioquiet_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 functionaubioquiet_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 functionaubioquiet_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 functionaubiopitch_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 toclass_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 toclass_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 toclass_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 topost' /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 topost' 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 tooutlet_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 topd_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 tooutlet_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 functionaubiopitch_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 functionaubiopitch_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 functionaubiopitch_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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list