delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Eric Blake <ebb9 AT byu DOT net> |
Subject: | Re: undefined reference to =?utf-8?b?YF9nZXRsaW5lJw==?= in linking |
Date: | Tue, 13 Mar 2007 23:34:11 +0000 (UTC) |
Lines: | 22 |
Message-ID: | <loom.20070314T003046-558@post.gmane.org> |
References: | <fe37588d0703131605v2e236af1u7698088f34e581cf AT mail DOT gmail DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
Kristian Hermansen <kristian.hermansen <at> gmail.com> writes: > administrator <at> ubuntu-khermans-desk:/tmp$ i586-mingw32msvc-gcc > getline-test.c /tmp/ccCRN0HZ.o:getline-test.c:(.text+0x5f): undefined > reference to `_getline' > collect2: ld returned 1 exit status > </snip> > > I filed a bug with Ubuntu, as I am unsure if this is a distro-specific So your Linux-hosted mingw cross-compiler doesn't work on ubuntu. And this would have _what_ to do with cygwin, exactly? By the way, getline is not standardized (yet; the Austin group will be adding it to the next version of POSIX, but that won't be for another year or two). mingw probably doesn't have it. And cygwin has it, but it was relatively recently that it was added. You may also be interested in the gnulib project, which includes a getline replacement for lacking platforms. -- Eric Blake -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |