This is the mail archive of the
mailing list for the Cygwin project.
Re: 1.5.24-2 (locale.h): Compilation ERRORs ?!
- From: Alexey Lyubimov <alexeipobox at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 18 Jun 2007 04:26:14 -0700 (PDT)
- Subject: Re: 1.5.24-2 (locale.h): Compilation ERRORs ?!
--- Igor Peshansky wrote:
> Not sure. Builds fine on my system, with both gcc
> and g++, with "main.c
> or main.cc" commented out...
> However, a WAG: when you say
> > Here is the source code:
> > -----------------------------
> > main.c or main.cc
> > #include <libintl.h>
> Do you mean that the first line of your program is
> actually "main.c or
> main.cc"? If not, what is the first line? I get a
> similar message if I
> put something nonsensical there, like "class".
Thank you Igor, you were right!!! The first line of
the program was actually:
I forgot comment out the keyword for Subversion ;-)
After I corrected that line in the source -
compilation runs Ok. BUT NOW I HAVE A PROBLEM WITH
LINKING the program:
$ gcc -o gt -g main.c
/cygdrive/c/windows/temp/cc0IXbwD.o: In function
reference to `_libintl_bindtex
reference to `_libintl_textdom
reference to `_libintl_gettext
collect2: ld returned 1 exit status
Help me, please, to find the reason.
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html