Re: undefined reference to 'floor'

On Mon, 2007-08-13 at 10:19 -0500, José Alejandro López Corella wrote:
> Hello
> I have a problem when compiling an application for a
> card Advantech pci1730 
> when compiling  gcc salida.c -l comedi -o salida    it
> marks error 

I think you should add -lm as well, since floor is a mathematical
function.


Lennart.



>   
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../lib/libcomedi.so:
> undefined reference to 'floor'
> collect2:ld returned l exit status
>  
> they can help me?
> alex
> 
> 
> __________________________________________________
> Correo Yahoo!
> Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
> Regístrate ya - http://correo.espanol.yahoo.com/ 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
-- 
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
L.C. Karssen
Department of Physics and Astronomy
Faculty of Science
Utrecht University
Princetonplein 1
3584 CC  Utrecht
The Netherlands

tel.: +31 (0)30-253-2208
fax.: +31 (0)30-253-7468
e-mail: L.C.Karssen_at_phys.uu.nl
www: http://www1.phys.uu.nl/wwwaoud
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

Received on 2007-08-13Z14:37:47