This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]