[PD-dev] Re: [PD] Flext (or lack of it)

stevenyi stevenyi at csounds.com
Sun Feb 22 04:45:38 CET 2004


Hi Marc, 

Sorry if you mentioned this already as I haven't been following the
discussion all that closely, but what version of pd's sources are you
using?  I downloaded Miller Puckette's pd-0.37-0 from his site just now
and there was no pthread.h in the src directory, and also no pthread.h
in the src directory on the pure-data.sf.net's cvs (browsing cvs web
online).  Maybe this is the problem? 

steven


On Sat, 2004-02-21 at 19:13, Marc Lavallée wrote:
> 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
> 
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://iem.at/cgi-bin/mailman/listinfo/pd-dev
> 





More information about the Pd-dev mailing list