make error

Help for Audacity 2.x.x on GNU/Linux.
Forum rules
ImageThis forum is for Audacity 2.x.x on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
Posts: 15
Joined: Thu Jun 22, 2017 9:50 am
Operating System: Linux *buntu

make error

Post by vince66 » Wed Jul 19, 2017 10:38 pm

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.


Site Admin
Posts: 47274
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: make error

Post by steve » Wed Jul 19, 2017 11:10 pm

Code: Select all

make distclean
to clean everything including "configure"
Then run configure again, adding

Code: Select all

to the configure options.

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

Code: Select all

../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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply