Re: long math functions on cygwin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Manal Helal wrote:
> 
> I am trying to compile some unix code on cygwin, using gcc version:

> and I get these errors:
> 
> *****************************************
> /home/user/proj/main.c:907: undefined reference to `_sqrtl'
> /home/user/proj/main.c:1743: undefined reference to `_powl'
> /home/user/proj/main.c:2006: undefined reference to `_ceill'
> /home/user/proj/main.c:2035: undefined reference to `_floorl'
> *****************************************
> 
> 
> 
> Can you please help me find what is missing?

But you're not going to tell us the command line you used to link, right?
Is it secret?

I'm guessing you missed "-lm".

Andrew.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux