Re: [sleuthkit-users] afflib problems
Brought to you by:
carrier
|
From: Simson G. <si...@ac...> - 2007-01-11 00:35:01
|
Hi, Jason. The newest version of AFFLIB handles this problem. The problem, of course, is that warn() isn't present in Cygwin because they are modeling the Linux environment, rather than the FreeBSD environment on which AFFLIB was developed. You can simply add this define: #define warn printf Alternatively, you should just comment out the offending lines, since the warnings are just error messages for afconvert, which you won't be using. The Configure script should have picked this up. I'm sorry that it didn't. I'll need to set up a Cygwin machine to do better validation on that platform for the next release. -Simson On Jan 10, 2007, at 7:29 PM, DePriest, Jason R. wrote: > I know this isn't a newsgroup for afflib, but I figured someone here > would have an answer. > > I run Sleuthkit on Cygwin on a Windows 2003 Server. > > The afflib bits that are included with TSK compiled after I changed a > valloc reference to malloc. > > I downloaded the source code for afflib separately because I wanted to > get at the tools to convert dd images to aff images. > > I cannot get the thing to finish compiling. > > I had to make the same valloc to malloc change (I am using the > 2.0a15 release). > > The configure script runs fine, but make fails when it gets to > afconvert with this: > > USER@hostname ~/afflib-2.0a15 > $ make > make all-recursive > make[1]: Entering directory `/cygdrive/c/Documents and > Settings/USER/afflib-2.0a15' > Making all in lib > make[2]: Entering directory `/cygdrive/c/Documents and > Settings/USER/afflib-2.0a15/lib' > make[2]: Nothing to be done for `all'. > make[2]: Leaving directory `/cygdrive/c/Documents and > Settings/USER/afflib-2.0a15/lib' > Making all in tools > make[2]: Entering directory `/cygdrive/c/Documents and > Settings/USER/afflib-2.0a15/tools' > if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib/ -g -O2 -MT > afconvert.o -MD -MP -MF ".deps/afconvert.Tpo" -c -o afconvert.o > afconvert.cpp; \ > then mv -f ".deps/afconvert.Tpo" ".deps/afconvert.Po"; else rm > -f ".deps/afconvert.Tpo"; exit 1; fi > afconvert.cpp: In function `int convert(const char*, char*)': > afconvert.cpp:386: error: `warn' undeclared (first use this function) > afconvert.cpp:386: error: (Each undeclared identifier is reported only > once for each function it appears in.) > make[2]: *** [afconvert.o] Error 1 > make[2]: Leaving directory `/cygdrive/c/Documents and > Settings/USER/afflib-2.0a15/tools' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/cygdrive/c/Documents and > Settings/USER/afflib-2.0a15' > make: *** [all] Error 2 > > Any fantastic ideas? > > -Jason > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org > |