delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/14/10:25:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
To: cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: "Vince Mounts" <vince AT mounts DOT cc>
Subject: Problem building CVS version of binutils (or revenge of WinMain AT 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 AT mounts DOT 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 AT main DOT gmane DOT 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 AT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019