This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: /lib/libcygwin.a(ds00022.o)(.text+0x0): multiple definition of `__infinity'




> -----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
> 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]