URL: <http://savannah.gnu.org/bugs/?52741>
Summary: Can't build with --disable-portaudio Project: Denemo Submitted by: None Submitted on: Mon 25 Dec 2017 12:15:43 PM UTC Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: During experiments, building release 2.2.0 with different options, i noticed, that when configured to --disable-portaudio, it fails with this error: /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -fdiagnostics-color=auto -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/freetype2 -lgthread-2.0 -pthread -lglib-2.0 -lsndfile -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_WITH_AUBIO_4_ -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/gtksourceview-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/libxml2 -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -DUSE_EVINCE -D_HAVE_FLUIDSYNTH_ -D_HAVE_RUBBERBAND_ -D_HAVE_PORTMIDI_ -D_HAVE_X11_ -o denemo audio/audiocapture.o audio/instrumentname.o audio/midi.o audio/parseinstruments.o audio/pitchentry.o audio/pitchrecog.o audio/playback.o command/changenotehead.o command/chord.o command/clef.o command/commandfuncs.o command/contexts.o command/fakechord.o command/figure.o command/grace.o command/keyresponses.o command/keysig.o command/lilydirectives.o command/lyric.o command/measure.o command/processstaffname.o command/object.o command/scorelayout.o command/score.o command/select.o command/staff.o command/timesig.o command/tuplet.o core/binreloc.o core/denemo_types.o core/cache.o core/external.o core/exportxml.o core/graphicseditor.o core/importxml.o core/kbd-custom.o core/keyboard.o core/keymapio.o core/main.o core/palettestorage.o core/prefops.o core/utils.o core/view.o display/calculatepositions.o display/displayanimation.o display/drawaccidentals.o display/drawbarline.o display/draw.o display/drawclefs.o display/drawcursor.o display/drawdynamic.o display/drawfakechord.o display/drawfigure.o display/drawkey.o display/drawlilydir.o display/drawlyric.o display/drawnotes.o display/drawselection.o display/drawstemdir.o display/drawtimesig.o display/drawtuplets.o display/hairpin.o display/slurs.o export/audiofile.o export/exportabc.o export/exportlilypond.o export/exportmidi.o export/file.o export/guidedimportmidi.o export/importmidi.o export/importmusicxml.o export/print.o scripting/scheme-callbacks.o scripting/scheme-identifiers.o source/sourceaudio.o printview/svgview.o ui/clefdialog.o ui/help.o ui/kbd-interface.o ui/keysigdialog.o ui/mousing.o ui/moveviewport.o ui/mwidthdialog.o ui/palettes.o ui/virtualkeyboard.o ui/playbackprops.o ui/prefdialog.o ui/scoreprops.o ui/staffpropdialog.o ui/texteditors.o ui/timedialog.o ui/tomeasuredialog.o ui/tupletdialog.o ui/markup.o core/menusystem.o source/source.o source/proof.o printview/markupview.o printview/printview.o libaudiobackend.a -L../libs/libsffile -lsffile -lguile -lgmp -lcrypt -lm -lltdl -lglib-2.0 -lxml2 -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lcairo -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lsndfile -lsmf -lm -lglib-2.0 -laubio -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lgtksourceview-3.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -levview3 -levdocument3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -pthread -lglib-2.0 -DUSE_EVINCE -D_HAVE_FLUIDSYNTH_ -lfluidsynth -D_HAVE_RUBBERBAND_ -L/usr/lib -lrubberband -lportmidi -D_HAVE_X11_ libtool: link: gcc -g -O2 -fdiagnostics-color=auto -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0 -pthread -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -D_WITH_AUBIO_4_ -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/gtksourceview-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -I/usr/include/libxml2 -I/usr/include/evince/3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -DUSE_EVINCE -D_HAVE_FLUIDSYNTH_ -D_HAVE_RUBBERBAND_ -D_HAVE_PORTMIDI_ -D_HAVE_X11_ -o denemo audio/audiocapture.o audio/instrumentname.o audio/midi.o audio/parseinstruments.o audio/pitchentry.o audio/pitchrecog.o audio/playback.o command/changenotehead.o command/chord.o command/clef.o command/commandfuncs.o command/contexts.o command/fakechord.o command/figure.o command/grace.o command/keyresponses.o command/keysig.o command/lilydirectives.o command/lyric.o command/measure.o command/processstaffname.o command/object.o command/scorelayout.o command/score.o command/select.o command/staff.o command/timesig.o command/tuplet.o core/binreloc.o core/denemo_types.o core/cache.o core/external.o core/exportxml.o core/graphicseditor.o core/importxml.o core/kbd-custom.o core/keyboard.o core/keymapio.o core/main.o core/palettestorage.o core/prefops.o core/utils.o core/view.o display/calculatepositions.o display/displayanimation.o display/drawaccidentals.o display/drawbarline.o display/draw.o display/drawclefs.o display/drawcursor.o display/drawdynamic.o display/drawfakechord.o display/drawfigure.o display/drawkey.o display/drawlilydir.o display/drawlyric.o display/drawnotes.o display/drawselection.o display/drawstemdir.o display/drawtimesig.o display/drawtuplets.o display/hairpin.o display/slurs.o export/audiofile.o export/exportabc.o export/exportlilypond.o export/exportmidi.o export/file.o export/guidedimportmidi.o export/importmidi.o export/importmusicxml.o export/print.o scripting/scheme-callbacks.o scripting/scheme-identifiers.o source/sourceaudio.o printview/svgview.o ui/clefdialog.o ui/help.o ui/kbd-interface.o ui/keysigdialog.o ui/mousing.o ui/moveviewport.o ui/mwidthdialog.o ui/palettes.o ui/virtualkeyboard.o ui/playbackprops.o ui/prefdialog.o ui/scoreprops.o ui/staffpropdialog.o ui/texteditors.o ui/timedialog.o ui/tomeasuredialog.o ui/tupletdialog.o ui/markup.o core/menusystem.o source/source.o source/proof.o printview/markupview.o printview/printview.o -pthread -pthread -DUSE_EVINCE -D_HAVE_FLUIDSYNTH_ -D_HAVE_RUBBERBAND_ -D_HAVE_X11_ libaudiobackend.a -L../libs/libsffile -lsffile /usr/lib64/libguile.so -L/usr/lib64 -lgmp -lcrypt /usr/lib64/libltdl.so -ldl -lxml2 -lrsvg-2 -lfontconfig -lfreetype -lsndfile -lsmf -lm -laubio -lgtksourceview-3.0 -levview3 -levdocument3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lfluidsynth -L/usr/lib -lrubberband -lportmidi -pthread audio/midi.o: In function `start_playing': /home/nick87720z/dist/denemo.git/builddir/src/../../src/audio/midi.c:121: undefined reference to `get_playback_speed' core/view.o: In function `set_speed': /home/nick87720z/dist/denemo.git/builddir/src/../../src/core/view.c:1180: undefined reference to `set_playback_speed' display/draw.o: In function `draw_object': /home/nick87720z/dist/denemo.git/builddir/src/../../src/display/draw.c:723: undefined reference to `get_playback_speed' /home/nick87720z/dist/denemo.git/builddir/src/../../src/display/draw.c:726: undefined reference to `get_playback_speed' display/draw.o: In function `set_start_and_end_objects_for_draw': /home/nick87720z/dist/denemo.git/builddir/src/../../src/display/draw.c:72: undefined reference to `get_playback_speed' /home/nick87720z/dist/denemo.git/builddir/src/../../src/display/draw.c:73: undefined reference to `get_playback_speed' display/draw.o: In function `draw_score': /home/nick87720z/dist/denemo.git/builddir/src/../../src/display/draw.c:1401: undefined reference to `get_playback_speed' scripting/scheme-callbacks.o:/home/nick87720z/dist/denemo.git/builddir/src/../../src/scripting/scheme-callbacks.c:2009: more undefined references to `get_playback_speed' follow collect2: error: ld returned 1 exit status _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?52741> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Denemo-devel mailing list Denemo-devel@gnu.org https://lists.gnu.org/mailman/listinfo/denemo-devel