This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Updated: libunistring 0.9.5-1
- From: "Lemke, Michael ST/HZA-ZSW" <lemkemch at schaeffler dot com>
- To: "Nellis, Kenneth" <Kenneth dot Nellis at xerox dot com>
- Cc: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 10 Apr 2015 15:18:15 +0000
- Subject: RE: Updated: libunistring 0.9.5-1
- Authentication-results: sourceware.org; auth=none
- References: <55275D48 dot 9070009 at xs4all dot nl> <0D835E9B9CD07F40A48423F80D3B5A702E8BF21E at USA7109MB022 dot na dot xerox dot net>
>On Friday, April 10, 2015 4:59 PM Nellis, Kenneth wrote:
>Then wrote what I thought would be a trivial first program.
...
>It compiles fine, but I don't know how to get it to link.
>
>$ gcc -lunistring unicode_character_name.c
>/tmp/ccaJ19ki.o:unicode_character_name.c:(.text+0x57): undefined reference to `unicode_character_name'
>/tmp/ccaJ19ki.o:unicode_character_name.c:(.text+0x57): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `unicode_character_name'
>collect2: error: ld returned 1 exit status
>$
>
>Ideas?
Try
$ gcc unicode_character_name.c -lunistring
Michael