- From: vanita <vanita.suryavanshi_at_cgl.co.in>
- Date: Thu, 29 Mar 2007 13:25:29 +0530
Dear All, Can anybody tell me how to auto load the drivers as I am getting errors in following the procedure mentioned in the user manual. Vanita ----- Original Message ----- From: "Ian Abbott" <abbotti_at_mev.co.uk> To: "Control and Measurement Device Interface" <comedi_at_comedi.org> Sent: Wednesday, March 28, 2007 3:29 PM Subject: Re: Failure building demos > On 28/03/2007 00:29, Jonathan Barchi wrote: >> Apologies if this is a repost (tried to post earlier today, never went >> through) >> >> I hope this isn't an obvious question, but I've searched the list a >> bit to no avail. I recently installed comedi cvs and comedilib cvs >> (cvs at recommendation of a colleague) with no build errors. When >> trying to build the demo programs, however, I start to see problems. I >> can build tut1.c, tut2.c with not problems, but when I try to build >> insn.c or info.c (both of which need to be built with common.c also) I >> get errors as listed below. The command used was: >> >> gcc -lcomedi -lm info.c common.c -o info >> >> make does not work for any of the examples on my system (gentoo 2006.1 >> w/ RTAI patches); it invokes cc instead of gcc. >> >> Not sure if there's any other information I should post, so for now >> here's the error log: >> >> ranvier demo # gcc -lcomedi -lm info.c common.c >> common.c: In function 'arm': >> common.c:155: error: 'INSN_CONFIG_ARM' undeclared (first use in this >> function) >> common.c:155: error: (Each undeclared identifier is reported only once >> common.c:155: error: for each function it appears in.) >> common.c: In function 'reset_counter': >> common.c:182: error: 'INSN_CONFIG_RESET' undeclared (first use in this >> function) >> >> common.c: In function 'set_counter_mode': >> common.c:206: error: 'INSN_CONFIG_SET_COUNTER_MODE' undeclared (first use >> in thi >> s function) >> common.c: In function 'set_clock_source': >> common.c:231: error: 'INSN_CONFIG_SET_CLOCK_SRC' undeclared (first use in >> this f >> unction) >> common.c: In function 'set_gate_source': >> common.c:257: error: 'INSN_CONFIG_SET_GATE_SRC' undeclared (first use in >> this fu >> nction) >> >> Any thoughts? > > It looks like it's pulling in old versions of the Comedi header files from > /usr/include or /usr/local/include. Try compiling with the -H option to > see which headers it's including. > > -- > -=( Ian Abbott _at_ MEV Ltd. E-mail: <abbotti_at_mev.co.uk> )=- > -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi > ************************ D I S C L A I M E R ************************************ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. **************************************************************************************
Received on 2007-03-29Z06:55:29