Subject: Re: [ecasound] 2.2.1 & Cygwin
From: Kai Vehmanen (kai.vehmanen_AT_wakkanet.fi)
Date: Sun Feb 16 2003 - 13:32:46 EET
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!
This archive was generated by hypermail 2b28 : Sun Feb 16 2003 - 13:32:49 EET