[LAU] Re: [linux-audio-user] [ANN] JackMix 0.3 hits the shelfs

Dragan Noveski perodog at gmx.net
Sun Apr 1 10:20:35 EDT 2007


Lars Luthman wrote:
> On Sun, 2007-04-01 at 15:32 +0200, Emmanuel Saracco wrote:
>   
>> Le dimanche 01 avril 2007 à 15:25 +0200, Dragan Noveski a écrit :
>>
>> [...]
>>
>>     
>>>> Arnold
>>>>         
>>> hi arnold,
>>> as suggested by another poster here, i am trying building jackmix and 
>>> the gcc/g++ are both v4.1.
>>> i get following error:
>>>
>>>
>>> nowhiskey at murija2:~/software/nove/jackmix/jackmix-0.3$ scons
>>> scons: Reading SConscript files ...
>>> Checking for uic:  uic was found as /usr/share/qt4/bin/uic
>>> Checking for UIC version                       : fine -  Qt User 
>>> Interface Compiler version 4.2.1
>>> Checking for moc:  moc was found as /usr/share/qt4/bin/moc
>>> Checking for rcc:  rcc was found as /usr/share/qt4/bin/rcc
>>> Checking for the qt includes             :  ok /usr/share/qt4/include
>>> Checking for jack...yes
>>> scons: done reading SConscript files.
>>> scons: Building targets ...
>>> g++ -o backend/jack_backend.o -c -I/usr/share/qt4/include -Wall -Werror 
>>> -g -fpic -O2 -DNDEBUG -DNO_DEBUG -Ibackend -I. -Ibackend -Ilibcore 
>>> backend/jack_backend.cpp
>>> cc1plus: warnings being treated as errors
>>> libcore/guiserver_interface.h:14: warning: 'class 
>>> JackMix::GuiServer_Interface' has virtual functions but non-virtual 
>>> destructor
>>> scons: *** [backend/jack_backend.o] Error 1
>>> scons: building terminated because of errors.
>>> nowhiskey at murija2:~/software/nove/jackmix/jackmix-0.3$
>>>
>>> am i missing something or is it an bug in the code, what do you think?
>>>       
>> As suggested in my last E-Mail, just use v3 instead of v4 :-)
>>     
>
> Or better, fix the code. The bug is trivial.
>
>
> --ll
>   
> ------------------------------------------------------------------------
>
> diff -ru jackmix-0.3/libcore/guiserver_interface.h jackmix-0.3-edit/libcore/guiserver_interface.h
> --- jackmix-0.3/libcore/guiserver_interface.h	2007-03-30 18:35:37.000000000 +0200
> +++ jackmix-0.3-edit/libcore/guiserver_interface.h	2007-04-01 15:38:54.000000000 +0200
> @@ -13,6 +13,9 @@
>  class GuiServer_Interface
>  {
>  public:
> +
> +	virtual ~GuiServer_Interface() { }
> +
>  	virtual void message( const QString& title, const QString& text ) const =0;
>  	virtual bool messageYesNo( const QString& title, const QString& text ) const =0;
>  	virtual bool messageOkCancel( const QString& title, const QString& text ) const =0;
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Linux-audio-user mailing list
> Linux-audio-user at lists.linuxaudio.org
> http://lists.linuxaudio.org/mailman/listinfo.cgi/linux-audio-user
>   
i applied the patch with:

 cat ../jackmix-virtual-fix.diff | patch -p1

than running:

scons configure extraincludes=/usr/local/include/:/usr/include/ 
libdir=/usr/local/lib/:/usr/lib

but running scons i still get this error:

nowhiskey at murija2:~/software/nove/jackmix/jackmix-0.3$ scons
scons: Reading SConscript files ...
Checking for jack...(cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o jackmix/jackmix jackmix/main.o jackmix/mainwindow.o -Llibgui 
-Llibelements -Llibcore -Llibmatrix -Lbackend -L/usr/share/qt4/lib 
-ljackmix_backend -ljackmix_core -ljackmix_mixingmatrix 
-ljackmix_mixingelements -ljackmix_gui -lQtCore -lQtGui -lQtXml 
-l-L/usr/local/lib -ljack -lpthread -lrt
/usr/bin/ld: cannot find -l-L/usr/local/lib
collect2: ld returned 1 exit status
scons: *** [jackmix/jackmix] Error 1
scons: building terminated because of errors.
..........

as additional information, two days ago by a fault i deleted the 
/usr/share/aclocal dir with all the scriptes inside of it!!

could it be that this is now missing on my system?

cheers,
doc





More information about the Linux-audio-user mailing list