- From: Johannes <fransenpeter_at_gawab.com>
- Date: Wed, 09 May 2007 11:21:44 GMT
I solved the error! Under linux, you have to add an "-lm" to include the math functions! For example: gcc tut1.c -lcomedi -lm -o tut1 I hope that helps peaple. Regards, Peter Johannes <fransenpeter_at_gawab.com> wrote on 4 May 2007, 02:54 PM: Subject: Comedi Tut 1: undefined reference to `nearbyint' >Hi All! > >I have Comedi and Comedilib from CVS compiled an installed. >When I try to compile the first tutorial program, i get the following >error: > >gcc tut1.c -lcomedi -o tut1 >/usr/local/lib/libcomedi.so: undefined reference to `nearbyint' > >Any idea how I can repair that is very much appreciated! > >Regards, Peter > >--------------------------------------------- >Free POP3 Email from www.Gawab.com >Sign up NOW and get your account _at_gawab.com!! > --------------------------------------------- Free POP3 Email from www.Gawab.com Sign up NOW and get your account _at_gawab.com!!
Received on 2007-05-09Z10:21:44