Re: Updated to Ubuntu 11.04 and Can't Compile



Hi Allin,

I don't think it was the grace of god in my old makefiles.  It was an
older version of gcc on my hard drive. Thank you for all your help.  

Craig Bakalian

On Sat, 2011-03-05 at 21:36 -0500, Allin Cottrell wrote:
On Sat, 5 Mar 2011, Craig Bakalian wrote:

Well call me a frog.  It worked.  What the heck is going on?  I gotta
change all my makefiles?

You're a frog, sir!

You have to feed all the "-lXX" stuff that is provided by
"pkg-config --libs XX" to the linker _after_ the compiler has seen
your code, and figured out what symbols it needs from the shared
libraries. If it worked otherwise before, it was only by the grace
of God.

Allin Cottrell





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]