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 Message-ID: <4005EB5B.2090902@niwa.co.nz> Date: Thu, 15 Jan 2004 14:22:35 +1300 From: Mark Hadfield Organization: NIWA User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-GB; rv:1.5) Gecko/20031007 MIME-Version: 1.0 To: Cygwin Mailing List Subject: Re: Building nco: changes in Cygwin break linking Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.33 (www . roaringpenguin . com / mimedefang) X-IsSubscribed: yes Problem solved (more or less). The error messages: fu000001.o(.idata$3+0xc): undefined reference to `_libc_iname' fu000002.o(.idata$3+0xc): undefined reference to `_libc_iname' etc occur because cc is being called with the -lC switch (ie. linking against C++ libraries!). And this occurs because of an AC_CHECK_LIB macro in configure.in. Read more about it in https://sourceforge.net/forum/forum.php?thread_id=1003653&forum_id=9830 -- Mark Hadfield "Ka puwaha te tai nei, Hoea tatou" m DOT hadfield AT niwa DOT co DOT nz National Institute for Water and Atmospheric Research (NIWA) -- 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/