From: "Harig, Mark A." <maharig@idirect.net>
To: "joei" <joei@thai.com>, <cygwin@cygwin.com>
Subject: RE: Got "undefined reference to" when compile program. Please help.
Date: Mon, 22 Jul 2002 16:57:00 -0000 [thread overview]
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E40F11A@ex02.idirect.net> (raw)
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@thai.com]
> Sent: Saturday, July 20, 2002 10:12 AM
> To: cygwin@cygwin.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@thai.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/
next reply other threads:[~2002-07-22 22:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-22 16:57 Harig, Mark A. [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-07-20 16:19 joei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BADF3C947A1BD54FBA75C70C241B0B9E40F11A@ex02.idirect.net \
--to=maharig@idirect.net \
--cc=cygwin@cygwin.com \
--cc=joei@thai.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).