Frederick Gotham <
cauldwel...@gmail.com> writes:
> About ten years ago I thought that I'd seen every kind of compiler and
> linker error. I know that when templates go wrong you can get a sea of
> information, but I've at least understood each individual line.
>
> Today I'm stumped. It's a linker error that has me stumped.
>
> Let's say I have already compiled a dynamic shared library, and my
> library is called 'Monkey'. So on MS-Windows, I have "libMonkey.dll",
> and on Linux and Mac, I have "libMonkey.so".
>
> So then I write a program that makes use of my Monkey library, and I compile it like so:
>
> g++ -o new_program new_program.cpp -lMonkey
>
> This compilation of "new_program" is failing, and the linker is saying
> that there are undefined references in the Monkey library.