Project

General

Profile

Actions

Bug #1031

open

Analysis of driver failed: error: linux/config.h: No such file or directory

Added by Andrey Ponomarenko over 13 years ago. Updated over 13 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
04/05/2011
Due date:
% Done:

0%

Estimated time:
Detected in build:
git #3fb68331
Platform:
Published in build:

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

rdac-LINUX-09.03.0B05.0042-source.tar.gz (352 KB) rdac-LINUX-09.03.0B05.0042-source.tar.gz IBM RDAC Multi-Path Proxy Driver for Linux Andrey Ponomarenko, 04/05/2011 07:40 PM
Actions #1

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.

Actions

Also available in: Atom PDF