www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/11/14:27:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Mar 11 20:26:59 2010
X-DSPAM-Confidence: 0.9944
X-DSPAM-Improbability: 1 in 17736 chance of being spam
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 1,4b994403295611804284693
X-DSPAM-Factors: 27,
Message-ID: <4B994400.5000808@info-systems.de>
Date: Thu, 11 Mar 2010 20:26:56 +0100
From: Jakob Curdes <jc AT info-systems DOT de>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: compiling apache2.2.6 package fails on cygwin 1.7
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

Hello, we are trying to compile apache2 from the cygwin-supplied source 
tree using the apache2-2.2.6-1.sh script.
The reason I want to compile an own apache is that we need some 
additional modules not available from
the cygwin repositories. After success, I plan to publish these for the 
community.

I think we have all the necessary packages such as apr, apr-util, ldap, 
ssl and the respective devel packages.
This cygwin runs on a w2k3 server (64 bit).
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

 The only reference to this error that I could find refers to a missing 
main() or Winmain() function:
http://www.bloodshed.net/dev/faq.html#winmain

But as obviously this package has succseefully been compiled under 
cygwin this cannot be the real problem..
Does anybody have a hint what is going wrong here?


Thanks for a hint,
Jakob Curdes

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