LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   small errors in kernel code (2.4.22) (https://www.linuxquestions.org/questions/linux-general-1/small-errors-in-kernel-code-2-4-22-a-100377/)

Robert0380 10-05-2003 01:40 AM

small errors in kernel code (2.4.22)
 
i've actually had to go in and fix 2 errors in the kernel code

/usr/src/linux2.4.22/fs/ext2/inode.c

line 1037 (i think )

they put

inOde->blah blah i had to change to inode->

and like line 937 there was a ^N that i had to change to a .

the 1st error was "first time use not delcared" or something and the second was just a parse error. fixing the 2 errors yielded a successful compile.


anybody else see this in the source?

miknight 10-05-2003 04:34 AM

No, I couldn't find the errors you're referring to. I couldn't find any occurrence of "inOde" in the whole file. And there weren't any troubles I could see on the lines you specified. I've compiled and used this version of the kernel successfully without any issues.

The file I grabbed was the bzipped tarball from my local ISP's kernel mirror. It might be worthwhile downloading the accompanying .sign file and checking the signature against the tarball you download.

Medievalist 10-06-2003 09:15 AM

I'd check that kernel source against an MD5-verified set of sources on a separate machine. You might find some interesting trojan or virus code in there.

Where'd you get your source?


All times are GMT -5. The time now is 01:58 PM.