Subject: Re: FW: so sorry.
From: Mumit Khan <[email-masked]>
To: Javier Gil <[email-masked]>
Cc: "Cygwin@Sourceware. Cygnus. Com" <[email-masked]>
Date: Sat, 13 Nov 1999 18:57:19 -0600

"Suhaib M. Siddiqi" <[email-masked]> writes:
> ------=_NextPart_000_000F_01BF2E0F.69CEA240
> Content-Type: text/plain;
> 	charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
> 
> 
> 
> > -----Original Message-----
> > From: Javier Gil [mailto:[email-masked]]
> > Sent: Saturday, November 13, 1999 8:54 AM
> > To: [email-masked]
> > 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 [email-masked]