Adding Files to the Linux Kernel

From: Mahesh Mahadevan (bf80979@yahoo.com)
Date: Tue Aug 08 2000 - 23:38:14 EST


Hi All,
I have added 2 new files to the Linux kernel
1) a new .h (in /usr/include/linux/myheader.h)
2) a new .c (in /usr/src/linux/net/ipv4/myfile.c).
I compiled the kernel and rebooted using my kernel
(which has the new .h and .c files).
I wrote a C program which included the new header
( #include<linux/myheader.h> ) that I wrote and have
compiled into the kernel, but for some reason my
program is not able to access the new files I have
added and I get undefined reference error while
compiling the program.
How do I make gcc look for the new files I have
compiled into the kernel.
Thanks.

-Mahesh



__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:17 EST