predivan at nadlanu.com
Fri Jan 1 20:42:36 UTC 2010
On Fri, 01 Jan 2010 19:49:21 +0000
Wawrzyniec Niewodniczański wrote:
>I've tried to build latest TestDisk - 6.11 and I got following error:
>ext2_dir.o: In function `ext2_copy':
>reference to `ext2fs_file_open'
>reference to `ext2fs_file_read'
>reference to `ext2fs_file_close'
>collect2: ld returned 1 exit status
>I will appreciate any suggestion. Oh, I'm using
>CRUX version 2.6
Disable ext2fs using --without-ext2fs configure switch.
It should compile cleanly after that
I have tried, with no luck, to compile several versions of testdisk across a few e2fsprogs
releases, on Crux-2.5 and now on 2.6.
ext2_dir.o: In function `ext2_copy':
ext2_dir.c:(.text+0x70e): undefined reference to `ext2fs_file_open'
ext2_dir.c:(.text+0x76f): undefined reference to `ext2fs_file_read'
ext2_dir.c:(.text+0x7ad): undefined reference to `ext2fs_file_close'
collect2: ld returned 1 exit status
make: *** [testdisk] Error 1
make: Leaving directory `/usr/pkgmk/build/testdisk/src/testdisk-6.11.3/src'
make: *** [all-recursive] Error 1
Building `/usr/pkgmk/package/testdisk#6.11.3-1.pkg.tar.gz' succeeded.
It might be the way e2fsprogs are built, it might be bug in testdisk, I don't know.
I almost always use testdisk/photorec to retrieve files from ntfs/fat* filesystems, so this is not much of a
issue for me, but i am curious :)
I'll make a static build at some point, maybe that'll work.
Your/our computer(s) had suffered a memory leak, and we are waiting for them to be topped up.
More information about the CRUX