Comment 8 for bug 233950

Revision history for this message
Spock (mjurczuk) wrote :

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#