X-Spam-Check-By: sourceware.org Keywords: 200606021432.k52EWUSZ004495 To: cygwin AT cygwin DOT com, libtool AT gnu DOT org Subject: trying to build with MinGW under cygwin, but no luck, can't find dllcrt2.o From: Ed Hartnett Date: Fri, 02 Jun 2006 08:32:30 -0600 Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Howdy all! I am trying to build my libtool-based library package on Cygwin, with the -mno-cygwin option. However, I am getting the following problem: libtool: link: cc -shared .libs/attr.o .libs/ncx.o .libs/putget.o .libs/dim.o .libs/error.o .libs/libvers.o .libs/nc.o .libs/string.o .libs/v1hpg.o .libs/var.o .libs/posixio.o -Wl,--whole-archive ./.libs/libnetcdf2.a ../fortran/.libs/libnetcdff.a -Wl,--no-whole-archive -mno-cygwin -o .libs/cygnetcdf-1.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libnetcdf.dll.a /usr/bin/ld: dllcrt2.o: No such file: No such file or directory collect2: ld returned 1 exit status make[2]: *** [libnetcdf.la] Error 1 make[2]: Leaving directory `/cygdrive/c/netcdf-3/libsrc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/c/netcdf-3' make: *** [all] Error 2 I am trying to figure out what is wrong. Does anyone have an easy answer for me? Thanks! Ed -- Ed Hartnett -- ed AT unidata DOT ucar DOT edu -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/