www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/11/16:43:01

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B996817.5060908@gmail.com>
Date: Thu, 11 Mar 2010 22:00:55 +0000
From: Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: compiling apache2.2.6 package fails on cygwin 1.7
References: <4B994400 DOT 5000808 AT info-systems DOT de>
In-Reply-To: <4B994400.5000808@info-systems.de>
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

On 11/03/2010 19:26, Jakob Curdes wrote:

> The compile step goes well, in the linker phase we get an error in the
> final step:
> 
> make[1]: Entering directory `/usr/src/httpd-2.2.6/.build'
> /usr/share/apr/build-1/libtool --silent --mode=link gcc   -O2  
> -L/usr/lib   -o httpd2  -export-dynamic
> */usr/lib/libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to
> `_WinMain AT 16'*
> collect2: ld returned 1 exit status
> make[1]: *** [httpd2] Error 1
> make[1]: Leaving directory `/usr/src/httpd-2.2.6/.build'
> make: *** [all-recursive] Error 1

  That's bizarre.  Something's gone wrong in the Makefile generation probably,
but for whatever reason, there aren't any .o files listed on that supposed
final link commandline.  Or any libraries.  You're going to have to look in
the makefile, find out where that commandline comes from, and figure out how
it expects to get object files defined and why it's not happening.

    cheers,
      DaveK


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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