- From: Bernd Porr <BerndPorr_at_f2s.com>
- Date: Fri, 20 Jul 2007 16:59:17 +0100
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-20Z14:59:17