g-Fulcrum / strace-plus

Automatically exported from code.google.com/p/strace-plus
Other
0 stars 0 forks source link

Compilation error in block.c #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./configure && make

What is the expected output? What do you see instead?

block.c: In function ‘block_ioctl’:
block.c:271:7: error: ‘BLKTRACESTOP’ undeclared (first use in this function)
block.c:271:7: note: each undeclared identifier is reported only once for each 
function it appears in
make[2]: *** [block.o] Error 1

The problem is due to this typo in block.c

#ifndef BLOCKTRACESTART
#define BLOCKTRACESTOP _IO(0x12,117)
#endif

BLOCKTRACESTART --> BLOCKTRACESTOP fixed the problem.

Original issue reported on code.google.com by Amadis...@gmail.com on 18 Jul 2012 at 5:50