| delorie.com/archives/browse.cgi | search |
| 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 |
| MIME-Version: | 1.0 |
| Subject: | Compiling cygwin-1.7.0-50 with undefined references |
| Date: | Mon, 6 Jul 2009 12:42:20 +0200 |
| Message-ID: | <AB648B716159384883FDB00709F1884D05A8B728@leoex1> |
| From: | "Kaul, Martin" <martin DOT kaul AT leuze DOT de> |
| To: | <cygwin AT cygwin DOT com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |