Subject: Re: [ecasound] 2.2.1 & Cygwin
From: William Goldsmith (bill_AT_radioparadise.com)
Date: Tue Feb 18 2003 - 02:31:51 EET
Thanks, Kai. Worked fine with Cygwin 1.3.20. I'm going to start playing with
it now :-)
FYI, in 1.3.19 with the patch you suggested I get:
kvu_utils.cpp: In function `int kvu_sleep(long int, long int)':
kvu_utils.cpp:392: `second' undeclared (first use this function)
kvu_utils.cpp:392: (Each undeclared identifier is reported only once for
each
function it appears in.)
make[2]: *** [kvu_utils.lo] Error 1
thanks
-bg
----- Original Message -----
From: "Kai Vehmanen" <kai.vehmanen_AT_wakkanet.fi>
To: <ecasound-list_AT_wakkanet.fi>
Sent: Sunday, February 16, 2003 3:32 AM
Subject: Re: [ecasound] 2.2.1 & Cygwin
> On Sat, 15 Feb 2003, William Goldsmith wrote:
>
> > I get the following error when compiling 2.2.1 with Cygwin. Same result
on
> > the Cygwin tarball Kai posted a few days ago.
>
> You're probably using an older cygwin release that doesn't implement
> nanosleep. I'm using the latest 1.3.20.
>
> > kvu_utils.cpp: In function `int kvu_sleep(long int, long int)':
> > kvu_utils.cpp:392: redeclaration of `int ret'
> > kvu_utils.cpp:384: `int ret' previously declared here
> > kvu_utils.cpp:392: declaration of `int ret'
> > kvu_utils.cpp:384: conflicts with previous declaration `int ret'
> > kvu_utils.cpp:392: `second' undeclared (first use this function)
> > kvu_utils.cpp:392: (Each undeclared identifier is reported only once for
>
> Anyway, this is still a bug. You can get around the problem by applying
> the following to kvu_utils.cpp:
>
> --cut--
> - int ret = usleep(second * 1000000 + nanoseconds / 1000);
> + ret = usleep(second * 1000000 + nanoseconds / 1000);
> --cut--
>
> --
> http://www.eca.cx
> Audio software for Linux!
>
> --
> To unsubscribe send message 'unsubscribe' in the body of the
> message to <ecasound-list-request_AT_wakkanet.fi>.
This archive was generated by hypermail 2b28 : Tue Feb 18 2003 - 02:23:31 EET