[LAU] sineshaper on arch

From: Atte André Jensen <atte@email-addr-hidden>
Date: Thu Feb 23 2012 - 22:01:15 EET

Hi

I'm trying to install sineshaper on arch, but fail. It might be
something obvious, sorry if I'm just being stupid. Any help towards a
running sineshaper would be greatly appreciated.

Building 0.4.2 from source fails like this:

In file included from dssiplugin.cpp:26:0:
dssiplugin.hpp: In function 'size_t register_dssi(long unsigned int,
const string&, LADSPA_Properties, const string&, const string&, const
string&, const DSSIPortList&)':
dssiplugin.hpp:208:60: error: there are no arguments to 'calloc' that
depend on a template parameter, so a declaration of 'calloc' must be
available [-fpermissive]
dssiplugin.hpp:208:60: note: (if you use '-fpermissive', G++ will accept
your code, but allowing the use of an undeclared name is deprecated)
dssiplugin.hpp:220:79: error: there are no arguments to 'calloc' that
depend on a template parameter, so a declaration of 'calloc' must be
available [-fpermissive]
dssiplugin.hpp:221:70: error: there are no arguments to 'calloc' that
depend on a template parameter, so a declaration of 'calloc' must be
available [-fpermissive]
dssiplugin.hpp:223:77: error: there are no arguments to 'calloc' that
depend on a template parameter, so a declaration of 'calloc' must be
available [-fpermissive]
make[2]: *** [dssiplugin.lo] Error 1
make[2]: Leaving directory
`/home/atte/software/sineshaper/sineshaper-0.4.2/src/common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/atte/software/sineshaper/sineshaper-0.4.2/src'
make: *** [all-recursive] Error 1

And through yaourt:

In file included from /usr/include/glib-2.0/glib/gtypes.h:34:0,
                  from /usr/include/glib-2.0/glib/galloca.h:34,
                  from /usr/include/glib-2.0/glib.h:32,
                  from /usr/include/glibmm-2.4/glibmm/unicode.h:27,
                  from /usr/include/glibmm-2.4/glibmm/ustring.h:25,
                  from
/usr/include/glibmm-2.4/glibmm/containerhandle_shared.h:24,
                  from /usr/include/glibmm-2.4/glibmm/arrayhandle.h:23,
                  from /usr/include/glibmm-2.4/glibmm.h:84,
                  from /usr/include/libglademm-2.4/libglademm/xml.h:7,
                  from /usr/include/libglademm-2.4/libglademm.h:29,
                  from sineshapergui.hpp:4,
                  from sineshapergui.cpp:7:
/usr/lib/glib-2.0/include/glibconfig.h:52:18: warning: ISO C++ 1998 does
not support ‘long long’ [-Wlong-long]
/usr/lib/glib-2.0/include/glibconfig.h:53:18: warning: ISO C++ 1998 does
not support ‘long long’ [-Wlong-long]
/bin/sh ../../libtool --tag=CXX --mode=link g++ -O3
-fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math
-DNDEBUG -Wall -ansi -pedantic
-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -o
sineshaper_gtk sineshaper_gtk-main.o sineshaper_gtk-presetmanager.o
sineshaper_gtk-skindial_gtkmm.o sineshaper_gtk-sineshapergui.o -pthread
-lglademm-2.4 -lglade-2.0 -lxml2 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4
-lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0
-lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
  -llo -lpthread ../common/libdssi_ui.la ../common/libdssi_common.la
g++ -O3 -fomit-frame-pointer -fstrength-reduce -funroll-loops
-ffast-math -DNDEBUG -Wall -ansi -pedantic -Wl,-O1 -Wl,--sort-common
-Wl,--as-needed -Wl,-z -Wl,relro -Wl,--hash-style=gnu -o sineshaper_gtk
sineshaper_gtk-main.o sineshaper_gtk-presetmanager.o
sineshaper_gtk-skindial_gtkmm.o sineshaper_gtk-sineshapergui.o -pthread
  -lglademm-2.4 -lglade-2.0 -lxml2 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4
-lgiomm-2.4 -lpangomm-1.4 -lgtk-x11-2.0 -lglibmm-2.4 -lcairomm-1.0
-lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
-llo -lpthread ../common/.libs/libdssi_ui.a ../common/.libs/libdssi_common.a
/usr/bin/ld: ../common/.libs/libdssi_ui.a(dssiuiclient.o): undefined
reference to symbol 'g_thread_init'
/usr/bin/ld: note: 'g_thread_init' is defined in DSO
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../libgthread-2.0.so so try
adding it to the linker command line
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../libgthread-2.0.so: could
not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [sineshaper_gtk] Error 1
make[2]: Leaving directory
`/tmp/yaourt-tmp-atte/aur-sineshaper/src/sineshaper-0.4.2/src/sineshaper'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/tmp/yaourt-tmp-atte/aur-sineshaper/src/sineshaper-0.4.2/src'
make: *** [all-recursive] Error 1

-- 
Atte
http://atte.dk   http://modlys.dk
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Feb 24 00:15:01 2012

This archive was generated by hypermail 2.1.8 : Fri Feb 24 2012 - 00:15:01 EET