[wplug] Linux Programming Book
Weber, Larry A
laweber at switch.com
Wed Apr 16 11:18:16 EDT 2003
Thanks for trying this out. The author says he tested it on Redhat 7.1 and
7.2. I am running Redhat 8.0. The /usr/include/linux/include directory
does not exist. kernel.h is in /usr/include/linux
I did a grep for KERN_INFO and it only shows up in one file udf_fs.h. It is
in a printk statement. I cannot find were it is defined yet.
> -----Original Message-----
> From: Eric C. Cooper [SMTP:ecc at cmu.edu]
> Sent: Wednesday, April 16, 2003 11:06 AM
> To: 'wplug at wplug.org'
> Subject: Re: [wplug] Linux Programming Book
>
> On Wed, Apr 16, 2003 at 10:33:09AM -0400, Weber, Larry A wrote:
> > The examples generate numerous errors. Most are related to header files
> in
> > the /usr/include/linux directory. Things like missing struct members,
> > parsing errors, and undefined constants (like KERN_INFO).
>
> This compiles OK on my Debian system. Maybe your distro doesn't have
> consistent kernel headers in /usr/include? For example, KERN_INFO
> should be in linux/kernel.h.
>
> If you have a kernel source tree, say in /usr/src/linux,
> try compiling with
> make INCLUDEDIR=/usr/src/linux/include
>
> --
> Eric C. Cooper e c c @ c m u . e d u
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
More information about the wplug
mailing list