This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
note on messages if auto-imported symbols not found
- To: "Binutils" <binutils at sources dot redhat dot com>
- Subject: note on messages if auto-imported symbols not found
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- Date: Fri, 21 Sep 2001 11:01:08 +0200
Hi,
I have a suggestion about messages, which are displayed, when an auto-imported
symbol wasn't found:
<snip>
Warning: resolving Qt::darkRed by linking to __imp___2Qt$darkRed (auto-import)
Warning: resolving Qt::darkGreen by linking to __imp___2Qt$darkGreen
(auto-import)
Warning: resolving Qt::darkBlue by linking to __imp___2Qt$darkBlue
(auto-import)
Warning: resolving Qt::darkCyan by linking to __imp___2Qt$darkCyan
(auto-import)
Warning: resolving Qt::darkMagenta by linking to __imp___2Qt$darkMagenta
(auto-import)
Warning: resolving Qt::darkYellow by linking to __imp___2Qt$darkYellow
(auto-import)
Warning: resolving Qt::lightGray by linking to __imp___2Qt$lightGray
(auto-import)
Warning: resolving Qt::gray by linking to __imp___2Qt$gray (auto-import)
Warning: resolving Qt::color1 by linking to __imp___2Qt$color1 (auto-import)
Warning: resolving Qt::color0 by linking to __imp___2Qt$color0 (auto-import)
!!!Warning: resolving _h_errno by linking to __imp__h_errno (auto-import)
Warning: resolving _objectDict by linking to __imp__objectDict (auto-import)
Creating library file: .libs/libkdecore.dll.a
!!!!
fu008489.o(.idata$3+0xc): undefined reference to `templib_a_iname'
nmth008488.o(.idata$4+0x0): undefined reference to `_nm__h_errno'
!!!!
As I have seen first these message, I' was a little bit worried about what to
do,
because there is not hint in which object file the error occurs.
An object file retrieval for the symbol _nm__h_errno will fail too, because this
symbol
and the object files are a product of the auto-import feature.
I think that many people how encountered this error will ask in the mailing
list, which
could be prevented by adding a little message like "undefined reference to
auto-imported data symbol "_h_errno"
or so.
Regards
Ralf