|
Debian unstable/kernel-2.6.24-1-686/gcc-4.2.3
lspci可以看到该网卡。
执行./confgure会输出以下警告(正常部分略过):
- ./configure: line 20096: lanai-gcc: command not found
- configure: WARNING: linux/compile.h: present but cannot be compiled
- configure: WARNING: linux/compile.h: check for missing prerequisite headers?
- configure: WARNING: linux/compile.h: see the Autoconf documentation
- configure: WARNING: linux/compile.h: section "Present But Cannot Be Compiled"
- configure: WARNING: linux/compile.h: proceeding with the preprocessor's result
- configure: WARNING: linux/compile.h: in the future, the compiler will take precedence
- configure: WARNING: ## ------------------------------------------ ##
- configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
- configure: WARNING: ## ------------------------------------------ ##
- configure: WARNING: linux/slab.h: present but cannot be compiled
- configure: WARNING: linux/slab.h: check for missing prerequisite headers?
- configure: WARNING: linux/slab.h: see the Autoconf documentation
- configure: WARNING: linux/slab.h: section "Present But Cannot Be Compiled"
- configure: WARNING: linux/slab.h: proceeding with the preprocessor's result
- configure: WARNING: linux/slab.h: in the future, the compiler will take precedence
- configure: WARNING: ## ------------------------------------------ ##
- configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
- configure: WARNING: ## ------------------------------------------ ##
复制代码
然后执行make,输出以下错误(正常部分略过):
- Makefile:196: Makefile.overrides: No such file or directory
- /lib/modules/2.6.24-1-686/build/scripts/Makefile.build:41: /lib/modules/2.6.24-1-686/build/scripts/basic/Makefile: No such file or directory
- make[2]: *** No rule to make target `/lib/modules/2.6.24-1-686/build/scripts/basic/Makefile'. Stop.
- make[1]: *** [scripts_basic] Error 2
- /lib/modules/2.6.24-1-686/build/scripts/Makefile.build:41: /lib/modules/2.6.24-1-686/build/scripts/basic/Makefile: No such file or directory
- make[2]: *** No rule to make target `/lib/modules/2.6.24-1-686/build/scripts/basic/Makefile'. Stop.
- make[1]: *** [scripts_basic] Error 2
- Makefile:1975: dependencies: No such file or directory
- Makefile:1976: Makefile.generated: No such file or directory
- Makefile:1988: Makefile.overrides.targets: No such file or directory
- /lib/modules/2.6.24-1-686/build/scripts/Makefile.build:41: /lib/modules/2.6.24-1-686/build/scripts/basic/Makefile: No such file or directory
- make[2]: *** No rule to make target `/lib/modules/2.6.24-1-686/build/scripts/basic/Makefile'. Stop.
- make[1]: *** [scripts_basic] Error 2
- /lib/modules/2.6.24-1-686/build/scripts/Makefile.build:41: /lib/modules/2.6.24-1-686/build/scripts/basic/Makefile: No such file or directory
- make[2]: *** No rule to make target `/lib/modules/2.6.24-1-686/build/scripts/basic/Makefile'. Stop.
- make[1]: *** [scripts_basic] Error 2
- mkdir binary
- mkdir binary/.gm_uninstalled_apps
- mkdir binary/.gm_uninstalled_apps/sbin
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_instance_k.c: In function ‘gm_map_board_region’:
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_instance_k.c:2836: warning: ‘rl.length’ may be used uninitialized in this function
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_instance_k.c:2836: warning: ‘rl.offset’ may be used uninitialized in this function
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c: In function ‘gm_linux_create_instance’:
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c:2993: error: ‘SA_SHIRQ’ undeclared (first use in this function)
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c:2993: error: (Each undeclared identifier is reported only once
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c:2993: error: for each function it appears in.)
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c: At top level:
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c:3300: error: unknown field ‘name’ specified in initializer
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c: In function ‘gm_linux_init_module’:
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c:3891: error: implicit declaration of function ‘pci_module_init’
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c: In function ‘gm_arch_nonmsi_intr_flags’:
- /root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.c:4778: warning: ‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:493)
- make[2]: *** [/root/gm-2.1.28_Linux/drivers/linux/kbuild/gm_arch_k.o] Error 1
- make[1]: *** [_module_/root/gm-2.1.28_Linux/drivers/linux/kbuild] Error 2
- make: *** [kbuild] Error 2
复制代码
求助于大家,谢谢。 |
|