[wplug] Linux Programming Book

Dave Neuer mr_fred_smoothie at yahoo.com
Wed Apr 16 12:53:00 EDT 2003


The problem is more likely that you don't have the
distro-specific "kernel-headers" package installed.

This is something that pisses me off about distros
(even though since disk space may be limited, it's
easy to see why -- and even reasonable that they do
it): they force you to install "*-dev" packages
separately from the main software packages, as if
everyone who installs software on a Linux box is some
"dumb user" who will never want to compile an app
themselves.

In fact, the opposite is probably still true w/ Linux;
most people running it will probably have occasion to
compile some application by hand from source, and it's
not that helpful then to have "libthis" and "libthat"
installed w/ out "libthis-dev" and "libthat-dev". I
have to admit that of all distros, Debian actually
seems the worst as far as this goes.

Of course, kernel hackers and module authors are
probably more rare than "people who have to
occasionaly compile some userspace app to get the
latest-and-greatest feature", but still. What freakin'
Linux system shouldn't have kernel headers installed
by default in some *default* include search path? At
the very least, if you've installed gcc and binutils
or other "devlopment" tools, they should install the
kernel headers by default.

Dave

--- "Weber, Larry A" <laweber at switch.com> wrote:
> Probably not.  Linux kernels seem to change pretty
> fast.  Author claims the
> application works when compiled on RH71. and RH7.1. 
> I am using RH8.0.  I
> don't know which kernel came with the earlier revs
> of RH
> 
> > -----Original Message-----
> > From:	Brian Sammon [SMTP:brians+ at cs.cmu.edu]
> > Sent:	Wednesday, April 16, 2003 11:31 AM
> > To:	wplug at wplug.org
> > Subject:	Re: [wplug] Linux Programming Book
> > 
> > > I would like to hear from anyone in WPLUG who
> has read the book
> > "Practical
> > > Linux Programming: Device Drivers, Embedded
> Systems, and the Internet"
> > > Author Ashfaq A. Khan
> > > 
> > > I cannot get any of the example programs to
> compile and would like to
> > talk
> > > to anyone who has been successful.
> > 
> > One question that springs to mind-- 
> > Are you using the same kernel revision that the
> author based the book on?
> > 
> > 
> > _______________________________________________
> > wplug mailing list
> > wplug at wplug.org
> > http://www.wplug.org/mailman/listinfo/wplug
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com



More information about the wplug mailing list