전 32bit라서 nanoboot사용합니다. r8168은 이미 로드가 되어 있는데, r8169, r8101 만 랜카드가 인식하고
r8168만 로드하면 아예 랜카드를 인식실패하네요.
혹시몰라서 빌드할려고 해도 빌드가 위에분과 마찬가지로 안되고요.
폴더를 못찾는걸 임의로 만들어서 빌드해도 안되네요.
이거 빌드 실패하는것 찾아보니
build-essential/linux headers 가 설치되어 있지 않아 발생하는 문제라고 하네요.
해결책을 보면
apt-get install linux-headers-$(uname -r) 로 자신에 맞는 header를 설치하면 된다고 하는데
debian chroot 로 apt-get 사용해서 봐도 해당버전에 맞는 header는 없고 경로 설정이 달라져서 컴파일도 애매하네요.
#apt-cache search linux-headers
linux-headers-3.16.0-4-586 - Header files for Linux 3.16.0-4-586
linux-headers-3.16.0-4-686-pae - Header files for Linux 3.16.0-4-686-pae
linux-headers-3.16.0-4-all - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-4-all-i386 - All header files for Linux 3.16 (meta-package)
linux-headers-3.16.0-4-amd64 - Header files for Linux 3.16.0-4-amd64
linux-headers-3.16.0-4-common - Common header files for Linux 3.16.0-4
linux-headers-486 - Header files for Linux 486 configuration (dummy package)
linux-headers-586 - Header files for Linux 586 configuration (meta-package)
linux-headers-686-pae - Header files for Linux 686-pae configuration (meta-package)
linux-headers-amd64 - Header files for Linux amd64 configuration (meta-package)
# uname -r
3.2.40