FW: so sorry.

Mumit Khan khan@nanotech.wisc.edu
Sat Nov 13 16:57:00 GMT 1999


"Suhaib M. Siddiqi" <ssiddiqi@inspirepharm.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.gil@unavarra.es ]
> > Sent: Saturday, November 13, 1999 8:54 AM
> > To: Ssiddiqi@InspirePharm.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@sourceware.cygnus.com



More information about the Cygwin mailing list