gcc - cannot find -lc and -lm in g++ linux -


I am using Ubuntu and GCC and G ++ are working fine but today it has been shown: / P>

  can not be found - mm-lc   

I searched and found that something in the code with / usr / bin / ld To do. Which is symlink (I hope) lbd.bdf I have pasted that file into the directory from Ubuntu on PC's PC. It was not working.

I found that -lc means static library in libc.a. For the same way -lm

I found them in my i386-linux-folders (the name was different).

I tried code barriers but the same errors

Make sure your libpath (in G ++) indicates directory (ies) that the libm Are located in .a and libc.a (use the -l option)

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -