linux - unknown field 'ioctl' specified in initializer -


i implement simple example study usage of ioctl interface according book ldd3. when compiling codes, unknown field 'ioctl' specified in initializer. reported.

i guess difference of kernel version between ldd3's , mine causes error. i'm using debian 8 kernel 3.18.14, newer version 2.6 in ldd3.

i don't know how ioctl, or struct file_operations, changed form 2.6 3.18, please show me reading materials clarify it. of course, besides reading material, need 1 solution fix problem.

ioctl has been renamed unlocked_ioctl. e.g, see article: http://lwn.net/articles/115651/

other operations struct file_operations, mentioned in ldd3, haven't been changed.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -