| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.6 required=5.0 tests=BAYES_00 |
| X-Spam-Check-By: | sourceware.org |
| X-DSPAM-Result: | Innocent |
| X-DSPAM-Processed: | Thu Mar 11 23:16:57 2010 |
| X-DSPAM-Confidence: | 0.9953 |
| X-DSPAM-Improbability: | 1 in 21252 chance of being spam |
| X-DSPAM-Probability: | 0.0000 |
| X-DSPAM-Signature: | 1,4b996bd9117091804284693 |
| X-DSPAM-Factors: | 27, |
| Message-ID: | <4B996BD7.40702@info-systems.de> |
| Date: | Thu, 11 Mar 2010 23:16:55 +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 |
| CC: | maxb1 AT ukf DOT net |
| Subject: | Re: 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 |
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?
>Are you using the scripts/process from the Cygwin source tarball?
>If not, take a look there to see if that offers some insights.
Yes, I used the apache2-2.2.6-1.sh script from the cygwin source tarball for apache2.2.6.
(package apache2/apache2-2.2.6-1-src). I also read
/usr/share/doc/Cygwin/*apache*2-2.2.6.README
but there are no hints or special instructions.
This is why I am wondering;
maybe the maintainer can tell if this is a general problem that he overcame
in some way or if this seems to be pinned to this installation. Might this be a problem
with a 64 bit Windows operating system?
Best regards,
Jakob Curdes
(snip)
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |