El Dom 14 Jul 2002 13:40, Frank Barknecht escribió:
> rob buse hat gesagt: // rob buse wrote:
> > I just GPL'd my seq24 midi sequencer.
> > http://www.filter24.org/seq24/index.html
> >
> I'm having a problem compiling it, because I get this error:
>
> sequence.C: In method `sequence::sequence()':
> sequence.C:47: `PTHREAD_MUTEX_RECURSIVE' undeclared (first use this
> function) sequence.C:47: (Each undeclared identifier is reported only once
> sequence.C:47: for each function it appears in.)
> sequence.C:47: implicit declaration of function `int
> pthread_mutexattr_settype(...)' make[1]: *** [sequence.o] Error 1
>
> I tried to add
> #include <pthread.h>
> to sequence.C, but that didn't help. Do you have any idea, where the
> error might come from?

Same results for me. After some googling, I've found that adding the flag 
-D_GNU_SOURCE at src/Makefile.am and reconfiguring I could compile it. This 
is the line I have changed:

CXXFLAGS = @CXXFLAGS@ $(GTKMM_CFLAGS) -Wall -D_GNU_SOURCE

Pedro


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to