Packaging of libraries

Charles Wilson
Thu Aug 5 19:32:00 GMT 2010

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.


More information about the Cygwin-apps mailing list