RE: Ubuntu 6.06 comdei-source0.7.70 package broken?

At this point I'm only really interested in kcomedilib and am using a "mature" board, the Computer Boards PCI-DAS1602/16 and was looking for the path of least resistance to try the idea I'd described in a pervious post "Can kcomedilib be used to do this?".   So I doubt I really need the latest and greatest at the moment.

Since I am setting up a system which will be cloned and used by others I'm trying to avoid things like RTLinux, RTAI, kernel building, building files from CVS,  etc. to try to minimize the amount of arcane knowledge my successor will require.  The systems I'm replacing were built on RedHat6.1 and RTLinux-2.1 with DAQ done using simple drivers I wrote using Comedi as a guide for DT2801 and PCI-DAS1602/16 boards back when Comedi 0.7.38 was "new".  Its worked well been very low maintenance, and is still in use on all three coasts,  but I'm the only one that can maintain/modify it which makes my employer uncomfortable as I approach retirement age.

Outdated or not, I'd hope that what was in the repository would at least work well enough to run some of the sample/demo programs, not that I've found any kcomedilib samples yet.

--wally.




From: Bernd Porr
Sent: Fri 7/20/2007 11:59 AM
To: Kulecz, Walter (JSC-SK)[WLS]
Cc: comedi_at_comedi.org
Subject: Re: Ubuntu 6.06 comdei-source0.7.70 package broken?


As far as I know all Ubuntu comedi packages are a bit outdated. Why 
don't you try the CVS version of comedi?

/Bernd

www:    http://www.berndporr.me.uk/
         http://www.linux-usb-daq.co.uk/
Mobile: +44 (0)7840 340069
Work:   +44 (0)141 330 5237
         University of Glasgow
         Department of Electronics & Electrical Engineering
         Room 519, Rankine Building, Oakfield Avenue,
         Glasgow, G12 8LT


Kulecz, Walter (JSC-SK)[WLS] wrote:
> I tried installing the comedi packages in the ubuntu 6.06 repositories 
> all seemed to go well until I tried to build the unzipped comedi 0.7.70 
> source package.
>  
> ./configure appears to succeed, but make fails quickly, with autoconf.h 
> not found.  /usr/include/linux/autoconf.h exists
>  
> Any clues?  Searching the Ubuntu support forums, it seems there is 
> little interest in comedi and all I found were other cries for help 
> without solutions.
>  
> --wally.
>  
> 
> 
> ------------------------------------------------------------------------
> 
> root_at_voms:/usr/src/modules# make
> make  all-recursive
> make[1]: Entering directory `/usr/src/modules'
> Making all in comedi
> make[2]: Entering directory `/usr/src/modules/comedi'
> Making all in .
> make[3]: Entering directory `/usr/src/modules/comedi'
> if gcc -m32 -DHAVE_CONFIG_H -I. -I. -I..    -I../include/ -DKBUILD_MODNAME=comedi -DKBUILD_BASENAME=comedi_fops -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I/lib/modules/2.6.15-28-686/build/include/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -D__KERNEL__ -I/lib/modules/2.6.15-28-686/build/include -include include/linux/autoconf.h -DMODULE   -g -O2 -MT comedi_ko-comedi_fops.o -MD -MP -MF ".deps/comedi_ko-comedi_fops.Tpo" -c -o comedi_ko-comedi_fops.o `test -f 'comedi_fops.c' || echo './'`comedi_fops.c; \
>         then mv -f ".deps/comedi_ko-comedi_fops.Tpo" ".deps/comedi_ko-comedi_fops.Po"; else rm -f ".deps/comedi_ko-comedi_fops.Tpo"; exit 1; fi
> cc1: error: include/linux/autoconf.h: No such file or directory
> comedi_fops.c: In function 'comedi_init':
> comedi_fops.c:1798: warning: implicit declaration of function 'class_simple_create'
> comedi_fops.c:1798: warning: assignment makes pointer from integer without a cast
> comedi_fops.c:1808: warning: implicit declaration of function 'class_simple_destroy'
> comedi_fops.c:1826: warning: implicit declaration of function 'class_simple_device_add'
> comedi_fops.c: In function 'comedi_cleanup':
> comedi_fops.c:1843: warning: implicit declaration of function 'class_simple_device_remove'
> make[3]: *** [comedi_ko-comedi_fops.o] Error 1
> make[3]: Leaving directory `/usr/src/modules/comedi'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/src/modules/comedi'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/modules'
> make: *** [all] Error 2

Received on 2007-07-20Z15:34:12