This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: FW: so sorry.
- To: Javier Gil <javier dot gil at unavarra dot es>
- Subject: Re: FW: so sorry.
- From: Mumit Khan <khan at nanotech dot wisc dot edu>
- Date: Sat, 13 Nov 1999 18:57:19 -0600
- Cc: "Cygwin at Sourceware dot Cygnus. Com" <cygwin at sourceware dot cygnus dot com>
"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