From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pedro Lopez-Cabanillas Subject: Re: seq24 - midi sequencer released Date: Sun, 14 Jul 2002 17:50:28 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <200207141750.28331.plcl@telefonica.net> References: <20020713211622.GA23209@filter24.mshome.net> <20020714114006.GA5680@fliwatut.scifi> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20020714114006.GA5680@fliwatut.scifi> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Frank Barknecht Cc: rob buse , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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 > 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