[PD] Errors in building pd-extended on Odroid C2

angelo.arcadi at virgilio.it angelo.arcadi at virgilio.it
Mon Aug 1 16:53:30 CEST 2016


Dear list members,
when building from source pd-extended (the last version) on the ODROID C2 board, running Ubuntu 16.04,
I get errors, likely related to the linkage to the alsa packages.

To build I simply followed the instructions listed on the puredata.info
(cd pure-data/packages/linux_make and then make install)



Here the lines of the build output were the error begins:

pd-s_audio_alsa.o: In function `check_error':
/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsa.c:72: undefined reference to `snd_strerror'
pd-s_audio_alsa.o: In function `alsaio_setup':
/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_audio_alsa.c:121: undefined reference to `snd_pcm_hw_params_sizeof'

It terminates with the following lines:

pd-s_midi_alsa.o: In function `sys_alsa_close_midi':
/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:278: undefined reference to `snd_seq_close'
/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src/s_midi_alsa.c:281: undefined reference to `snd_midi_event_free'
collect2: error: ld returned 1 exit status
Makefile:722: recipe for target 'pd' failed
make[5]: *** [pd] Error 1
make[5]: Leaving directory '/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src'
Makefile:2038: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/odroid/Desktop/pdextended_sources/pd-extended/pd/src'
Makefile:913: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/odroid/Desktop/pdextended_sources/pd-extended/pd'
Makefile:813: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/odroid/Desktop/pdextended_sources/pd-extended/pd'
Makefile:114: recipe for target 'pd' failed
make[1]: *** [pd] Error 2
make[1]: Leaving directory '/home/odroid/Desktop/pdextended_sources/pd-extended/packages'
Makefile:84: recipe for target 'install' failed
make: *** [install] Error 2


Please find attached a .txt file with the whole output of the build.

I think I have all the dependencies correctly installed.

I was wondering, should I build alsa? I had installed via apt-get. Or maybe should I change 
something in the command for compiling? It seems that the compiler does not find the alsa packages.

I would be immensely grateful to anyone who could help me.


Best regards

Angelo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20160801/913b8602/attachment.html>


More information about the Pd-list mailing list