X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=PB7vJNZUlYUR9QatILCeWgX1sCLQt WtaZLo/5wDBR2wGB/68C/g5dZWvFdoL448xqqjRbue2QO4Hr3Usq+UJAABh1KxRm S0QdVxCbTUVZsEiYPDW8Ll2A8o6/QPcxlcySOUA7e8WBLTec0YMPVdk28LWvxYta GOr38lnVE6tQKo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=X2iAMUUltRuqNotV3xhQ4V2PAn4=; b=hZC ITGjkTkRfkiyZa0+sJmwB3t/Qrva58qlw+CP4HafT6/IgsXHbNm6A01pHfIji2Wj wPhZh9K5bEyeV1i6U+93Eq6CWWYrubPNz6xxsKEF+9CBsEWBsFEuWjIl/ooae31+ ZcFw11pqS3ZQgajWLZRqcSOQUoP5uI4hA5jS0Pl0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: cluster-j.mailcontrol.com From: "Lemke, Michael ST/HZA-ZSW" To: "Nellis, Kenneth" CC: "cygwin AT cygwin DOT com" Subject: RE: Updated: libunistring 0.9.5-1 Date: Fri, 10 Apr 2015 15:18:15 +0000 Message-ID: <33EC3398272FBE47B64EE3B3E98F69A76C41CFCE@de011521.schaeffler.com> References: <55275D48 DOT 9070009 AT xs4all DOT nl> <0D835E9B9CD07F40A48423F80D3B5A702E8BF21E AT USA7109MB022 DOT na DOT xerox DOT net> In-Reply-To: <0D835E9B9CD07F40A48423F80D3B5A702E8BF21E@USA7109MB022.na.xerox.net> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t3AFIYZw015094 >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