Re: Linker can't resolve any references

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

 



Bob Cowdery <bob@xxxxxxxxxxxxxxxxxxx> writes:

> I had read that and I was quite careful to ensure the correct order. I
> did a test with just two libraries where the second referenced the first
> and as in my follow-up message it didn't pull them in unless I made a
> call into each from my main code. It's like the symbol tables are messed
> up somehow.

If your main program has a call into the first library, and the object
required to satisfy that call has a call into the second library, then
the linker should certainly pull in the required object from the
second library.

Can you provide a small standalone example of the problem?

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux