X-Recipient: archive-cygwin@delorie.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.korn.cygwin@googlemail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: compiling apache2.2.6 package fails on cygwin 1.7
References: <4B994400.5000808@info-systems.de>
In-Reply-To: <4B994400.5000808@info-systems.de>
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@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

