Bug 52865 - Bad include path for toshiba.h in toshiba.c
Summary: Bad include path for toshiba.h in toshiba.c
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.2
Hardware: i586
OS: Linux
medium
low
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-08-30 05:43 UTC by Red Hat Bugzilla
Modified: 2008-03-13 19:18 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-12-16 04:33:52 UTC
Embargoed:


Attachments (Terms of Use)

Description Red Hat Bugzilla 2001-08-30 05:43:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.2.19-6.2.7 i586; Nav)

Description of problem:
Version 2.0 of the Toshiba Linux Utilities requires a kernel module for
support.  The
module used to be distributed with the utilities but is now in the kernel
source code.
After upgrading my kernel to 2.2.19-6.2.7 I found that the module isn't
built by default
so I did a reconfig, make dep and make modules.  The make aborted while
building
the toshiba module with an error message claiming it couldn't find
toshiba.h.
Examining the source for the module in
/usr/src/linux-2.2.19/drivers/char/toshiba.c
showed that the include file needed to be prepended with linux/.  I
modified the
file and it compiled fine.

This patch shows what is needed:

81c81
< #include"toshiba.h"
---
> #include"linux/toshiba.h"



Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.This is very silly for a problem with source code and a provided solution
2.Download src RPM
3.make xconfig; make dep; make modules
	

Additional info:
I haven't checked whether the problem exists in any kernel other than
2.2.19-6.2.7


Note You need to log in before you can comment on or make changes to this bug.