Re: FW: Re: [sleuthkit-users] RE: Sleuthkit install problem
Brought to you by:
carrier
From: Angus M. <an...@n-...> - 2004-05-25 23:24:52
|
On Wednesday 26 May 2004 00:11, Angus Marshall wrote: > In-Reply-To: <B05...@sl...> > References: <B05...@sl...> > > Brian, if I read the code correctly, this affects fs_tools.h and mm_tools.h > and selects the OS-provided functions instead of the SK provided functions. > Since SK seems to compile OK - could it be that Linux 2.6 now supports the > functions better than 2.2/2.4 used to ? Of course, it looks like it will > cause some problems with filesystem types, but maybe the workaround is for > us Linux 2.6ers to patch src/fstools/fs_tools.h to make the LSEEK > definition go to lseek instead of mylseek ? OK - just tried tweaking src/fstools/fs_tools.h and changed the LINUX section to the following : /* * Linux 2.whatever. We'll see how stable the interfaces are. */ #if defined(LINUX2) #define SUPPORTED #include <linux/types.h> #define HAVE_LLSEEK #define LSEEK lseek #define OFF_T off_t #define STRTOUL strtoul #define DADDR_T daddr_t #define DEF_FSTYPE "linux-ext2" #define HAVE_TIMEZONE 1 #endif /* LINUX */ This gives a clean compile (syscall5 is not producing the error btw - it's all lseek related as far as I can see), but I don't know if it actually works. I'm going to go to bed to try to sleep (I will not hack other people's code at 1:00 a.m. I will not hack other people's code at 1:00 a.m. I will not hack other people's code at 1:00 a.m. I will not hack other people's code at 1:00 a.m. I will not hack other people's code at 1:00 a.m. ;-) Looking forward to the flames in the morning. |