| www.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-MimeOLE: | Produced By Microsoft Exchange V6.0.4417.0 |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| Subject: | RE: Got "undefined reference to" when compile program. Please help. |
| Date: | Mon, 22 Jul 2002 18:54:36 -0400 |
| Message-ID: | <BADF3C947A1BD54FBA75C70C241B0B9E40F11A@ex02.idirect.net> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | "Harig, Mark A." <maharig AT idirect DOT net> |
| To: | "joei" <joei AT thai DOT com>, <cygwin AT cygwin DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g6MMsgr16701 |
getopt_long_only is defined in libiberty.a, which is included in the gcc/g++ distribution of gcc 2.95.3-5 (the stable version). You should be able to find that library in /lib. If you don't find it there or you think it might be corrupted, then you might try reinstalling the gcc/g++ compiler. Also, what is the command that you used to compile argp-parse.o? What is the command that is linking in the archive library argp/libargp.a? > -----Original Message----- > From: joei [mailto:joei AT thai DOT com] > Sent: Saturday, July 20, 2002 10:12 AM > To: cygwin AT cygwin DOT com > Subject: Got "undefined reference to" when compile program. > Please help. > > > I try to compile Linux source code of Rainbow (It is A.I. tool). > After I try to fix something (such as values.h that have not in > cygwin) I get last error message that I can't fix. > > It is... > > ./argp/libargp.a(argp-parse.o): In function `parser_parse_next': > /home/xxx/bowsrc/bow-20020213/argp/argp-parse.c:748: > undefined reference to > `getopt_long_only' > collect2: ld returned 1 exit status > make: *** [rainbow] Error 1 > > Do any one have any idea about this error? > If you have ever seen this error and have solution please > let me know. > > You may also download source code at > http://www.siamzone.com/temp/bowsrc.zip > > Thanks for read and many thanks for help!!.. > > > be yourself AT thai DOT com! > Shop all amazing products and get our special offers! > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Bug reporting: http://cygwin.com/bugs.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |