This is the mail archive of the
mailing list for the Cygwin project.
RE: Got "undefined reference to" when compile program. Please help.
- From: "Harig, Mark A." <maharig at idirect dot net>
- To: "joei" <joei at thai dot com>,<cygwin at cygwin dot com>
- Date: Mon, 22 Jul 2002 18:54:36 -0400
- Subject: RE: Got "undefined reference to" when compile program. Please help.
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
> -----Original Message-----
> From: joei [mailto:firstname.lastname@example.org]
> Sent: Saturday, July 20, 2002 10:12 AM
> To: email@example.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':
> undefined reference to
> 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
> Thanks for read and many thanks for help!!..
> be firstname.lastname@example.org!
> 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