Robert Greig escribió:
2008/8/20 Manuel Teira <[EMAIL PROTECTED]>:

I don't know if these implicit dependencies should be tracked automatically
by the compiler (it seems to know where the dependency is located, but
refuses to link it). I think that adding boost_system to the libraries
needed by qpidd, regardless the compiler won't hurt. What do you think?

Just a guess but I presume the platform difference is due to
differences in the output file format - i.e. only explicit
dependencies are recorded on solaris?
After googling a bit, I didn't found any positive reason to explain it (but it's a very usual error linking ported code in Solaris) Nevertheless, in my opinion, the fact is that we are referencing directly to a symbol existing in a A library, being aware that the already linked B library will link A. The only confusing thing here is that the symbol get referenced through the inclusion of the B header. I guess that the gnu linker tries to resolve all the linked libraries, whereas the solaris one is only collecting symbols from the explicitly linked libraries to resolve those undefined in the object files.

Regards.


Manuel.


RG


Reply via email to