X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message Subject: RE: FW: Need help to compile coreutils-5.96 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 15 Jun 2006 11:09:36 -0400 Message-ID: <400BDC416E2A0042AA35DF3919BB8A513515B3@mail.mtl.proksim.com> From: "Olivier Langlois" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k5FF9lcx029446 Hi, What you say makes sense. I have run coreutils-5.96-1.sh first and it did not complete correctly because I did not have patch installed. I have downloaded patch and then executed the script again thinking that it would overwrite what the first attempt did. I will try to redo the whole process from scratch and If I still have the problem, I'll come back to report it. BTW, it is the first time I try to compile a cygwin package and I'm really amazed how easy it is. I used to have bad experiences with compiling stuff on Unix but with your package, everything went very smooth and flawlessly except for my small glitch. Nice job! Greetings, Olivier Langlois http://www.olivierlanglois.net > -----Original Message----- > > > 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/