[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] 1.1.6 and git - build problem with --disable-portaudi

From: Mike
Subject: Re: [Denemo-devel] 1.1.6 and git - build problem with --disable-portaudio
Date: Wed, 25 Jun 2014 08:17:51 -0500

25.06.2014, 06:18, "Richard Shann" <address@hidden>:
> On Wed, 2014-06-25 at 05:32 -0500, Mike wrote:
>>  Trying to build for a system without portaudio I got this:
>>  /usr/local/src/denemo-1.1.6/src/audio/pitchrecog.c:381: undefined reference 
>> to `pa_main'
>>  It seems that that the problem is that audiocapture.o builds without 
>> symbols since it is
>>  audio/audiocapture.c is #ifdef'fed out, but there  pa_main is still called 
>> several times  in
>>  audio/pitchrecog.c
> Hmm, a workaround could be to define the symbol as 0 on the command line
> I guess (I think you configure with CFLAGS defining _pa_main) ... and
> then don't try Input->Audio!

This seems to work: just allow pa_main to return -1 if PORTAUDIO is not defined:

(patch attached: not sure if the mailing list will allow it)


Attachment: portaudio.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]