Downloaded from here: https://sourceforge.net/p/audacity/mailman/message/36106562/ >From 5f9482a191359f2c477763a36d2c865c5f186602 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Tue, 7 Nov 2017 13:06:33 +0100 Subject: [PATCH] Fix building against the system portaudio library Building against the system portaudio results in this error: ./src/AudioIO.cpp:983: undefined reference to `PaUtil_GetTime' audacity-AudioIO.o: In function `audacityAudioCallback(void const*, void*, unsigned long, PaStreamCallbackTimeInfo const*, unsigned long, void*)': ./src/AudioIO.cpp:4630: undefined reference to `PaUtil_GetTime' collect2: error: ld returned 1 exit status Makefile:2349: recipe for target 'audacity' failed make[3]: *** [audacity] Error 1 This is because PaUtil_GetTime is declared as a C symbol in pa_util.h but is resolved as a C++ symbol at link time. Audacity fixes this in the local tree with this change: https://github.com/audacity/
aboutsummaryrefslogtreecommitdiff
path: root/