- From: Jan Gukelberger <g.u.g.i_at_gmx.de>
- Date: Thu, 27 Jan 2005 19:36:43 +0100
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