Re: Comedi on Debian and 2.6.8 kernel

On Tue, 2005-01-25 at 18:03 -0500, mark wrote: 
> I removed the references to rtai in debian/rules and tried make-kpkg
> again.  Here is what I get now.  The "invalid configuration" seems to be
> the problem now. 
> 
> taking baby steps - Mark
> 
> 
> unified:/usr/src/linux# make-kpkg --added-modules /usr/src/comedi
[...] 
> yes "" | ./configure --with-linuxdir= /usr/src/linux
                                      ^^^
I think this additional space is the error so configure doesn't
use /usr/src/linux as linuxdir but as host target.
You should really have
'        yes "" | ./configure --with-linuxdir=$(KSRC)'
                                             ^^^
                                            no space here
in your debian/rules.

> configure: WARNING: you should use --build, --host, --target
> configure: WARNING: invalid host type: /usr/src/linux
> checking build system type... Invalid configuration `/usr/src/linux':
> machine `/usr/src/linux' not recognized
> configure: error: /bin/sh ./config.sub /usr/src/linux failed
> make[1]: *** [kdist_image] Error 1
> make[1]: Leaving directory `/usr/src/comedi'
> Module /usr/src/comedi failed.
> Hit return to Continue

HTH
Jan

Received on 2005-01-27Z18:36:43