geohot / qira

QEMU Interactive Runtime Analyser
MIT License
3.94k stars 469 forks source link

make fails #161

Closed moobsen closed 8 years ago

moobsen commented 8 years ago

My platform: Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily

I ran sudo ./install.sh and make fails with:

CC    block/nbd.o
In file included from /usr/include/xfs/xfs.h:38:0,
                 from block/raw-posix.c:92:
/usr/include/xfs/xfs_fs.h:42:8: error: redefinition of ‘struct fsxattr’
 struct fsxattr {
        ^
In file included from block/raw-posix.c:57:0:
/usr/include/linux/fs.h:155:8: note: originally defined here
 struct fsxattr {
        ^
  CC    block/nbd-client.o
~/src/qira/tracers/qemu/qemu-latest/rules.mak:31: recipe for target 'block/raw-posix.o' failed
make: *** [block/raw-posix.o] Error 1
make: *** Waiting for unfinished jobs....
geohot commented 8 years ago

Hmm, seems like a qemu build problem. Can you build qemu outside of qira? We might have to update the version.

nedwill commented 8 years ago

QEMU is now on the latest version. Can you see if that fixed your build issues?

moobsen commented 8 years ago

Yup, the QEMU patch fixed it. Thanks!