Re: Updated to Ubuntu 11.04 and Can't Compile



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]