Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20001011134620.29289.qmail@web115.yahoomail.com> Date: Wed, 11 Oct 2000 06:46:20 -0700 (PDT) From: Earnie Boyd Subject: Re: cooperation of cygwin and NuTCracker ?? To: Frank Moehle , cygwin AT sources DOT redhat DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Frank Moehle wrote: > Hello, Hi Frank, > > We are going to use cygwin to port a set of unix programs from > solaris to Windows NT. (Un)fortunately, we use a library from > am external product. This Product has also been ported from solaris > to NT, but using "NuTCracker". > We only have access to the final .DLL of this external product > (of cource shipped with the NuTCracker runtime enviroment). > I don't know NuTCracker but I do see a problem. > > ---- > API_OBJ = anaport.a > API_DLL_NAME = anaport.dll > API_DLL = /cygdrive/y/stmm/misc/ANAPORT/$(API_DLL_NAME) > API_DEF = anaport.def > > $(API_OBJ): $(API_DEF) > dlltool --def $< --dllname $(API_DLL_NAME) \ > --output-lib $@ $(API_DLL) > > $(API_DEF): $(API_DLL) > echo EXPORTS > $@ > nm $< | grep ' T _stmm' | sed 's/.* T _//' >> $@ > ----- > > and the went on as usual: > > ---- > LIBRARIES = -l -lm > The problem is that you've use -lm. Currently the libm.a is a symbolic link to libcygwin.a and ld can't manage the same library with different names. Remove the -lm and see if that helps. Cheers, ===== Earnie Boyd mailto:earnie_boyd AT yahoo DOT com --- --- --- Cygwin: POSIX on Windows --- --- Minimalist GNU for Windows --- __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com