This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin 1.7-58 with windows 2008
- From: Mark Geisert <mark at maxrnd dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 11 Mar 2016 06:38:08 +0000 (UTC)
- Subject: Re: Cygwin 1.7-58 with windows 2008
- Authentication-results: sourceware.org; auth=none
- References: <CAPCR6Q3tkJ0ztopqRwj52WQBifdhC15ywikr7kBOokje0gNd7w at mail dot gmail dot com> <CAPCR6Q01AN+KuNySYE-pUAz=8m-vNA33Xq0yiB=ULkLYQYi7Yw at mail dot gmail dot com> <CAPCR6Q3vmSB2BnKdmjAqobQDOxVjU3GKE0J9q4eapkKirPO5Mg at mail dot gmail dot com> <CAPCR6Q3t9E9P-vCM+A8r0i9vuRAAE7SLhWvmSVAPmw=Q+CrmXA at mail dot gmail dot com> <CAPCR6Q26ohhD84aWbOHR4b-FxZp_oHYFktO_nbWOsJ-NoaGVnw at mail dot gmail dot com> <CAPCR6Q2GdXd=EF7iAdP+xYT7UomLefLKgDm=be0oD=Wh64T_-g at mail dot gmail dot com> <CAPCR6Q15uhpvdH=rTHfXxaNK=+5y3-rF4ZSqvLGe=HOMGCEMSw at mail dot gmail dot com>
Rashi Singhal writes:
> Hello.
>
> Please help me in resolving below compilation error:
> I am compiling Cygwin 1.7.0.58
>
> make[5]: Leaving directory
> `/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api/lib/directx'
> make[4]: Leaving directory `/cygwin-1.7.0-58/i686-pc-
cygwin/winsup/w32api/lib'
> make[3]: Leaving directory `/cygwin-1.7.0-58/i686-pc-
cygwin/winsup/w32api'
> make[3]: Entering directory `/cygwin-1.7.0-58/i686-pc-
cygwin/winsup/cygwin'
> g++ -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup
> -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup/cygwin
> -L/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/winsup/w32api/lib
> -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/include -isystem
> /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/cygwin/include -isystem
> /cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/w32api/include
> -B/cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/newlib/ -isystem
> /cygdrive/c/cygwin/cygwin-1.7.0-58/i686-pc-cygwin/newlib/targ-include
> -isystem /cygdrive/c/cygwin/cygwin-1.7.0-58/newlib/libc/include -c
> -DHAVE_CONFIG_H -g -O2 -MMD -Werror -fmerge-constants -ftracer
> -Wall -Wstrict-aliasing -Wwrite-strings -fno-common -pipe -fbuiltin
> -fmessage-length=0 -I.
> -I/cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/cygwin
> -I/cygdrive/c/cygwin/cygwin-1.7.0-58/winsup/w32api/include
> -I../../.././winsup/cygwin/config/i386
> -I/usr/lib/gcc/i686-pc-cygwin/3.4.4/include -fno-rtti -fno-exceptions
> -o ./_cygwin_crt0_common.o
> ../../.././winsup/cygwin/lib/_cygwin_crt0_common.cc
>
> make[3]: *** [_cygwin_crt0_common.o] Error 127
> make[3]: Leaving directory `/cygwin-1.7.0-58/i686-pc-
cygwin/winsup/cygwin'
> make[2]: *** [cygwin] Error 1
> make[2]: Leaving directory `/cygwin-1.7.0-58/i686-pc-cygwin/winsup'
> make[1]: *** [all-target-winsup] Error 2
> make[1]: Leaving directory `/cygwin-1.7.0-58'
> make: *** [all] Error 2
>
> Please give some clue what could be missing
I don't know the answer to your question. But it appears you might be
building in the same directory that holds the Cygwin source. That won't
work. You should be following the recipe in the FAQ, located here...
https://cygwin.com/faq.html#faq.programming.building-cygwin
Note that the list of required build tools shown there may be a little
different for such an old release, so beware. But the main point is to
set up a build directory like /oss, with subdirectories /oss/build,
/oss/install, and /oss/src. What I tend to do is define a symbolic link
/oss/src that points at the directory containing the Cygwin source tree,
/cygdrive/c/cygwin/cygwin-1.7.0-58 in your case. Then cd to /oss/build
and run configure and make like the FAQ entry describes. Good luck!
..mark
--
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