Skip to contentSkip to conversation

seq24 - midi sequencer released

DISCUSSION rob buse 3 participants 4 messages Jul 13, 2002 – Jul 14, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi,

Quoted 6 lines · rob buse hat gesagt: // rob buse wrote:

I just GPL'd my seq24 midi sequencer.
http://www.filter24.org/seq24/index.html

Uses ALSA 0.9.0 and GTKmm.

I hope someone else finds it useful :)

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?

ciao,

Signature · 7 lines
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
#3 lore raw
Quoted 13 lines · Frank Barknecht
Quoted 3 lines · 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

Quoted 4 lines

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

author
#4 lore raw

re: seq24 - midi sequencer fixed

Thanks everyone! v0.1.1 should fix these problems. :)

cheers
.buse

Quoted 22 lines · On 2002.07.14 11:50 Pedro Lopez-Cabanillas wrote:
Quoted 9 lines · Frank Barknecht
Quoted 3 lines · 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

Quoted 8 lines

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

Quoted 9 lines

-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

----------------------------------------------------------
music + technology http://filter24.org

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf