This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Getting undefined reference to `_libiconv_open'
- From: Ronald Landheer-Cieslak <ronald at landheer dot com>
- To: jklcom <jklcom at mindspring dot com>
- Cc: cygwin at cygwin dot com
- Date: Wed, 12 Feb 2003 14:31:09 +0100 (CET)
- Subject: Re: Getting undefined reference to `_libiconv_open'
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/