[Lustre-discuss] Fail in building lustre module
Thomas Anderson
t.dt.aanderson at gmail.com
Wed Nov 16 04:02:49 PST 2011
I follow the instruction
(http://wiki.lustre.org/index.php/Debian_Install). When building with
the command
module-assistant -u . -k ./linux-source-3.0.0 -l 3.0.0
it throws the error saying kdist_config error as below:
checking sys/quota.h presence... yes
checking for sys/quota.h... yes
checking whether to build kernel modules... yes (linux-gnu)
checking for Linux sources... /usr/src/linux-source-3.0.0
checking for /usr/src/linux-source-3.0.0... yes
checking for Linux objects dir... /usr/src/linux-source-3.0.0
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /usr/src/linux-source-3.0.0/.config... yes
checking for /usr/src/linux-source-3.0.0/include/linux/autoconf.h...
no
configure: error: Run make config in /usr/src/linux-source-3.0.0.
make[1]: *** [kdist_config] Error 1
make[1]: Leaving directory
`/usr/src/linux-source-3.0.0/usr_src/modules/lustre'
make: *** [kdist_build] Error 2
What may go wrong?
Environment: debian testing with kernel 3.0.0/ gcc (Debian 4.6.1-15)
4.6.1/ GNU Make 3.81
Thanks
More information about the lustre-discuss
mailing list