On Wed, 29 Jan 2003, Adam Wiggins wrote: > > Greetings, > > I am trying to port a driver I wrote for the 2.2 series to 2.4. Not > surprisingly, an attempted build generate a bunch of warnings and > errors. However...I have searched extensively for some documentation > or examples of making standalone modules for 2.4, and they do not seem > to exist! > > Every online resource, including the LKMP: > > http://www.tldp.org/LDP/lkmpg/mpg.html > > ...seem to reference the 2.2 kernel. The code for chardev.c, here: > > http://www.tldp.org/LDP/lkmpg/node14.html > > ...is exactly what I need. If I could get chardev.c to compile, I > could get my driver to compile, because they produce the same errors. > I have attached the error output below. > > Does anyone have any advice, or know where I can find an example of > a working, standalone character device driver for 2.4? > > Thanks! > -Adam > Linux Device Drivers 2nd edition http://www.oreilly.com/catalog/linuxdrive2/chapter/book/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/