수동 모듈 컴파일을 위한 커널 소스 코드 구성

수동 모듈 컴파일을 위한 커널 소스 코드 구성

소스 코드에서 xpad 모듈을 컴파일해야 합니다. 시스템은 debian wheezy이고 플랫폼은 ci20입니다. Linux headers-3.0.8-(...) 어디에서나(시스템이나 웹, 공식 저장소가 아님)을 찾을 수 없습니다.

사용 가능한 커널 소스 코드가 있지만 사용 방법을 잘 모르겠습니다. -k /path/to/kernel/sourcecode 옵션과 함께 모듈 도우미를 사용하려고 하면 "구성되지 않음"이라는 메시지가 표시되지만 커널 소스 코드는 그렇지 않습니다. "만들려고" 하면 Linux 헤더가 없기 때문에 실패합니다. 리눅스 헤더를 찾을 수 없어서 어떻게 진행해야 할지 모르겠습니다. 필요한 것을 얻을 수 있는 다른 방법이 있습니까? 아니면 이 소스 코드를 사용하여 이 모듈을 빌드할 수 있는 방법이 있습니까?

누구든지 나에게 조언을 해줄 수 있나요? 다음에 수행할 작업이나 시도할 작업을 알 수 있도록 이 문제를 설명하는 기사나 리소스가 있습니까?

apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://deb.flowworld.com/ flowsdk/main mipsel Packages
     release o=. flowsdk,n=flowsdk,l=. flowsdk,c=main
     origin deb.flowworld.com
 500 http://http.debian.net/debian/ wheezy-backports/main Translation-en
 100 http://http.debian.net/debian/ wheezy-backports/main mipsel Packages
     release v=,o=Debian Backports,a=wheezy-backports,n=wheezy--backports,l=Debian Backports,c=main
     origin http.debian.net
 500 http://security.debian.org/ wheezy/updates/non-free Translation-en
 500 http://security.debian.org/ wheezy/updates/main Translation-en
 500 http://security.debian.org/ wheezy/updates/contrib Translation-en
 500 http://security.debian.org/ wheezy/updates/non-free mipsel Packages
     release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=non-free
     origin security.debian.org
 500 http://security.debian.org/ wheezy/updates/contrib mipsel Packages
     release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=contrib
     origin security.debian.org
 500 http://security.debian.org/ wheezy/updates/main mipsel Packages
     release v=7.0,o=Debian,a=stable,n=wheezy,l=Debian-Security,c=main
     origin security.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/non-free Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/main Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/contrib Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/non-free mipsel Packages
     release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=non-free
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/contrib mipsel Packages
     release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=contrib
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy-updates/main mipsel Packages
     release o=Debian,a=stable-updates,n=wheezy-updates,l=Debian,c=main
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy/non-free Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy/main Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy/contrib Translation-en
 500 http://ftp.uk.debian.org/debian/ wheezy/non-free mipsel Packages
     release v=7.8,o=Debian,a=stable,n=wheezy,l=Debian,c=non-free
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy/contrib mipsel Packages
     release v=7.8,o=Debian,a=stable,n=wheezy,l=Debian,c=contrib
     origin ftp.uk.debian.org
 500 http://ftp.uk.debian.org/debian/ wheezy/main mipsel Packages
     release v=7.8,o=Debian,a=stable,n=wheezy,l=Debian,c=main
     origin ftp.uk.debian.org
Pinned packages:

apt-cache search linux-header
linux-headers-3.2.0-4-4kc-malta - Header files for Linux 3.2.0-4-4kc-malta
linux-headers-3.2.0-4-5kc-malta - Header files for Linux 3.2.0-4-5kc-malta
linux-headers-3.2.0-4-all - All header files for Linux 3.2 (meta-package)
linux-headers-3.2.0-4-all-mipsel - All header files for Linux 3.2 (meta-package)
linux-headers-3.2.0-4-common - Common header files for Linux 3.2.0-4
linux-headers-3.2.0-4-loongson-2f - Header files for Linux 3.2.0-4-loongson-2f
linux-headers-3.2.0-4-r5k-cobalt - Header files for Linux 3.2.0-4-r5k-cobalt
linux-headers-3.2.0-4-sb1-bcm91250a - Header files for Linux 3.2.0-4-sb1-bcm91250a
linux-headers-3.2.0-4-sb1a-bcm91480b - Header files for Linux 3.2.0-4-sb1a-bcm91480b
linux-headers-2.6-4kc-malta - Header files for Linux 4kc-malta configuration (dummy package)
linux-headers-2.6-5kc-malta - Header files for Linux 5kc-malta configuration (dummy package)
linux-headers-2.6-loongson-2f - Header files for Linux loongson-2f configuration (dummy package)
linux-headers-2.6-r5k-cobalt - Header files for Linux r5k-cobalt configuration (dummy package)
linux-headers-2.6-sb1-bcm91250a - Header files for Linux sb1-bcm91250a configuration (dummy package)
linux-headers-2.6-sb1a-bcm91480b - Header files for Linux sb1a-bcm91480b configuration (dummy package)
linux-headers-4kc-malta - Header files for Linux 4kc-malta configuration (meta-package)
linux-headers-5kc-malta - Header files for Linux 5kc-malta configuration (meta-package)
linux-headers-loongson-2f - Header files for Linux loongson-2f configuration (meta-package)
linux-headers-r5k-cobalt - Header files for Linux r5k-cobalt configuration (meta-package)
linux-headers-sb1-bcm91250a - Header files for Linux sb1-bcm91250a configuration (meta-package)
linux-headers-sb1a-bcm91480b - Header files for Linux sb1a-bcm91480b configuration (meta-package)
linux-headers-3.16.0-0.bpo.4-4kc-malta - Header files for Linux 3.16.0-0.bpo.4-4kc-malta
linux-headers-3.16.0-0.bpo.4-5kc-malta - Header files for Linux 3.16.0-0.bpo.4-5kc-malta
linux-headers-3.16.0-0.bpo.4-all - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-0.bpo.4-all-mipsel - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-0.bpo.4-common - Common header files for Linux 3.16.0-0.bpo.4
linux-headers-3.16.0-0.bpo.4-loongson-2e - Header files for Linux 3.16.0-0.bpo.4-loongson-2e
linux-headers-3.16.0-0.bpo.4-loongson-2f - Header files for Linux 3.16.0-0.bpo.4-loongson-2f
linux-headers-3.16.0-0.bpo.4-loongson-3 - Header files for Linux 3.16.0-0.bpo.4-loongson-3
linux-headers-3.16.0-0.bpo.4-sb1-bcm91250a - Header files for Linux 3.16.0-0.bpo.4-sb1-bcm91250a
linux-headers-loongson-2e - Header files for Linux loongson-2e configuration (meta-package)
linux-headers-loongson-3 - Header files for Linux loongson-3 configuration (meta-package)  

uname -r
3.0.8-12453-gb3bae40

관련 정보