[sleuthkit-developers] 64 bit compatibility of fstools
Brought to you by:
carrier
From: Michael C. <mic...@ne...> - 2004-03-02 10:39:22
|
Hi Brian, I tried to compile the sleuthkit on an opteron today with negative outcomes. The first problem is the _llseek function defined in myseek.c is not compatible for the opteron since OFF_T is already 64bits, a simple lseek can be substituted for myseek(). ( Yeah i know the comment just above the code said: /* * This is LINUX, live on the bleeding edge and watch your software break * with the next release... */ Looks like this is the time when things break) Secondly, the code seems to be peppered with things like: fs_dent->path = (char *)(int)begin + 1; where begin is char *. I am not sure what the purpose of the double cast here is but the compiler spits out lots of warnings, and the program crashes at random places (possibly due to this kind of casts). Are there plans to make the code 64 bit safe? and what is the best way to do so? Michael. |