X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=3.7 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_93 X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Compiling cygwin-1.7.0-50 with undefined references Date: Mon, 6 Jul 2009 12:42:20 +0200 Message-ID: From: "Kaul, Martin" To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, currently I try to compile cygwin-1.7.0-50.=20 The make fails with the following error: ---------------- Making in mingwex... make[4]: Entering directory `/home/mkaul/toolchain/cygwin-1.7.0-50/i686-pc-cygwin/winsup/mingw/mingw ex' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/home/mkaul/toolchain/cygwin-1.7.0-50/i686-pc-cygwin/winsup/mingw/mingw ex' dlltool --as as --dllname mingwm10.dll \ --def mingwthrd.def --output-lib libmingwthrd.a ar rv libmingwthrd.a crtmt.o a - crtmt.o ranlib libmingwthrd.a dlltool --as as --output-def mingwthrd.def mthr.o mthr_init.o /home/mkaul/toolchain/cygwin-1.7.0-50/winsup/utils/mingw gcc -B./ -shared -Wl,--image-base,0x6FBC0000 -Wl,--entry,_DllMainCRTStartup AT 12 mthr.o mthr_init.o mingwthrd.def -Lmingwex -o mingwm10.dll /usr/lib/gcc/i686-pc-cygwin/4.3.2/../../../../i686-pc-cygwin/bin/ld: warning: cannot find entry symbol _DllMainCRTStartup AT 12; defaulting to 6fbc1000 mthr.o: In function `___mingwthr_remove_key_dtor': /home/mkaul/toolchain/cygwin-1.7.0-50/i686-pc-cygwin/winsup/mingw/../../ .././winsup/mingw/mthr.c:107: undefined reference to `_free' mthr.o: In function `___mingwthr_add_key_dtor': /home/mkaul/toolchain/cygwin-1.7.0-50/i686-pc-cygwin/winsup/mingw/../../ .././winsup/mingw/mthr.c:55: undefined reference to `_calloc' collect2: ld returned 1 exit status make[3]: *** [mingwm10.dll] Error 1 make[3]: Leaving directory `/home/mkaul/toolchain/cygwin-1.7.0-50/i686-pc-cygwin/winsup/mingw' make[2]: *** [mingw] Error 1 make[2]: Leaving directory `/home/mkaul/toolchain/cygwin-1.7.0-50/i686-pc-cygwin/winsup' make[1]: *** [all-target-winsup] Error 2 make[1]: Leaving directory `/home/mkaul/toolchain/cygwin-1.7.0-50' make: *** [all] Error 2 ---------------- Hint: Before I started configure I had to manually create a directory "i686-pc-mingw32" in the usr directory. Without this configure failed. I use the current version of cygwin release 2. Best regards Martin -- 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