Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: "Hans Horn" Subject: Re: undefined reference to '_... Date: Sun, 8 Jun 2003 13:22:54 -0700 Lines: 24 Message-ID: References: X-Complaints-To: usenet AT main DOT gmane DOT org X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Andrew Markebo wrote: | Just give it a try and put "the library" one more time in the linker | command, at the end. | | /A Andrew, you are right, repeating the list of internal libs back-to-back gcc -ofoo foomain.o -L../lib -lfoo1 -lfoo2 -lfoo1 -lfoo2 -lg2c -lc -lgsl -lm does the trick! The executable links now properly. Even though it dumps a core on invocation. But here the debugger can help! thank you so much! H. -- 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/