Dear list members, I am trying to build from sources pd-vanilla (the last version) on the ODROID C2 board, over Ubuntu 16.04. I get errors, likely related to the linkage of pd-g_canvas.o and pd-g_editor.o and I have not figured out how to solve the problem. Can anyone help me please?
The error happens when launching make:
make -C po all
make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
make[1]: Entering directory '/home/odroid/Desktop/puredata/pure-data/po'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/odroid/Desktop/puredata/pure-data/po'
make all-recursive
make[1]: Entering directory '/home/odroid/Desktop/puredata/pure-data'
Making all in portaudio
make[2]: Entering directory '/home/odroid/Desktop/puredata/pure-data/portaudio'
if test -n "" ; then for dir in ""; do make -C $dir all; done ; fi
make[2]: Leaving directory '/home/odroid/Desktop/puredata/pure-data/portaudio'
Making all in src
make[2]: Entering directory '/home/odroid/Desktop/puredata/pure-data/src'
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -export-dynamic -lm -o pd pd-g_canvas.o pd-g_graph.o pd-g_text.o pd-g_rtext.o pd-g_array.o pd-g_template.o pd-g_io.o pd-g_scalar.o pd-g_traversal.o pd-g_guiconnect.o pd-g_readwrite.o pd-g_editor.o pd-g_clone.o pd-g_all_guis.o pd-g_bang.o pd-g_hdial.o pd-g_hslider.o pd-g_mycanvas.o pd-g_numbox.o pd-g_toggle.o pd-g_vdial.o pd-g_vslider.o pd-g_vumeter.o pd-m_pd.o pd-m_class.o pd-m_obj.o pd-m_atom.o pd-m_memory.o pd-m_binbuf.o pd-m_conf.o pd-m_glob.o pd-m_sched.o pd-s_main.o pd-s_inter.o pd-s_file.o pd-s_print.o pd-s_loader.o pd-s_path.o pd-s_entry.o pd-s_audio.o pd-s_midi.o pd-s_utf8.o pd-d_ugen.o pd-d_ctl.o pd-d_arithmetic.o pd-d_osc.o pd-d_filter.o pd-d_dac.o pd-d_misc.o pd-d_math.o pd-d_fft.o pd-d_array.o pd-d_global.o pd-d_delay.o pd-d_resample.o pd-d_soundfile.o pd-x_arithmetic.o pd-x_connective.o pd-x_interface.o pd-x_midi.o pd-x_misc.o pd-x_time.o pd-x_acoustics.o pd-x_net.o pd-x_text.o pd-x_gui.o pd-x_list.o pd-x_array.o pd-x_scalar.o pd-x_vexp.o pd-x_vexp_if.o pd-x_vexp_fun.o pd-s_audio_alsa.o pd-s_audio_alsamm.o pd-s_midi_alsa.o pd-d_fft_fftsg.o pd-s_audio_jack.o pd-s_audio_oss.o pd-s_midi_oss.o pd-s_audio_pa.o pd-s_audio_paring.o -lasound -ljack ../portaudio/lib/libportaudio.la -lpthread -ldl -lrt
libtool: link: g++ -g -O2 -o .libs/pd pd-g_canvas.o pd-g_graph.o pd-g_text.o pd-g_rtext.o pd-g_array.o pd-g_template.o pd-g_io.o pd-g_scalar.o pd-g_traversal.o pd-g_guiconnect.o pd-g_readwrite.o pd-g_editor.o pd-g_clone.o pd-g_all_guis.o pd-g_bang.o pd-g_hdial.o pd-g_hslider.o pd-g_mycanvas.o pd-g_numbox.o pd-g_toggle.o pd-g_vdial.o pd-g_vslider.o pd-g_vumeter.o pd-m_pd.o pd-m_class.o pd-m_obj.o pd-m_atom.o pd-m_memory.o pd-m_binbuf.o pd-m_conf.o pd-m_glob.o pd-m_sched.o pd-s_main.o pd-s_inter.o pd-s_file.o pd-s_print.o pd-s_loader.o pd-s_path.o pd-s_entry.o pd-s_audio.o pd-s_midi.o pd-s_utf8.o pd-d_ugen.o pd-d_ctl.o pd-d_arithmetic.o pd-d_osc.o pd-d_filter.o pd-d_dac.o pd-d_misc.o pd-d_math.o pd-d_fft.o pd-d_array.o pd-d_global.o pd-d_delay.o pd-d_resample.o pd-d_soundfile.o pd-x_arithmetic.o pd-x_connective.o pd-x_interface.o pd-x_midi.o pd-x_misc.o pd-x_time.o pd-x_acoustics.o pd-x_net.o pd-x_text.o pd-x_gui.o pd-x_list.o pd-x_array.o pd-x_scalar.o pd-x_vexp.o pd-x_vexp_if.o pd-x_vexp_fun.o pd-s_audio_alsa.o pd-s_audio_alsamm.o pd-s_midi_alsa.o pd-d_fft_fftsg.o pd-s_audio_jack.o pd-s_audio_oss.o pd-s_midi_oss.o pd-s_audio_pa.o pd-s_audio_paring.o -Wl,--export-dynamic -lm -lasound -ljack ../portaudio/lib/.libs/libportaudio.so -lpthread -ldl -lrt
pd-g_canvas.o: In function canvas_updatewindowlist': /home/odroid/Desktop/puredata/pure-data/src/g_canvas.c:73: undefined reference to
glist_reloadingabstraction'
/home/odroid/Desktop/puredata/pure-data/src/g_canvas.c:73: undefined reference to glist_reloadingabstraction' pd-g_canvas.o: In function
canvas_dirty':
/home/odroid/Desktop/puredata/pure-data/src/g_canvas.c:610: undefined reference to glist_reloadingabstraction' /home/odroid/Desktop/puredata/pure-data/src/g_canvas.c:610: undefined reference to
glist_reloadingabstraction'
pd-g_editor.o: In function canvas_reload': /home/odroid/Desktop/puredata/pure-data/src/g_editor.c:790: undefined reference to
glist_reloadingabstraction'
pd-g_editor.o:/home/odroid/Desktop/puredata/pure-data/src/g_editor.c:790: more undefined references to `glist_reloadingabstraction' follow
collect2: error: ld returned 1 exit status
Makefile:703: recipe for target 'pd' failed
make[2]: *** [pd] Error 1
make[2]: Leaving directory '/home/odroid/Desktop/puredata/pure-data/src'
Makefile:939: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/odroid/Desktop/puredata/pure-data'
Makefile:839: recipe for target 'all' failed
make: *** [all] Error 2
I should have all the dependencies installed.
Before running the make I had run without any problem ./autiogen.sh and ./configure --build=aarch64-unknown-linux-gnu
Help!
Thanks in advance
Best
Angelo
On 02/08/16 00:56, angelo.arcadi@virgilio.it wrote:
undefined reference to `glist_reloadingabstraction'
This is a bug introduced by the latest git commit. I don't know what the correct fix is, but using the previous commit[1] allowed me to build Pd without issues. Reading the log seems to indicate that without the commit [clone~] may fail to function correctly, but I haven't tried that. A built Pd without [clone~] is at least better than a non-built Pd...
[1] git checkout HEAD~1
Oops! My bad, should be fixed in git repo now.
M
On Tue, Aug 02, 2016 at 01:04:24AM +0100, Claude Heiland-Allen wrote:
On 02/08/16 00:56, angelo.arcadi@virgilio.it wrote:
undefined reference to `glist_reloadingabstraction'
This is a bug introduced by the latest git commit. I don't know what the correct fix is, but using the previous commit[1] allowed me to build Pd without issues. Reading the log seems to indicate that without the commit [clone~] may fail to function correctly, but I haven't tried that. A built Pd without [clone~] is at least better than a non-built Pd...
[1] git checkout HEAD~1
Claude
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list