[LAD] LADI user question

2009-11-26 Thread Ralf Mardorf

Hi Nedko :)

today I tried to compile LADI, but it failed for openSuse 11.2 x86_64 
and 64 Studio 3.0-beta3 x86_64. Please take a look at the attachments.


Cheers,
Ralf
suse11-2:/usr/src/ladish-0.1/flowcanvas # ./waf configure
Checking for program gcc: ok /usr/bin/gcc 
Checking for program cpp: ok /usr/bin/cpp 
Checking for program ar : ok /usr/bin/ar 
Checking for program ranlib : ok /usr/bin/ranlib 
Checking for gcc: ok  
Checking for program g++: ok /usr/bin/g++ 
Checking for g++: ok  
Checking for libgvc = 2.8  : ok 
Checking for gtkmm-2.4 = 2.10.0: ok 
Checking for libgnomecanvasmm-2.6 = 2.6.0  : ok 
Checking for header boost/shared_ptr.hpp: ok 
Checking for header boost/weak_ptr.hpp  : ok 

Global configuration 
Install prefix  : /usr/local 
Debuggable build: False 
Strict compiler flags   : False 
Build documentation : False 

FlowCanvas Configuration 
Auto-arrange: True 
Anti-Aliasing   : True 

'configure' finished successfully (0.730s)
suse11-2:/usr/src/ladish-0.1/flowcanvas # ./waf
[snip]
'build' finished successfully (15.788s)
suse11-2:/usr/src/ladish-0.1/flowcanvas # ./waf install
[snip]
'install' finished successfully (0.074s)
suse11-2:/usr/src/ladish-0.1/flowcanvas # cd ..
suse11-2:/usr/src/ladish-0.1 # ./waf configure
[snip]
Install prefix   : /usr/local 
Build liblash: no 
 
WARNING: D-Bus session services directory as reported by pkg-config is 
WARNING: /usr/share/dbus-1/services 
WARNING: but service file will be installed in 
WARNING: /usr/local/share/dbus-1/services 
WARNING: You may need to adjust your D-Bus configuration after installing 
jackdbus 
WARNING: You can override dbus service install directory 
WARNING: with --enable-pkg-config-dbus-service-dir option to this script 
 
'configure' finished successfully (1.034s)
suse11-2:/usr/src/ladish-0.1 # ./waf configure --prefix=/usr
Checking for program gcc : ok /usr/bin/gcc 
Checking for program cpp : ok /usr/bin/cpp 
Checking for program ar  : ok /usr/bin/ar 
Checking for program ranlib  : ok /usr/bin/ranlib 
Checking for gcc : ok  
Checking for program g++ : ok /usr/bin/g++ 
Checking for g++ : ok  
Checking for dbus-1 = 1.0.0 : ok 
Retrieving D-Bus services dir: ok 
Checking for uuid: ok 
Checking for header expat.h  : ok 
Checking for glib-2.0: ok 
Checking for dbus-glib-1 : ok 
Checking for gtk+-2.0: ok 
Checking for libglade-2.0: ok 
Checking for flowcanvas = 0.4.0 : ok 
boost headers: Version 1_39 (/usr/include) 
 
== 
ladish-0.1 exported from 0d1ac13dd396785602ea157b5acb12f81da17b63 
 
Install prefix   : /usr 
Build liblash: no 
 
