This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: /lib/libcygwin.a(ds00022.o)(.text+0x0): multiple definition of `__infinity'
- To: "'Andrew Markebo'" <flognat at flognat dot myip dot org>, "'George J. Wakileh'" <george dot wakileh at vol dot at>
- Subject: RE: /lib/libcygwin.a(ds00022.o)(.text+0x0): multiple definition of `__infinity'
- From: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Date: Wed, 23 May 2001 16:19:43 -0400
- Cc: "'cygwin-xfree'" <cygwin-xfree at cygwin dot com>
> -----Original Message-----
> From: Andrew Markebo [mailto:flognat@flognat.myip.org]
> Sent: Wednesday, May 23, 2001 3:48 PM
> To: George J. Wakileh
> Cc: 'cygwin-xfree'
> Subject: Re: /lib/libcygwin.a(ds00022.o)(.text+0x0): multiple
> definition of `__infinity'
>
>
> Yep -lm is specified in the Imakefile.. Hmm isn't this some
> kind of rule by thumb that normally you want this if you want
> advanced math in your application *bonk* *bonk*..
Yes it is. But on cygwin those rules are in libcygwin.a, and libm.a is a
symlink to licybwin.a therefore you get multiple defined references errors.
Suhaib
>
> If we want to dig this, check the probable discussions on the
> cygwin mailinglist ;-)
>
> /Andy
>
> / "George J. Wakileh" <george.wakileh@vol.at> wrote:
> | Hello,
> |
> | http://home.worldonline.dk/~torsten/xpaint/
> | http://www.smart.net/~humbubba/linux.html
> |
> | I will try with no -lm -lc.
> |
> | Thanks very much.
> |
> | George
> |
> | -----Original Message-----
> | From: Andrew Markebo [SMTP:flognat@flognat.myip.org]
> | Sent: Wednesday, 23 May 2001 20:56
> | To: George J. Wakileh
> | Cc: 'cygwin-xfree'
> | Subject: Re: /lib/libcygwin.a(ds00022.o)(.text+0x0):
> multiple definition of `__infinity'
> |
> | What does the compilation/link line look like??
> |
> | *hmm* generally, if my memory doesn't fail me, you should not link
> | with -lm on cygwin (anyone who protests)??
> |
> | How do you generate makefiles and so on for xpaint and
> xart? Where can
> | we find them?
> |
> | /Andy
>