HELP: Installing comedi the "Debian Way"...

Hello all,

 

I've reinstalled debian "sarge" and I'm trying to install comedi and
comedilib the debian way using apt-get, make-kpkg, and make-kpkg
modules-image. Below are the steps I've followed and the places where errors
occur:

 

install debian with "linux26" option

apt-get install kernel-source-2.6.8 (or whatever version)

cd /usr/src/

tar xjf kernel-source-2.6.8.tar.bz2

make menuconfig (Enable IDE, SATA, extfs3, etc. in kernel so initrd won't be
needed)

make-kpkg --revision 1 kernel-image

cd ..

dpkg -i kernel-image-2.6.8.deb

Reboot and select new kernel

apt-get install comedi-source

tar zvxf comedi.tar.gz (or whatever the name of the file is)

cd /usr/src/kernel-source-2.6.8

make-kpkg modules-image (this is where things get nasty, I get errors during
the make process of comedi)

            I looked in /usr/src/modules/comedi/config.log and it only shows
./configure's information. Where is a log

            like this for make?

 

I have also ran ./configure in /usr/src/modules/comedi and it completes
successfully. However, when I run make it fails just as it does when I
perform make-kpkg modules-image. Below is the last 25 lines of make
quitting:

 

../../include/linux/comedidev.h:340: error: dereferencing pointer to
incomplete

type

../../include/linux/comedidev.h:342: error: dereferencing pointer to
incomplete

type

In file included from ../../include/linux/comedidev.h:371,

                 from data.c:26:

../../include/linux/comedi_rt.h: In function `__comedi_spin_lock_irqsave':

../../include/linux/comedi_rt.h:104: warning: implicit declaration of
function `

spin_lock_irqsave'

../../include/linux/comedi_rt.h: In function
`comedi_spin_unlock_irqrestore':

../../include/linux/comedi_rt.h:124: warning: implicit declaration of
function `

spin_unlock_irqrestore'

make[5]: *** [kcomedilib_ko-data.o] Error 1

make[5]: Leaving directory `/usr/src/modules/comedi/comedi/kcomedilib'

make[4]: *** [all-recursive] Error 1

make[4]: Leaving directory `/usr/src/modules/comedi/comedi'

make[3]: *** [all-recursive] Error 1

make[3]: Leaving directory `/usr/src/modules/comedi'

make[2]: *** [all] Error 2

make[2]: Leaving directory `/usr/src/modules/comedi'

make[1]: *** [kdist_image] Error 2

make[1]: Leaving directory `/usr/src/modules/comedi'

Module /usr/src/modules/comedi failed.

Hit return to Continue

 

 

Does this mean the comedi-source package is broken?

 

Thanks,

 

Eric

 

Received on 2005-02-19Z15:40:57