delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/12/08:23:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <ronald AT landheer DOT com>
X-X-Sender: ronald AT localhost DOT localdomain
To: jklcom <jklcom AT mindspring DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Getting undefined reference to `_libiconv_open'
In-Reply-To: <02f201c2d269$928e8d10$2701a8c0@E888>
Message-ID: <Pine.LNX.4.44.0302121428520.27589-100000@localhost.localdomain>
MIME-Version: 1.0

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

<WAG1>
You didn't link to libiconv - try using -liconv on your link line
</WAG1>
<WAG2>
You might not even have libiconv installed - try installing it with 
Setup.exe
</WAG2>
 
*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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019