- From: Rebsamen Brice <brice_at_nus.edu.sg>
- Date: Tue, 15 Aug 2006 12:38:23 +0800
Hi, I am trying to get Comedi work to access a PCMCIA NI DAQ card. I got comedi and comedilib from CVS. Comedilib was built and installed easily: there was no error but I don't know how to check for sure though. I am running under Ubuntu6.06 with a kernel 2.6.15 patched with RTAI3.3. 2.6.15 is the latest version supported by RTAI. The problem with comedi is that autogen cannot find probe in struct pcmcia_driver (see autogen output below). And subsequently my DAQ card is not detected. However it is detected by linux: I can see it in dmesg and the hardware monitor, and if I do lsmod I see the yenta_socket module loaded together with pcmcia_core, pcmcia, and rsrc_nonstatic. I checked the .config file in linux dir and the PCMCIA_PROBE option is set. There is another message from autogen at the begining: "variable addi_common_ko_SOURCES is defined but no program or library has addi_common_ko as canonical name (possible typo)". I don't know if it's important or related to the PCMCIA error. Can somebody help me? Brice here is the output of autogen comedi/drivers/addi-data/Makefile.am:13: variable `addi_common_ko_SOURCES' is defined but no program or comedi/drivers/addi-data/Makefile.am:13: library has `addi_common_ko' as canonic name (possible typo) checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for strip... /usr/bin/strip checking for depmod... /sbin/depmod configure: Using 2.6.15-rtai3.3 as the uname -r value configure: Using i686 as the uname -m value checking for rpm... yes checking if rpm can be used to query packages... no checking for Linux in /lib/modules/2.6.15-rtai3.3/build... yes checking /lib/modules/2.6.15-rtai3.3/build/.config... yes checking Pre-FC2 Red Hat/Fedora kernel... not found checking Linux config option CONFIG_M386... no checking Linux config option CONFIG_M586... no checking Linux config option CONFIG_M686... no checking Linux config option CONFIG_MPENTIUMIII... no checking Linux config option CONFIG_MK7... no checking Linux config option CONFIG_SMP... no checking Linux config option CONFIG_HIGHMEM64G... no configure: Putting kernel modules under /lib/modules/2.6.15-rtai3.3 configure: Putting kernel module development files under /lib/modules/2.6.15-rtai3.3/build checking Linux major/minor version... 2.6 checking for Linux CFLAGS... -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686 -mcpu=pentium3 -I/lib/modules/2.6.15-rtai3.3/build/include/asm-i386/mach-default -D__KERNEL__ -I/lib/modules/2.6.15-rtai3.3/build/include -include /lib/modules/2.6.15-rtai3.3/build/include/linux/autoconf.h -DMODULE checking for modpost... /lib/modules/2.6.15-rtai3.3/build/scripts/mod/modpost checking for strip... (cached) /usr/bin/strip checking for depmod... (cached) /sbin/depmod configure: creating modtool checking Linux config option CONFIG_RTHAL... no checking Linux config option CONFIG_ADEOS... no checking Linux config option CONFIG_IPIPE... yes checking RTAI directory /usr/realtime... found checking Linux config option CONFIG_RTLINUX... no checking for egrep... grep -E checking /lib/modules/2.6.15-rtai3.3/build for probe in pcmcia_driver struct... no configure: PCMCIA support disabled checking Linux config option CONFIG_USB... yes checking for Kbuild support in /lib/modules/2.6.15-rtai3.3/build... yes checking Linux config option CONFIG_ISA... yes checking Linux config option CONFIG_PCI... yes configure: creating ./config.status config.status: creating Makefile config.status: creating comedi/Makefile config.status: creating comedi/drivers/Makefile config.status: creating comedi/drivers/addi-data/Makefile config.status: creating comedi/kcomedilib/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands
Received on 2006-08-15Z03:38:23