X-Spam-Check-By: sourceware.org X-YMail-OSG: 1V7Ns54VM1nQQG_VOihd96qJvki8FbxuTtnrQdLeqtkWHzjJDAQcwTtv68vnkszDTVAYFKdTx4Xt6uLY2ilhkH6FLkAiCWzhkEGtxOPpI5KPbrEVljs- Date: Mon, 18 Jun 2007 04:26:14 -0700 (PDT) From: Alexey Lyubimov Subject: Re: 1.5.24-2 (locale.h): Compilation ERRORs ?! To: cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <434560.49628.qm@web33214.mail.mud.yahoo.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --- Igor Peshansky wrote: [snip] > 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 > > 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". > Igor > -- Thank you Igor, you were right!!! The first line of the program was actually: $Id$ 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 `main': /cygdrive/e/home/ael/work/gt/main.c:14: undefined reference to `_libintl_bindtex tdomain' /cygdrive/e/home/ael/work/gt/main.c:15: undefined reference to `_libintl_textdom ain' /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. http://answers.yahoo.com/dir/?link=list&sid=396545469 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/