This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

trying to build with MinGW under cygwin, but no luck, can't find dllcrt2.o


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]