This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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" commented out...
> However, a WAG: when you say
> > Here is the source code:
> > -----------------------------
> > main.c or
> >
> > #include <libintl.h>
> Do you mean that the first line of your program is
> actually "main.c or
>"?  If not, what is the first line?  I get a
> similar message if I
> put something nonsensical there, like "class".
> 	Igor
> -- 

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
/cygdrive/e/home/ael/work/gt/main.c:14: undefined
reference to `_libintl_bindtex
/cygdrive/e/home/ael/work/gt/main.c:15: undefined
reference to `_libintl_textdom
/cygdrive/e/home/ael/work/gt/main.c:16: undefined
reference to `_libintl_gettext
collect2: ld returned 1 exit status

Help me, please, to find the reason.

Alexey Lyubimov

Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]