This is the mail archive of the cygwin 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: problem linking popt


On Thu, Dec 29, 2005 at 03:49:08PM -0500, duncan.smith@utoronto.ca wrote:
>Hi,
>I'm having trouble compiling a program under cygwin that uses popt.
>Specifically, when I link to -lpopt, it's as if the library is empty (I get a
>list of undefined references to _poptGetContext, etc.).
>
>I have attached cygcheck.out, as well as make.out, which is make's output at the
>linking step.
>
>Thanks for any help,

Libraries go last after object files in a gcc command line, not first.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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