[wplug] Linux Programming Book
Weber, Larry A
laweber at switch.com
Wed Apr 16 11:31:01 EDT 2003
Might be getting closer
When I
make INCLUDEDIR=/usr/src/linux-2.4/include
or
make INCLUDEDIR=/usr/src/linux2.4.18-14/include
I get down to one error telling me that malloc.h should be replaced with
slab.h I made the change in tasks.c and it complied.
Now to see if it runs o.k.
What is the difference between these three sets of include files? How do I
know which to use?
thank much.
> -----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