Hi Steven. Let's continue this discussion on the dev list...
On Sat, Feb 21, 2004 at 04:50:49PM -0800, stevenyi wrote:
> You can use cygwin to compile without requiring cygwin.dll by using
> the commandline flag -mno-cygwin. This ends up using native libraries,
> similarly to how mingw does.
That's good news, but first I need to compile flext (0.4.5).
I hope you or Thomas can help. Here's the problem:
$ make -f makefile.pd-cygwin
g++ -c -O6 -DFLEXT_SYS=2 -mcpu=pentium4 -msse -I/cygdrive/c/pd/src
-Isource source/flbase.cpp -o pd-cygwin/flbase.o
In file included from
/usr/include/c++/3.3.1/i686-pc-cygwin/bits/gthr-default.h:37,
from
/usr/include/c++/3.3.1/i686-pc-cygwin/bits/gthr.h:98,
from
/usr/include/c++/3.3.1/i686-pc-cygwin/bits/c++io.h:37,
from /usr/include/c++/3.3.1/bits/fpos.h:44,
from /usr/include/c++/3.3.1/iosfwd:49,
from /usr/include/c++/3.3.1/bits/stl_algobase.h:70,
from /usr/include/c++/3.3.1/bits/stl_tree.h:86,
from /usr/include/c++/3.3.1/map:66,
from source/flclass.h:23,
from source/flext.h:66,
from source/flbase.cpp:17:
/cygdrive/c/pd/src/pthread.h:260: error: redefinition of `struct timespec'
/usr/include/sys/types.h:100: error: previous definition of `struct
timespec'
/cygdrive/c/pd/src/pthread.h:482: error: conflicting types for `typedef
struct
pthread_t_*pthread_t'
etc...
So there's a conflict between the pthread definitions of Cygwin and PD.
How can I fix this problem?
B.T.W., I run the Gnome desktop under Cygwin, this is very cool!
--
Marc