Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Vince Mounts" <vince@mounts.cc>
Subject: Problem building CVS version of binutils (or revenge of WinMain@16)
Date: Sat, 14 Sep 2002 10:25:15 -0400
Lines: 50
Message-ID: <alvgs9$v20$1@main.gmane.org>
Reply-To: "Vince Mounts" <vince@mounts.cc>
NNTP-Posting-Host: 110-pool1.ras15.ilchi-e.alerondial.net
X-Trace: main.gmane.org 1032013514 31808 206.148.92.110 (14 Sep 2002 14:25:14 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Sat, 14 Sep 2002 14:25:14 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Hi,

I received an error during the link stage of building the CVS version of
binutils.
Here is my setup:

Fresh install of all the latest packages....
gcc 3.2-1
gcc-mingw 3.2-20020817-1
gcc2 2.95.3-10
binutils 20020706-2

libintl 0.10.38-3


Here is my error:

gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o cxxfilt.exe
cplus-dem.o underscore.o  ../libiberty/libiberty.a ./../intl/libintl.a
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../libcygwin.a(libcmain.o)(.text+0
x81): undefined reference to `_WinMain@16'
collect2: ld returned 1 exit status
make[3]: *** [cxxfilt.exe] Error 1
make[3]: Leaving directory `/cygdrive/f/dev/binutils/build/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/f/dev/binutils/build/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/cygdrive/f/dev/binutils/build/binutils'
make: *** [all-binutils] Error 2


I saw on the list archive where someone recently had the same message with
3.1 version of g77 i think it was.
http://sources.redhat.com/ml/cygwin/2002-07/msg00896.html

Anyway. I must admit I had a little trouble figuring out what the problem
ended up being or even it would apply to my situation(I don;t think it did).
Anyway just in case... it seemed like you guys were talking about some file
getting clobbered by one or the other of the installs so just in case I
tried it both ways after this first failure (i.e. un-install re-install
gcc-2 and then when that failed un-install reinstall gcc3.2).
It failed in all cases with the same message so I am turning here in hopes
someone can help me out....


Vince







--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

