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