protux-devel
[Top][All Lists]
Advanced

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

Re: [Protux-devel] Errors in compilation 0.15.9


From: Luciano Giordana
Subject: Re: [Protux-devel] Errors in compilation 0.15.9
Date: Mon, 2 Dec 2002 00:36:59 +0000
User-agent: KMail/1.4.3

On Saturday 30 November 2002 11:54 pm, Valery Beluntsov wrote:
> Dear Luciano,
> I got the following error whike compiling libmustux 0.15.9:
>
> /bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.
> -I/usr/lib/qt-3.0.4/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT
> -D_REENTRANT  -O2 -fno-exceptions -fno-check-new  -c
> MustuxAudioDeviceMapper.cc
> c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/qt-3.0.4/include
> -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -O2 -fno-exceptions
> -fno-check-new -Wp,-MD,.deps/MustuxAudioDeviceMapper.pp -c
> MustuxAudioDeviceMapper.cc  -fPIC -DPIC -DPIC -o MustuxAudioDeviceMapper.o
> MustuxAudioDeviceMapper.cc: In function `int
> MustuxAudioDeviceMapper::open_device (int, int, int, int, int)':
> MustuxAudioDeviceMapper.cc:212: incompatible types in assignment of
> `int' to `int[4]'
> MustuxAudioDeviceMapper.cc:213: invalid operands of types `int[4]' and
> `int' to binary `operator/'
> make: *** [MustuxAudioDeviceMapper.lo] Ошибка 1
>
> Any solution?

oops..

The solution is to replace lines 212 and 213 in  MustuxAudioDeviceMapper.cc


        fragmentSize = fs;
        fragmentSizeInBlocks = fragmentSize / (channels*(bitDepth/8));

with this


        fragmentSize[0] = fs;
        fragmentSizeInBlocks[0] = fragmentSize / (channels*(bitDepth/8));



I commited these changes to CVS, but 0.15.9 remains incorrect, please use the 
CVS snap shot or manually apply this patch


-- 
Luciano Giordana - Musician - Certified Java/GNU C++ Developer - Free Software 
Evangelist
http://www.groselhalight.com/giordana
Project Protux : Free Professional Audio Tools for GNU/Linux
http://www.freesoftware.fsf.org/protux
-- Once Palladium is up and running , I will become a hacker --




reply via email to

[Prev in Thread] Current Thread [Next in Thread]