berarma / ffbtools

Set of tools for FFB testing and debugging on GNU/Linux
GNU General Public License v3.0
56 stars 10 forks source link

MAKE error #30

Closed izzijaz closed 1 year ago

izzijaz commented 1 year ago
~/Downloads/ffbtools-master$ make 
cc -MMD -MP -Wall -Wextra -m32 -fPIC -shared src/ffbwrapper.c -o build/libffbwrapper-i386.so -lrt -ldl
In file included from /usr/include/features.h:392,
                 from /usr/include/dlfcn.h:22,
                 from src/ffbwrapper.c:28:
/usr/include/features-time64.h:20:10: fatal error: bits/wordsize.h: No such file or directory
   20 | #include <bits/wordsize.h>
      |          ^~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:40: build/libffbwrapper-i386.so] Error 1

This is the output when building. How to build?

berarma commented 1 year ago

You might need to install a libc6-dev package or similar from your distro.

izzijaz commented 1 year ago
/Downloads/ffbtools-master/bin$ ffbwrap -s
Command 'ffbwrap' not found, did you mean:
  command 'fbwrap' from deb findbugs (3.1.0~preview2-3)
Try: sudo apt install <deb name>

cant run this. how to test FFB?

berarma commented 1 year ago

Use bin/ffbwrap or ./ffbwrap