X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 6 Jul 2009 10:28:29 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Compiling cygwin-1.7.0-50 with undefined references Message-ID: <20090706142829.GA14606@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Mon, Jul 06, 2009 at 12:42:20PM +0200, Kaul, Martin wrote: >Hi, > >currently I try to compile cygwin-1.7.0-50. > >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. There is a solution for this: rm -r mingw The mingw directory is not needed for building cygwin. cgf -- 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