[ELDK] ELDK newbie, during driver compile missing hw_irq.h
wd at denx.de
Fri Dec 28 19:03:11 CET 2007
In message <9cc5bec80712280833y3f0b2087k4645e52fdb8453fc at mail.gmail.com> you wrote:
> I have just recently installed ELDK 3.1.1 on a FEDORA 8 system.
> I am trying to do a driver build from source and have run into an
> error while compiling from the denx tree.
> build include and problem file are located at:
> irq.h includes the file <asm/hw_irq.h> which does not exist anywhere
> in the denx tree.
This iis true.
> A comment in irq.h states
> 'Please do not include this file in generic code. There is currently
> no requirement for any architecture to implement anything held within
> this file. thanks --rmk"
Well, so you did read the warning. Now please heed it.
> I am either missing the files from the ELDK 3.1.1 install or, more
> likely based on the comment, would like some guidance or some document
> references which will allow me to begin the adjustments to the driver.
I strongly recommend *not* to use ELDK 3.1.1 and the included 2.4
kernel tree for any new work. Please do yourself a favour and use
current code, like a 2.6.24-rcX kernel tree from kernel.org; you can
use the ELDK 4.1 tool chain for this.
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can love it, change it, or leave it. There is NO other option.
But do not complain - it is your own choice... -- wd
More information about the eldk