error compiling sleuthkit and afflib

Holger Dörner hod at fedoraproject.org
Mon Apr 21 05:48:21 UTC 2008


Hello all,

I try to compile sleuthkit on my Fedora 8 box, but so far no success.
All Deps are installed (yes, also the *-devel packages) and ./configure
goes fine, but compiling breakes with this error:
----8<---------------------------------------------------------------
ewf.c: In function 'ewf_image_read_random':
ewf.c:50: warning: format '%llu' expects type 'long long unsigned int',
but argument 5 has type 'size_t'
ewf.c:50: warning: format '%llu' expects type 'long long unsigned int',
but argument 5 has type 'size_t'
ewf.c: In function 'ewf_open':
ewf.c:189: error: 'TSK_EWF_MD5_DIGEST_HASH_LENGTH' undeclared (first use
in this function)
ewf.c:189: error: (Each undeclared identifier is reported only once
ewf.c:189: error: for each function it appears in.)
ewf.c:189: warning: passing argument 2 of 'libewf_get_stored_md5_hash'
from incompatible pointer type
make[3]: *** [ewf.lo] Error 1
make[3]: Leaving directory `/home/familie/Download/TSK &
Autopsy/sleuthkit-2.52/tsk/img'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/familie/Download/TSK &
Autopsy/sleuthkit-2.52/tsk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/familie/Download/TSK &
Autopsy/sleuthkit-2.52/tsk'
make: *** [all-recursive] Error 1
----8<---------------------------------------------------------------


I also want to build afflib for use with sleuthkit, but the same
here: ./configure goes fine, compiling breakes. Here is the error:
----8<---------------------------------------------------------------
vnode_ewf.cpp: In function 'int ewf_vstat(AFFILE*, af_vnode_info*)':
vnode_ewf.cpp:140: error: 'size64_t' was not declared in this scope
vnode_ewf.cpp:140: error: expected `;' before 'libewf_get_media_size'
vnode_ewf.cpp: In function 'int ewf_get_seg(AFFILE*, const char*, long
unsigned int*, unsigned char*, size_t*)':
vnode_ewf.cpp:204: error: invalid conversion from 'int32_t' to 'long
unsigned int*'
vnode_ewf.cpp:215: error: 'size64_t' was not declared in this scope
vnode_ewf.cpp:215: error: expected `;' before 'sz'
vnode_ewf.cpp:219: error: 'sz' was not declared in this scope
vnode_ewf.cpp:230: error: invalid conversion from 'int32_t' to 'long
unsigned int*'
vnode_ewf.cpp:237: error: 'size64_t' was not declared in this scope
vnode_ewf.cpp:237: error: expected `;' before 'sz'
vnode_ewf.cpp:238: error: 'size32_t' was not declared in this scope
vnode_ewf.cpp:238: error: expected `;' before 'bps'
vnode_ewf.cpp:242: error: 'sz' was not declared in this scope
vnode_ewf.cpp:247: error: 'bps' was not declared in this scope
vnode_ewf.cpp:261: error: cannot convert 'char*' to 'wchar_t*' for
argument '3' to 'int8_t libewf_get_header_value(libewf_handle_t*,
wchar_t*, wchar_t*, size_t)'
vnode_ewf.cpp:276: error: cannot convert 'char*' to 'wchar_t*' for
argument '3' to 'int8_t libewf_get_header_value(libewf_handle_t*,
wchar_t*, wchar_t*, size_t)'
vnode_ewf.cpp:284: error: cannot convert 'char*' to 'wchar_t*' for
argument '3' to 'int8_t libewf_get_header_value(libewf_handle_t*,
wchar_t*, wchar_t*, size_t)'
vnode_ewf.cpp:297: error: invalid conversion from 'int32_t' to 'size_t*'
vnode_ewf.cpp:302: error: 'size32_t' was not declared in this scope
vnode_ewf.cpp:302: error: expected `;' before 'chunksize'
vnode_ewf.cpp:306: error: 'chunksize' was not declared in this scope
make[2]: *** [vnode_ewf.lo] Error 1
make[2]: Leaving directory `/home/familie/Download/TSK &
Autopsy/AFF/afflib-3.1.6/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/familie/Download/TSK &
Autopsy/AFF/afflib-3.1.6'
make: *** [all] Error 2
----8<---------------------------------------------------------------

ewf is installed from Fedora repos:
[familie at workstation ~]$ yum list installed | grep ewf
ewftools.i386              0-2.20070512.fc8       installed       
libewf.i386                0-2.20070512.fc8       installed       
libewf-devel.i386          0-2.20070512.fc8       installed 

Additional info:
[familie at workstation ~]$ uname -rvmp
2.6.24.4-64.fc8 #1 SMP Sat Mar 29 09:54:46 EDT 2008 i686 athlon

1400mhz CPU
512mb RAM (I know, I know...)

If I can get it work somehow, I would like to build .rpm and .srpm
packages, so I can use Fedora (or CentOS) for forensics instead of
Debian :)

Thank you all for your help so far!


Regards,
-- 
Holger Dörner
Fedora Ambassador (Germany)

- http://fedoraproject.org
- http://fedoraproject.org/wiki/HolgerDoerner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20080421/98f00351/attachment-0001.bin 


More information about the users mailing list