Re: How to add source files in kernel

2005-02-07 Thread Rahul Jain
On Fri, 4 Feb 2005, Kronos wrote: > > > > Rahul Jain <[EMAIL PROTECTED]> ha scritto: > > The kernel recompilation went without any problems. I wrote loadable > > module programs that can access the functions defined in .c. When I try to > > install these modules, they came back with the followin

Re: How to add source files in kernel

2005-02-04 Thread Kronos
Rahul Jain <[EMAIL PROTECTED]> ha scritto: > The kernel recompilation went without any problems. I wrote loadable > module programs that can access the functions defined in .c. When I try to > install these modules, they came back with the following error > > /sbin/insmod x.o > x.o: unresolved sy

Re: How to add source files in kernel

2005-02-04 Thread linux-os
On Fri, 4 Feb 2005, Rahul Jain wrote: Hi All, I am trying to add 2 new files (a .h and a .c) in the kernel. I copied my .h file in /include/linux and .c in /net/core. I then made the following change to the Makefile in /net/core. obj-y := sock.o skbuff.o iovec.o datagram.o scm.o split_helper.o wher