| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| 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" <hannes AT 2horns DOT com> |
| Subject: | Re: undefined reference to '_... |
| Date: | Sun, 8 Jun 2003 13:22:54 -0700 |
| Lines: | 24 |
| Message-ID: | <bc05qf$fm4$1@main.gmane.org> |
| References: | <bbvr94$edj$1 AT main DOT gmane DOT org> |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |