delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/11/13/19:58:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199911140057.SAA01807@mercury.xraylith.wisc.edu>
To: Javier Gil <javier DOT gil AT unavarra DOT es>
Cc: "Cygwin AT Sourceware. Cygnus. Com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: FW: so sorry.
In-Reply-To: Your message of "Sat, 13 Nov 1999 19:43:52 EST."
<LOBBLPGIHMIEGBEAFDMCKEMACBAA DOT ssiddiqi AT inspirepharm DOT com>
Date: Sat, 13 Nov 1999 18:57:19 -0600
From: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>

"Suhaib M. Siddiqi" <ssiddiqi AT inspirepharm DOT com> writes:
> ------=_NextPart_000_000F_01BF2E0F.69CEA240
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> 
> 
> 
> > -----Original Message-----
> > From: Javier Gil [mailto:javier DOT gil AT unavarra DOT es]
> > Sent: Saturday, November 13, 1999 8:54 AM
> > To: Ssiddiqi AT InspirePharm DOT Com
> > Subject: so sorry.
> > 
> > 
> > I have forgotten the document...
> > 
> ------=_NextPart_000_000F_01BF2E0F.69CEA240
> Content-Type: text/plain;
> 	name="error_file.txt"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: attachment;
> 	filename="error_file.txt"
> 
> stdout
> 
> gcc  sblat2.o  \
>         ../../blas_alpha.a ../../F2CLIBS/libF77.a ../../F2CLIBS/libI77.a =
> -lm -lc -o ../xblat2s
> 
> stderr
> 
> C:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57=
> \..\..\..\..\i586-cygwin32\lib/libcygwin.a(libccrt0.o)(.data+0x0):libccrt=
> 0.cc: multiple definition of `_impure_ptr'
> C:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57=
> \..\..\..\..\i586-cygwin32\lib/libc.a(impure.o)(.data+0x2ec):impure.c: =
> first defined here
> collect2: ld returned 1 exit status
> make: *** [../xblat2s] Error 1
> 

Remove the -lm -lc from the link line. I believe this issue will go away
in the next Cygwin net release (b21). All the C runtime and math library
is automatically linked in from the Cygwin DLL (libcygwin.a).

Regards,
Mumit


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019