Bruno Diniz de Paula <[EMAIL PROTECTED]> writes: > I'm writting a program that deals with some kernel structures (defined > on the kernel source includes), as well as with some definitions from > libc6-dev under asm/... and linux/... The problem is that some of the > symbols are duplicated and, what is worse, with different definitions. > What would be a solution for this?
Set the include path for your compiler to explicitly include the kernel headers you care about. (-I/home/dmaze/src/kernel-source-2.4.20, or some such) > I mean, why glibc also defines something that is strictly related to > the kernel itself? I thought that everything inside libc6 concerning > kernel stuff was taken directly from the kernel source includes > instead of redeclared... See /usr/share/doc/libc6/README.Debian.gz. -- David Maze [EMAIL PROTECTED] http://people.debian.org/~dmaze/ "Theoretical politics is interesting. Politicking should be illegal." -- Abra Mitchell -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]