This is the mail archive of the
cygwin
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
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@unidata.ucar.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/