delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/26/06:00:33

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Roelof Berg <rberg AT berg-solutions DOT de>
Subject: Re: Building a cygwin->linux cross-compiler problem
Date: Thu, 23 Nov 2006 15:32:52 +0000 (UTC)
Lines: 34
Message-ID: <loom.20061123T161334-479@post.gmane.org>
References: <430979A2 DOT 40506 AT fastcom-technology DOT com> <43097F2A DOT 5D4AAEDC AT dessent DOT net> <43098537 DOT 3090808 AT fastcom-technology 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

[Alain Paschoud:]

For some reason, I need to compile in cygwin applications that will run
on linux (OpenBSD to be precise). [...] To do so, I am following first part of
next howto: http://gentoo-wiki.com/HOWTO_Distcc_server_on_Windows

But when I compile the binutils (binutils-20050610-1) with gcc (gcc
(GCC) 3.4.4 (cygming special)), the compilation stops, complaining that
_main is twice defined... and that _yyparse can't be linked. [...]

[Brian Dessent:]
Are you missing bison?

[Alain Paschoud:]
According to the error message, this is a good question. But bison and
byacc are installed... however, the configure script doesn't say clearly
if bison is present or not according to its tests.

[Roelof Berg:]
Hi,

I had the same compiler error output. After I installed bison and byacc binaries
 using cygwins setup.exe everything was fine. (Be sure to clear old temorary
build files after bison is installed before running a new build...).

There were warning messages asking for "bison" and something like "flex" that
gave me the clue what is missing exactly. If you call make a second time after
the error message is shown there is less output so the missing module warnings
can be seen more easily.

hope it helps,
thanks Brian!,
Roelof



--
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