Re: Comedi 0.7.68 installation problems...

On 10/02/2005 16:09, Eric Hudson wrote:
> I followed the comedi installation instructions in the INSTALL file and 
> downloaded comedi-0.7.68.tar.gz and extracted it. I then ran ./configure 
> and it ran successfully with no errors. However, when I run make I get 
> the following errors:
> 
> cb_pcidas.c:1519: warning: unused variable `retval'

Don't worry about that one.

> ../../modtool --link -o cb_pcidas.ko  cb_pcidas.o
> 
> ld -m elf_i386 -e stext -r -o cb_pcidas.ko cb_pcidas.o
> 
> if gcc -DHAVE_CONFIG_H -I. - I. -I../..    -I../../include/ 
> -DKBUILD_MODNAME=cb_pcidas64 -D__KERNEL__ 
> -I/usr/src/kernel-source-2.4.27/include -Wall -Wstrict-prototypes 
> -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer 
> -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -DMODVERSIONS 
> -include /usr/src/kernel-source-2.4.27/include/linux/modversions.h 
> -DMODULE -DMODVERSIONS -include 
> /usr/src/kernel-source-2.4.27/include/linux/modversions.h 
> -D__MODULE_KERNEL_i386=1 -D__BOOT_KERNEL_ENTERPRISE=0 
> -D__BOOT_KERNEL_UP=1 -D__BOOT_KERNEL_SMP=0 -D__BOOT_KERNEL_BIGMEM=0 
> -D__BOOT_KERNEL_HUGEMEM=0   -g -O2 -MT cb_pcidas64.o -MD -MP -MF 
> ".deps/cb_pcidas64.Tpo" \
> 
>   -c -o cb_pcidas64.o `test -f 'cb_pcidas64.c' || echo 
> './'`cb_pcidas64.c; \
> 
> then mv -f ".deps/cb_pcidas64.Tpo" ".deps/cb_pcidas64.Po"; \
> 
> else rm -f ".deps/cb_pcidas64.Tpo"; exit 1; \
> 
> fi
> 
> make[3]: *** [cb_pcidas64.o] Segmentation fault

This Segmentation fault was generated by gcc (or unlikely, the shell 
running the enclosing command sequence).  Is it an intermittent failure 
or does it fail here every time?  If it's intermittent, then it's most 
likely sort of hardware failure.  If it's consistent, then it's most 
likely some bug in gcc.

> I also have automake1.7 installed.

You only need automake if you are building the CVS version, but automake 
1.7 is fine.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2005-02-11Z10:15:58