From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6675 invoked by alias); 25 Jun 2006 13:50:57 -0000 Received: (qmail 6665 invoked by uid 22791); 25 Jun 2006 13:50:56 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 25 Jun 2006 13:50:54 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FuV0d-0005Ta-DO for binutils@sources.redhat.com; Sun, 25 Jun 2006 15:50:43 +0200 Received: from anni14.starman.ee ([62.65.217.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Jun 2006 15:50:43 +0200 Received: from zhenja by anni14.starman.ee with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Jun 2006 15:50:43 +0200 To: binutils@sources.redhat.com From: "Sveta" Subject: Re: error building binutils on cygwin Date: Mon, 26 Jun 2006 02:52:00 -0000 Message-ID: References: <449AA079.4060302@redhat.com> X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00378.txt.bz2 I did not have bison istalled at all. I installed that now, but result is the same. The crosstool directory in the log does not refer to crosstool. I really try to build binutils from sources without any other scripts. "Nick Clifton" wrote in message news:449AA079.4060302@redhat.com... > Hi Sveta, > > > I need to build binutils. Tried different versions from 2.16.1 to 2.16.94. > > Always the same problem, which is shown in the log below. Please give me the > > hint - how to solve that. > > > > mkdir .libs > > gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o > > ld-new.exe ldgram.o ldlex.o > > lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o > > ldmisc.o ldfile.o ldcre > > f.o ei386pe.o deffilep.o pe-dll.o ../bfd/.libs/libbfd.a > > ../libiberty/libiberty.a > > deffilep.o: In function `main': > > /projects/crosstool-0.42/build/i686-pc-cygwin/gcc-4.1.1-/build-binutils/ld/d > > effilep.c:1: multiple de > > finition of `_main' > > ldmain.o:/projects/crosstool-0.42/build/i686-pc-cygwin/gcc-4.1.1-/binutils/l > > d/ldmain.c:183: first de > > fined here > > It looks like you have a bad or out of date version of bison installed > on your machine. The constructed deffile.c file is not supposed to have > a main() function in it. > > Please check to see which version of bison you have installed, and > update it if you can. > > Cheers > Nick >