delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/06/14/20:46:38

X-Spam-Check-By: sourceware.org
From: ericblake AT comcast DOT net (Eric Blake)
To: Olivier Langlois <olanglois AT quazal DOT com>, cygwin AT cygwin DOT com
Subject: Re: FW: Need help to compile coreutils-5.96
Date: Thu, 15 Jun 2006 00:46:24 +0000
Message-Id: <061520060046.9316.4490ADE00002DEB10000246422007510900A050E040D0C079D0A@comcast.net>
X-Mailer: AT&T Message Center Version 1 (Apr 11 2006)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

> When compiling this package, I receive this error message from the linker:
> 
> gcc -std=gnu99  -g -O2   -o cp.exe  cp.o copy.o cp-hash.o ../lib/libcoreutils.a
>   ../lib/libcoreutils.a
> copy.o:copy.c:(.text+0xefd): undefined reference to `_cygwin_spelling'
> copy.o:copy.c:(.text+0x2b38): undefined reference to `_cygwin_spelling'
> collect2: ld returned 1 exit status
> 
> Does someone have any idea about what is wrong?

It sounds like you did not properly run the /usr/src/coreutils-5.96-1.sh
script to prep the source with my downstream patches.  cygwin_spelling()
is a function I wrote, provided in lib/cygwin.c which is part of my patch,
and should be linked in to lib/libcoreutils.a if the package is properly
re-autotooled during the prep stage.

-- 
Eric Blake
volunteer cygwin coreutils maintainer

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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