make error

Hello eveybody,

I have just compiled Audacity from source without errors on my PC.

Now i’m trying to compile it on my laptop (UBNUTU 16.04). When i launch the make, I receive this error:

audacity-AudioIO.o: In function AudioIO::MidiTime()': /usr/local/audacity/src/AudioIO.cpp:4001: undefined reference to PaUtil_GetTime’
collect2: error: ld returned 1 exit status
Makefile:2350: recipe for target ‘audacity’ failed
make[2]: *** [audacity] Error 1
make[2]: Leaving directory ‘/usr/local/audacity/src’
Makefile:1588: recipe for target ‘all’ failed
make[1]: *** [all] Error 2
make[1]: Leaving directory ‘/usr/local/audacity/src’
Makefile:799: recipe for target ‘all-recursive’ failed
make: *** [all-recursive] Error 1

BUILD FAILED (exit value 2, total time: 34m 51s)

Can you help me please ?

This the installation steps i adopted to compile from source:

System Settings → Software and Updates → Enable Source Code → Close → Reload.

Open a terminal (press Ctrl + Alt + T)
sudo apt build-dep audacity

sudo apt install git
git clone

cd audacity
sudo make install


Thanks in advance.


make distclean

to clean everything including “configure”
Then run configure again, adding


to the configure options.

For example, for a debug build that will work with ffmpeg

../configure CXXFLAGS="-std=gnu++11" --disable-dynamic-loading --with-portaudio=local --enable-debug

The two dots at the start are because create a “build” directory, change to that directory and build from there. If you build directly into the source tree, just one dot.