This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Packaging of libraries


On 8/5/2010 3:09 PM, Chris Sutcliffe wrote:

libtool: link: warning: undefined symbols not allowed in
i686-pc-cygwin shared libraries

but I can't find any output from libtool to tell me what symbols are
undefined.  Is there a way to find out what libtool is complaining
about?

There may not actually BE any undefined symbols. If *libtool* is warning you about this, it is because you haven't told libtool that you BELIEVE that the lib has no undefed symbols. If you don't tell it that (LD_FLAGS+=-no-undefined), then it won't even try to build a shared lib.


This is so you get a warning, instead of a failure, when compiling libs which actually DO have unresolved symbols; because you ought to be able to compile THOSE as static libs after all, without dying.

--
Chuck


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]