This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: compiling apache2.2.6 package fails on cygwin 1.7




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]