X-Spam-Check-By: sourceware.org Date: Thu, 29 Dec 2005 16:11:54 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: problem linking popt Message-ID: <20051229211154.GC16036@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <1135889348 DOT 43b44bc430de2 AT webmail DOT utoronto DOT ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1135889348.43b44bc430de2@webmail.utoronto.ca> User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Thu, Dec 29, 2005 at 03:49:08PM -0500, duncan DOT smith AT utoronto DOT 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/