'configure' finished successfully (0.745s)
suse11-2:/usr/src/ladish-0.1 # ./waf
Waf: Entering directory `/usr/src/ladish-0.1/build'
[ 1/41] cxx: gui/canvas.cpp - build/default/gui/canvas_3.o
[ 2/41] copy: daemon/dbus.service.in - build/default/org.ladish.service
[ 3/41] git_ver:  - build/default/version.h
tarball from git revision 0d1ac13dd396785602ea157b5acb12f81da17b63 
[ 4/41] cc: jack_proxy.c - build/default/jack_proxy_1.o
[ 5/41] cc: catdup.c - build/default/catdup_1.o
cc1: warnings being treated as errors
../jack_proxy.c: In function ‘jack_proxy_set_parameter_value’:
../jack_proxy.c:588: error: ‘type’ may be used uninitialized in this 
function
Waf: Leaving directory `/usr/src/ladish-0.1/build'
Build failed
 - task failed (err #1): 
{task: cc jack_proxy.c - jack_proxy_1.o}
suse11-2:/usr/src/ladish-0.1 #
r...@64studio:/usr/src/ladish-0.1/flowcanvas# ./waf configure
Checking for program gcc: ok /usr/bin/gcc 
Checking for program cpp: ok /usr/bin/cpp 
Checking for program ar : ok /usr/bin/ar 
Checking for program ranlib : ok /usr/bin/ranlib 
Checking for gcc: ok  
Checking for program g++: ok /usr/bin/g++ 
Checking for g++: ok  
Checking for libgvc = 2.8  : ok 
Checking for gtkmm-2.4 = 2.10.0: ok 
Checking for libgnomecanvasmm-2.6 = 2.6.0  : ok 
Checking for header boost/shared_ptr.hpp: ok 
Checking for header boost/weak_ptr.hpp  : ok 

Global configuration 
Install prefix  : /usr/local 
Debuggable build   

[LAD] LADI user question II

2009-11-26 Thread Ralf Mardorf
Building LADI and installing LADI tools for 64 Studio 3.0-beta3 seems to 
be fine, *when ignoring the warnings for flowcanvas*, but I had no time 
to check if the installs will work. So compiling only for Suse failed.
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev


Re: [LAD] LADI user question

2009-11-26 Thread Nedko Arnaudov

Ralf Mardorf ralf.mard...@alice-dsl.net writes:

 Hi Nedko :)

Hi Ralf

 today I tried to compile LADI, but it failed for openSuse 11.2 x86_64
 and 64 Studio 3.0-beta3 x86_64. Please take a look at the attachments.

[snip configuring and compiling ladish stuff]

 [ 4/41] cc: jack_proxy.c - build/default/jack_proxy_1.o
 cc1: warnings being treated as errors
 ../jack_proxy.c: In function вЂ.jack_proxy_set_parameter_value’:
 ../jack_proxy.c:588: error: вЂ.type’ may be used uninitialized in this 
 function
 Waf: Leaving directory `/usr/src/ladish-0.1/build'
 Build failed
  - task failed (err #1): 
   {task: cc jack_proxy.c - jack_proxy_1.o}

This is an problem that I only recently got aware of. I saw it when I
switched to gentoo and shortly after, I got reports from users. It seems
to happen only for some gcc or something. You reported that it builds
fine on 64 Studio 3.0-beta3 and someone else reported that it builds
fine on Debian lenny. Those warnings (treated as errors) are fixed in
git and I've made a patch (attached) against ladish-0.1 too.

Next preview release of ladish will not treat warnings as errors.

[snip configuring and compiling flowcanvas with warnings]

It looks that flowcanvas is incuding headers in wrong order or
something. These warnings can be ignored without any harm and as long as
it compiles and flowcanvas is maintained externally, there is no urge
for me to fix them.

diff -ru ladish-0.1.orig/daemon/studio.c ladish-0.1/daemon/studio.c
--- ladish-0.1.orig/daemon/studio.c	2009-08-31 04:17:50.0 +0300
+++ ladish-0.1/daemon/studio.c	2009-11-20 01:59:08.0 +0200
@@ -872,7 +872,7 @@
   char * p;
   const char * src;
   char * filename_ptr;
-  char * backup_filename_ptr;
+  char * backup_filename_ptr = NULL;
 
   len_dir = strlen(g_studios_dir);
 
Only in ladish-0.1/daemon: studio.c~
diff -ru ladish-0.1.orig/jack_proxy.c ladish-0.1/jack_proxy.c
--- ladish-0.1.orig/jack_proxy.c	2009-08-27 23:01:58.0 +0300
+++ ladish-0.1/jack_proxy.c	2009-11-20 01:58:36.0 +0200
@@ -585,7 +585,7 @@
 value_ptr = boolean;
 break;
   default:
-lash_error(Unknown jack parameter type %i, (int)type);
+lash_error(Unknown jack parameter type %i, (int)parameter_ptr-type);
 return false;
   }
 

-- 
Nedko Arnaudov GnuPG KeyID: DE1716B0


pgpgT5CDsXeDV.pgp
Description: PGP signature
___
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev