Skip to main content

7 - Développer/traduire/documenter/annoncer une application


[RÉSOLU] tap-reverbed ne compile plus sur Debian Stretch

France
tap-reverbed ne compile plus sous debian stretch.

La compile me dit ça :

Copy to clipboard
gcc -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -fPIC -DPIC -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -Wall -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -ljack -lpthread -o reverbed about.o editor.o export.o file_io.o gui_ext.o ports.o sound.o /usr/bin/ld: sound.o: undefined reference to symbol '__sinh_finite@@GLIBC_2.15' //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status


Une idée ?
France
Hello,

Ajouter un -lm à la compilation ?

A+
Erwan
France
Merci !

Alors, j'ai ajouté "-lm" dans le fichier configure.ac et dans le fichier configure à la ligne LDFLAGS. Ce qui donne :
Copy to clipboard
LDFLAGS="-Wall -lm $GTK_LIBS $JACK_LIBS"

(je ne sais pas si l'ordre des flags est important ou pas)

La compile passe, le binaire est construit, mais ça donne une erreur de segmentation lorsque je le lance.

Une idée complémentaire peut être ?
France
Trouvé !
En fait, il ne faut pas
Copy to clipboard
touch ~/.reverbed
mais il faut copier le fichier exemple
Copy to clipboard
src/.reverbed
provenant des sources dans son dossier
Copy to clipboard
/home/utilisateur/


Et là, ça fonctionne 😊

Je mets un [résolu] dans le titre du fil.

Merci pour l'aide r1 !