On Wed, 2002-07-17 at 21:44, George Agasandian wrote: > Hi everybody, > > I'm trying to write a kernel module. Actually it's written. Even more, I > can compile it without warnings. > However, when I'm loading it I get the following error message: > > mymodule.o: Relocation overflow of type 4 for printk
The source you supplied does not compile on it's own at all. After removing the offending parts (the code that changes the syscall table entry) the modules compiles and loads just fine. Also, since I see you are trying to change the syscall table and doing it backwards while at it, better have a look at syscall tracker at http://syscalltrack.sf.net/ and don't reinvent the wheel ;-) Gilad. -- Gilad Ben-Yossef <[EMAIL PROTECTED]> http://benyossef.com "My god, they are here. They're watching us. They're inserting pieces of code into BK repository while Linus is sleeping!!!" -- 'adasi' Krecicki on lkml. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
