Giter Club home page Giter Club logo

ldd3-examples's Introduction

ldd3-examples: an updated version of the Linux Device Drivers 3 example library
at http://examples.oreilly.com/9780596005900/

Source is freely available at http://github.com/jesstess/ldd3-examples/


Background
----------

Linux Device Drivers 3 (http://lwn.net/Kernel/LDD3/,
http://oreilly.com/catalog/9781565922921/) comes with an example library written
for the 2.6.10 kernel (get the tarball at
http://examples.oreilly.com/9780596005900/). Many of the kernel APIs have
changed since then, and most of the examples no longer compile or work against
more recent kernels.

This project aims to update the examples library to be compatible with newer
kernels, with a minimal diff. This means it doesn't include fixes for errata
(http://oreilly.com/catalog/errata.csp?isbn=9781565922921) or remove compiler
warnings that are present in the original example library.


Compiling the examples
----------------------

Without editing the Makefiles, most examples error out during compilation
because of CFLAGS error. One way to get around this is to compile with the
KBUILD_NOPEDANTIC environment variable set. For example, to build the whole
library, from within the examples/ directory you could:

$ export KBUILD_NOPEDANTIC=1
$ make

or

$ make KBUILD_NOPEDANTIC=1


Bugs
----

Please send bugs reports, comments, and suggests to [email protected].

ldd3-examples's People

Contributors

jesstess avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.