On Thu, Dec 29, 2005 at 03:49:08PM -0500, [EMAIL PROTECTED] 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/

Reply via email to