Bug #1031
openAnalysis of driver failed: error: linux/config.h: No such file or directory
0%
Description
I have run the analysis of IBM RDAC Multi-Path Proxy Driver for Linux (rdac-LINUX-09.03.0B05.0042-source.tar.gz) driver with the 2.6.36 linux kernel:
ldv-manager tag=current "envs=linux-2.6.36.tar.bz2" drivers=rdac-LINUX-09.03.0B05.0042-source.tar.gz rule_models="32_7 32_1"
The analysis has failed with the error log
In file included from MPP_hba.c:46: mpp_linux_sys_headers/MPP_Sysdep.h:48:26: error: linux/config.h: No such file or directory mpp_linux_sys_headers/MPP_Sysdep.h:79:31: error: scsi/scsi_request.h: No such file or directory
It is a nasty problem for many modules written in the past (RDAC driver is from 9/12/08). The header file linux/config.h is now named linux/autoconf.h and the issue may be fixed by the creation of the symlink from autoconf.h to config.h file.
Files
Updated by Evgeny Novikov over 13 years ago
I suggest that we shouldn't do this since we assumes that a driver is checked against a "correct" kernel (otherwise errors are reported as shown and one should take another version of driver or kernel).
Moreover it's most likely that the suggested symlink will not lead to the driver becomes compilable since there will be another problems due to kernel API changes.