This is the mail archive of the
mailing list for the Cygwin project.
trying to build with MinGW under cygwin, but no luck, can't find dllcrt2.o
- From: Ed Hartnett <ed at unidata dot ucar dot edu>
- To: cygwin at cygwin dot com, libtool at gnu dot org
- Date: Fri, 02 Jun 2006 08:32:30 -0600
- Subject: trying to build with MinGW under cygwin, but no luck, can't find dllcrt2.o
- Keywords: 200606021432.k52EWUSZ004495
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
-Wl,--no-whole-archive -mno-cygwin -o .libs/cygnetcdf-1.dll
-Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker
/usr/bin/ld: dllcrt2.o: No such file: No such file or directory
collect2: ld returned 1 exit status
make: *** [libnetcdf.la] Error 1
make: Leaving directory `/cygdrive/c/netcdf-3/libsrc'
make: *** [all-recursive] Error 1
make: 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?
Ed Hartnett -- firstname.lastname@example.org
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html