Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs Date: Wed, 12 Feb 2003 14:31:09 +0100 (CET) From: Ronald Landheer-Cieslak X-X-Sender: ronald AT localhost DOT localdomain To: jklcom cc: cygwin AT cygwin DOT com Subject: Re: Getting undefined reference to `_libiconv_open' In-Reply-To: <02f201c2d269$928e8d10$2701a8c0@E888> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Of course, I *should* point you to http://cygwin.com/bugs.html and tell you to RTFM, but I'll do a couple of WAGs in stead You didn't link to libiconv - try using -liconv on your link line You might not even have libiconv installed - try installing it with Setup.exe *now* I will point you to http://cygwin.com/bugs.html *and* tell you to RTFM next time. Ciao, rlc On Tue, 11 Feb 2003, jklcom wrote: > Hi, can someone help? > > When I compile my program I'm getting the following error messages: > > /c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0x8e):test.c: undefined > referenc > e to `_libiconv_open' > /c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0xb8):test.c: undefined > referenc > e to `_libiconv' > /c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0xd9):test.c: undefined > referenc > e to `_libiconv_close' > /c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0x17b):test.c: undefined > referen > ce to `_libiconv_open' > /c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0x1b7):test.c: undefined > referen > ce to `_error' > /c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0x28a):test.c: undefined > referen > ce to `_libiconv' > /c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0x2d0):test.c: undefined > referen > ce to `_libiconv' > /c/DOCUME~1/Jeff/LOCALS~1/Temp/ccGtIvim.o(.text+0x35c):test.c: undefined > referen > ce to `_libiconv_close' > > > -- > 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 Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/