I'm trying to build 3w-9xxx module from 3ware (driver shipped with Ubuntu kernel is oooold and there is no support for my HW RAID):
---
root@devel-ubuntu:~/driver# make
make V=1 -I/lib/modules/2.6.24-19-xen/build/drivers/scsi -C /lib/modules/2.6.24-19-xen/build SUBDIRS=/home/spock/driver modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-xen'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/spock/driver/.tmp_versions ; rm -f /home/spock/driver/.tmp_versions/*
WARNING: Symbol version dump /usr/src/linux-headers-2.6.24-19-xen/Module.symvers
is missing; modules will have no dependencies and modversions.
--
make prepare gives the same result as for above users:
root@devel-ubuntu:/usr/src/linux-headers-2.6.24-19-xen# pwd
/usr/src/linux-headers-2.6.24-19-xen
root@devel-ubuntu:/usr/src/linux-headers-2.6.24-19-xen# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04
Release: 8.04
Codename: hardy
root@devel-ubuntu:/usr/src/linux-headers-2.6.24-19-xen# make prepare
CHK include/linux/version.h
CHK include/linux/utsrelease.h
make[1]: *** No rule to make target `arch/x86/kernel/asm-offsets.c', needed by `arch/x86/kernel/asm-offsets.s'. Stop.
make: *** [prepare0] Error 2
root@devel-ubuntu:/usr/src/linux-headers-2.6.24-19-xen#
I'm trying to build 3w-9xxx module from 3ware (driver shipped with Ubuntu kernel is oooold and there is no support for my HW RAID): ubuntu: ~/driver# make modules/ 2.6.24- 19-xen/ build/drivers/ scsi -C /lib/modules/ 2.6.24- 19-xen/ build SUBDIRS= /home/spock/ driver modules linux-headers- 2.6.24- 19-xen' linux/autoconf. h -a -e include/ config/ auto.conf || ( \ linux/autoconf. h or include/ config/ auto.conf are missing."; \ driver/ .tmp_versions ; rm -f /home/spock/ driver/ .tmp_versions/ *
---
root@devel-
make V=1 -I/lib/
make[1]: Entering directory `/usr/src/
test -e include/
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/spock/
WARNING: Symbol version dump /usr/src/ linux-headers- 2.6.24- 19-xen/ Module. symvers
is missing; modules will have no dependencies and modversions.
--
make prepare gives the same result as for above users:
root@devel- ubuntu: /usr/src/ linux-headers- 2.6.24- 19-xen# pwd linux-headers- 2.6.24- 19-xen ubuntu: /usr/src/ linux-headers- 2.6.24- 19-xen# lsb_release -a ubuntu: /usr/src/ linux-headers- 2.6.24- 19-xen# make prepare linux/version. h linux/utsreleas e.h kernel/ asm-offsets. c', needed by `arch/x86/ kernel/ asm-offsets. s'. Stop. ubuntu: /usr/src/ linux-headers- 2.6.24- 19-xen#
/usr/src/
root@devel-
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04
Release: 8.04
Codename: hardy
root@devel-
CHK include/
CHK include/
make[1]: *** No rule to make target `arch/x86/
make: *** [prepare0] Error 2
root@devel-