Re: PSIndustrializer 0.2.6 released

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Edgar,

Could you please try out the applied patch? It should fix this problem.

Regards,
Yury.

Am Mittwoch, 24. Juni 2020, 11:10:03 CEST schrieb Yury Alyaev:
Hi all,

After a long period of lethargy, with a help from Wladimir J. van der
Laan, I have revived Power Station Industrializer, a percussion sound
synthesizer base on physical modelling.

You can download it here:
https://sourceforge.net/projects/industrializer/files/

What is new in psindustrializer-0.2.6:

      Code upgrade for build against modern environment (autotools,
gtk+-2, gtkglarea is replaced by gtkglext, esound is replaced by pulseaudio)

      Jack audio driver

      GUI improvements

      Config and presets files syntax is improved (read compatibility
with old formats is preserved)

      Sound drivers can be configurable (this facility is so far
implemented for ALSA driver)

Hi,

I get strange errors at linking stage, no matter whether using the supplied configure or a regenerated by ./autogen.sh one. I include the libtool and gcc commands that lead to this, in case that helps diagnosing.

My OS is current openSUSE Tumbleweed, gcc --version prints: gcc (SUSE Linux) 10.1.1 20200625 [revision c91e43e9363bd119a695d64505f96539fa451bf2]

/bin/sh ../libtool  --tag=CC   --mode=link gcc -DPSI_DATADIR=\"/usr/local/share\" -I.. -I../psphymod -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -g -O2 -Wall -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread   -I/usr/include/libxml2 -I/usr/include/gtkglext-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/lib64/gtkglext-1.0/include -pthread    -D_REENTRANT     -o psindustrializer main.o interface.o utils.o api-wrapper.o xml-parser.o alsa.o pulse.o jack.o ../psphymod/libpsphymod.la -lasound -lm -lpthread -lm -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 -lharfbuzz -lfontconfig -lfreetype -lxml2 -L/lib64 -lz -llzma -lm -ldl -lgtkglext-x11-1.0 -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdkglext-x11-1.0 -lGL -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -laudiofile  -lasound -lm  -lpthread -lpulse-simple -lpulse  -ljack
libtool: link: gcc -DPSI_DATADIR=\"/usr/local/share\" -I.. -I../psphymod -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -g -O2 -Wall -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -I/usr/include/libxml2 -I/usr/include/gtkglext-1.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -I/usr/lib64/gtkglext-1.0/include -pthread -D_REENTRANT -o .libs/psindustrializer main.o interface.o utils.o api-wrapper.o xml-parser.o alsa.o pulse.o jack.o  ../psphymod/.libs/libpsphymod.so -L/lib64 -lxml2 -lz -llzma -ldl -lgtkglext-x11-1.0 -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdkglext-x11-1.0 -lGL -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -laudiofile -lasound -lm -lpthread -lpulse-simple -lpulse -ljack -pthread
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: alsa.o:/home/ed/src/psindustrializer-0.2.6/src/alsa.h:25: multiple definition of `driver_alsa'; main.o:/home/ed/src/psindustrializer-0.2.6/src/alsa.h:25: first defined here
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: pulse.o:/home/ed/src/psindustrializer-0.2.6/src/pulse.h:26: multiple definition of `driver_pulse'; main.o:/home/ed/src/psindustrializer-0.2.6/src/pulse.h:26: first defined here
/usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: jack.o:/home/ed/src/psindustrializer-0.2.6/src/jack.h:26: multiple definition of `driver_jack'; main.o:/home/ed/src/psindustrializer-0.2.6/src/jack.h:26: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:444: psindustrializer] Fehler 1
make[2]: Verzeichnis „/home/ed/src/psindustrializer-0.2.6/src“ wird verlassen
make[1]: *** [Makefile:568: all-recursive] Fehler 1
make[1]: Verzeichnis „/home/ed/src/psindustrializer-0.2.6“ wird verlassen
make: *** [Makefile:416: all] Fehler 2
ed@asus:~/src/psindustrializer-0.2.6>

Any insight? There is a lot of duplication for include paths and other options, but I cannot see why that symbol is included twice, the object files are named only once.

Thanks,

Edgar


      Bugfixes


Regards,
Yury.
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user



_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user


diff --git a/src/alsa.h b/src/alsa.h
index 14df713..009d16e 100644
--- a/src/alsa.h
+++ b/src/alsa.h
@@ -22,6 +22,6 @@
 
 #include "main.h"
 
-drv driver_alsa;
+extern drv driver_alsa;
 
 #endif
diff --git a/src/jack.h b/src/jack.h
index 235f9ba..86ced70 100644
--- a/src/jack.h
+++ b/src/jack.h
@@ -23,6 +23,6 @@
 
 #include "main.h"
 
-drv driver_jack;
+extern drv driver_jack;
 
 #endif
diff --git a/src/pulse.h b/src/pulse.h
index fec3b69..ff51da9 100644
--- a/src/pulse.h
+++ b/src/pulse.h
@@ -23,6 +23,6 @@
 
 #include "main.h"
 
-drv driver_pulse;
+extern drv driver_pulse;
 
 #endif
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
https://lists.linuxaudio.org/listinfo/linux-audio-user

[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux