compiling apache2.2.6 package fails on cygwin 1.7

Dave Korn dave.korn.cygwin@googlemail.com
Thu Mar 11 22:17:00 GMT 2010


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



More information about the Cygwin mailing list