compile error with strace 4.6

Mike Frysinger vapier at gentoo.org
Wed Apr 6 19:29:48 UTC 2011


On Tuesday, April 05, 2011 12:40:50 horst wente wrote:
> to compile strace on my old box ( i386 / linux 2.4.25 ), I had two
> Problems in block.c
> 
> Problem 1:
>   the included <linux/fs.h> defines BLKGETSIZE64 as
> 
>     #define BLKGETSIZE64 _IOR(0x12,114,sizeof(u64))	/* return device size
> in bytes (u64 *arg) */
> 
>   However, u64 is defined in asm/types.h only inside "#ifdef __KERNEL__" .
>   Because I was not sure about adding that to the source, I just hacked it.

this is an error in your kernel headers.  fix those instead.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20110406/b44e824c/attachment.bin>


More information about the Strace-devel mailing list