Hello

I'm running potato, and I'd like to keep it that way since this should give a production server (have no experience with woody nor time to deal with it yet). But I've upgraded the kernel to 2.4 and installed the 2.4 support debs advertised on the debian website.

Now I'd like to compile the example from http://www.linuxhq.com/kernel/v2.4/doc/dnotify.txt.html . I haven't succeeded (2h fiddling around with -I options, direct #include "paths", and symlinks). It seems that it's just not that easy. Either I don't know exactly which headers to include, or there is no escape from conflicts and redefines and such between new and old headers, or I don't know. I don't have much experience in C programming under linux, so maybe I could use some enlightenment anyway. I've already been told that /usr/include/linux should *not* be a symlink to /usr/src/linux/include/linux but match glibc headers. I've tried both.

There must be some way to compile kernel2.4 features into a program that doesn't rely on glibc features, am I wrong? (Of course later I'd like to use glibc, too, but still no new glibc features :-/).

Thanks,
Christian.

Reply via email to