» In my opinion, this is still the best file handling tool available, » mirrored nowadays by the Midnight Commander ('mc') for Linux (OK, I » still have to compile it myself in order to enable it to recover » deleted ext2 files.)
Haw do you compile with undel ? I installed e2undel,e2fslibs, e2fslibs-dev and used flag "--with-ext2undel " but I get only
checking linux/ext2_fs.h usability... no checking linux/ext2_fs.h presence... no checking for linux/ext2_fs.h... no
I used apt-get build-dep mc apt-get source -b mc
Can you please tell me the output from ldd `which mc ` ?
That won't help you. My config.log (in the dir where you ran ./configure) shows this:
configure:17938: checking linux/ext2_fs.h usability
configure:17951: gcc -c -g -O2 -Wall -I$(top_srcdir) conftest.c >&5
In file included from /usr/include/linux/types.h:9,
from /usr/include/linux/ext2_fs.h:19,
from configure:18132:
/usr/include/asm/types.h:4: warning: empty declaration
configure:17954: $? = 0
configure:17957: test -s conftest.o
configure:17960: $? = 0
configure:17970: result: yes
configure:17974: checking linux/ext2_fs.h presence
configure:17985: gcc -E -I$(top_srcdir) conftest.c
configure:17991: $? = 0
configure:18010: result: yes
configure:18046: checking for linux/ext2_fs.h
configure:18053: result: yes
configure:18072: checking for ext2fs/ext2fs.h
configure:18090: gcc -c -g -O2 -Wall -I$(top_srcdir) conftest.c >&5
In file included from /usr/include/sys/types.h:215,
from /usr/include/ext2fs/ext2fs.h:52,
from configure:18239:
/usr/include/sys/select.h:58: warning: `__NFDBITS' redefined
/usr/include/linux/posix_types.h:22: warning: this is the location of the previous definition
/usr/include/sys/select.h:60: warning: `__FDMASK' redefined
/usr/include/linux/posix_types.h:34: warning: this is the location of the previous definition
In file included from /usr/include/linux/types.h:9,
from /usr/include/linux/ext2_fs.h:19,
from configure:18237:
/usr/include/asm/types.h:4: warning: empty declaration
configure:18093: $? = 0
configure:18096: test -s conftest.o
configure:18099: $? = 0
configure:18110: result: yes
configure:18130: checking for ext2_ino_t
configure:18163: gcc -c -g -O2 -Wall -I$(top_srcdir) conftest.c >&5
configure:18166: $? = 0
configure:18169: test -s conftest.o
configure:18172: $? = 0
configure:18183: result: yes
configure:18199: using ext2fs file recovery code
and my /usr/include/linux shows this:
ext2_fs.h ext2_fs_i.h ext2_fs_sb.h
What does your config.log show and what does your /usr/include/linux contain?
Hugo
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]