Re: Potentially serious problem with kernel-headers...
On Mon, 13 Jul 1998, Gavin Lewis wrote:
> On Mon, 13 Jul 1998, Monty wrote:
> >>Experimentally: does the new binary work on the old kernels?
> >
> >Not tried this. I can't reproduce the problem locally. zif? Dale?
>
> Running kernel 2.0.34:
>
> Running cdparanoia compiled with 2.0.33 headers: crash
> Running cdparanoia compiled with 2.0.34 headers: success
>
> Running kernel 2.0.33:
>
> Running cdparanoia compiled with 2.0.33 headers: success
> Running cdparanoia compiled with 2.0.34 headers: success
>
> So the answer appears to be that the new binary *does* run under the old
> kernels.
That is encouraging news.
>
> (to compile with 2.0.X headers, I linked /usr/include/{linux,asm} manually to be
> safe)
>
You are using an out-of-date libc6-dev. The new package don't use the
links, but delivers the headers itself.
The correct way to link programs to non-standard kernel headers is to use
the -I option.
Please take a look at /usr/doc/libc6/FAQ.debian.gz for details.
Luck,
Dwarf
--
_-_-_-_-_- Author of "The Debian Linux User's Guide" _-_-_-_-_-_-
aka Dale Scheetz Phone: 1 (850) 656-9769
Flexible Software 11000 McCrackin Road
e-mail: dwarf@polaris.net Tallahassee, FL 32308
_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: