X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <4A79AD30.9060001@sbcglobal.net> Date: Wed, 05 Aug 2009 16:02:56 +0000 From: Greg Chicares User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Some library fail to be found when compiling a little program of GCC References: <24831027 DOT post AT talk DOT nabble DOT com> In-Reply-To: <24831027.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 2009-08-05 15:39Z, coolsand wrote: > This is the message relied from the make of GCC as blow: > arch/s3c2410/s3c2410.o: In function `command_cpu': > arch/s3c2410/s3c2410.o(.text+0x87c): undefined reference to `strncmp' Please show the command line that you used for linking. Perhaps you tried linking with 'ld' instead of 'gcc'? If you use 'gcc' to link, then the C runtime library is automatically included. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple