Always helps if you post a link to where you found the information, but I found it
http://n2.nabble.com/Compliling-1-3-8-o ... 99809.html
As it says in the thread:
Someone on -devel list had the same apparent problem, and Leland suggested changing from SND_OCM_TSTAMP_ENABLE to SND_PCM_TSTAMP_MMAP. He points out that ALSA docs say that SND_PCM_TSTAMP_MMAP is:
"Equivalent with SND_PCM_TSTAMP_ENABLE, just for compatibility with older versions"
Audacity 1.3.9 compiles fine on Ubuntu 9.04, so it's possible this may help (also, Leland is one of the top developers and legendary bug fixer for Audacity - he knows what he's talking about). If you're not ready to update Ubuntu yet, it may be worth giving it a go. However, if you're going to all the trouble of building from source, it's worth going one small step further and building the 1.3.10 version from cvs (it has several new bug fixes that are missing from 1.3.9).
Getting the latest source code from cvs is easy - you need to install the cvs package with apt or Synaptic, then type this at the command line
This will create a folder called "audacity" in your current directory and download the latest source code into it.
(I'd suggest that you see if you still get the problem with the cvs version before you start hacking the code)