Where is -lm_p?

Pierre Abbat phma at phma.optus.nu
Sat Feb 25 20:39:39 PST 2012


I'm working on a program and I want to see how much time it's spending in each 
function. So I edit the CMakeCache and add the -pg flag:

//Flags used by the compiler during debug builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-ggdb -pg

I then run cmake and make and get this:

[ 50%] Building CXX object CMakeFiles/tone12.dir/midi.o
[ 75%] Building CXX object CMakeFiles/tone12.dir/riffwave.o                               
[100%] Building CXX object CMakeFiles/tone12.dir/tonegen.o                                
Linking CXX executable tone12                                                             
/usr/libexec/binutils222/elf/ld: cannot find -lm_p                                        
*** Error code 1

Pierre
-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci





More information about the Users mailing list