PDA

View Full Version : Faild to find <linux/string.h>



bjorna
November 22nd, 2006, 11:40 AM
I try to build a driver that include
<asm/io.h>
that includes
<asm-i386/io.h>
that includes
<linux/string.h> (/usr/inlude/linux/string.h)
that is missing! The only string I found is in /usr/inlude/string.h.

Is there something I do not understand?

I run Edgy (6.10)

Hope to get some advise.

/Björn

Carlos Santiago
November 22nd, 2006, 12:38 PM
try include only <string>

amo-ej1
November 22nd, 2006, 01:35 PM
On any random kernel source you can easily find the string.h in
/usr/src/linux-$version/include/linux/string.h perhaps your include path settings are wrong ? Or you are looking in the wrong place ;-) Didn't find them in /usr/include/linux/ either.