Get e2fsprogs-1.29.tgz at http://e2fsprogs.sourceforge.net or on TestDisk web page.
cd testdisk tar xvf e2fsprogs-1.29.tgz
In e2fsprogs-1.29/lib/ext2fs/flushb.c
, add
#include <sys/param.h>
Run cd e2fsprogs-1.29; ./configure && make
Get progsreiserfs-0.3.1-rc7.tar.gz at http://reiserfs.osdn.org.ua/
and run ./configure --disable-nls && make
To compile TestDisk, run cd src; make bsd
.
TestDisk uses an ncurses interface, so ncurses library and development files must be present.
strip testdisk strip --remove-section=.comment testdisk strip --remove-section=.note testdisk upx -9 testdisk
TestDisk home: http://www.cgsecurity.org/testdisk.html.
Christophe GRENIER grenier@cgsecurity.org