Advanced

Re: Chasing Down Data Corruption

Forum: LinuxTotal Replies: 2
Author Content
tqk

Dec 31, 2006
1:58 PM EST
Linus recently had a problem:

http://kerneltrap.org/node/7517

I took it as a call to arms. Linus just wants me to look at something? Okay. It's the least I can offer someone who's done so much for me. I went so far as DLing (cut+paste) the test code he mentions.

I can't get it to compile:

(0) heretic /home/keeling/devl/kr/src_ gcc -o linus linus.c -Wall linus.c: In function `remap': linus.c:70: warning: implicit declaration of function `posix_fadvise' linus.c:70: error: `POSIX_FADV_DONTNEED' undeclared (first use in this function) linus.c:70: error: (Each undeclared identifier is reported only once linus.c:70: error: for each function it appears in.)

What brain dead simple step have I missed?
dcparris

Dec 31, 2006
2:41 PM EST
It looks to me like you left out this: ./watchyacallit.

Sorry. I just couldn't resist. I am _not_ a kernel hacker, but if I were, it would be really hacked! ;-)
jezuch

Dec 31, 2006
3:19 PM EST
I think it should be ./dwim

Post a reply to this thread:

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post