Thread: [sleuthkit-users] sleuthkit-2.04 compilation errors
Brought to you by:
carrier
|
From: DePriest, J. R. <jrd...@gm...> - 2006-05-12 20:18:39
|
When I run 'make' it goes to src/auxtools and finishes that with some non-critical errors: cd src/auxtools; make "CC=3Dgcc" MAKELEVEL=3D gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o mymalloc.o mymalloc.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o strerror.o strerror.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o split_at.o split_at.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_endian.o tsk_endian.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o unicode.o unicode.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o data_buf.o data_buf.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_version.o tsk_version= .c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_error.o tsk_error.c tsk_error.c: In function `tsk_error_print': tsk_error.c:99: warning: int format, long unsigned int arg (arg 3) tsk_error.c:106: warning: int format, long unsigned int arg (arg 3) tsk_error.c:112: warning: int format, long unsigned int arg (arg 3) tsk_error.c:118: warning: int format, long unsigned int arg (arg 3) tsk_error.c:121: warning: int format, uint32_t arg (arg 3) gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_parse.o tsk_parse.c ar rv ../../lib/libauxtools.a mymalloc.o strerror.o split_at.o tsk_endian.o unicode.o data_buf.o tsk_version.o tsk_error.o tsk_parse.o ar: creating ../../lib/libauxtools.a a - mymalloc.o a - strerror.o a - split_at.o a - tsk_endian.o a - unicode.o a - data_buf.o a - tsk_version.o a - tsk_error.o a - tsk_parse.o ranlib ../../lib/libauxtools.a However, after it cds to src/afflib/lib, it get an error an exits: cd src/auxtools; make "CC=3Dgcc" MAKELEVEL=3D make: Nothing to be done for `all'. cd src/afflib/lib; make "CC=3Dgcc" MAKELEVEL=3D g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib -o afflib.o afflib.cpp afflib.cpp: In function `AFFILE* af_open_with(const char*, int, int, af_vnode*)': afflib.cpp:152: error: `warnx' undeclared (first use this function) afflib.cpp:152: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [afflib.o] Error 1 make: *** [no-perl] Error 2 Any idea what I am missing? I swear I was able to compile version 2.03 on the same system. Thanks! -Jason |
|
From: DePriest, J. R. <jrd...@gm...> - 2006-05-13 18:41:55
|
When I run 'make' it goes to src/auxtools and finishes that with some non-critical errors: cd src/auxtools; make "CC=3Dgcc" MAKELEVEL=3D gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o mymalloc.o mymalloc.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o strerror.o strerror.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o split_at.o split_at.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_endian.o tsk_endian.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o unicode.o unicode.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o data_buf.o data_buf.c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_version.o tsk_version= .c gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_error.o tsk_error.c tsk_error.c: In function `tsk_error_print': tsk_error.c:99: warning: int format, long unsigned int arg (arg 3) tsk_error.c:106: warning: int format, long unsigned int arg (arg 3) tsk_error.c:112: warning: int format, long unsigned int arg (arg 3) tsk_error.c:118: warning: int format, long unsigned int arg (arg 3) tsk_error.c:121: warning: int format, uint32_t arg (arg 3) gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_parse.o tsk_parse.c ar rv ../../lib/libauxtools.a mymalloc.o strerror.o split_at.o tsk_endian.o unicode.o data_buf.o tsk_version.o tsk_error.o tsk_parse.o ar: creating ../../lib/libauxtools.a a - mymalloc.o a - strerror.o a - split_at.o a - tsk_endian.o a - unicode.o a - data_buf.o a - tsk_version.o a - tsk_error.o a - tsk_parse.o ranlib ../../lib/libauxtools.a However, after it cds to src/afflib/lib, it get an error an exits: cd src/auxtools; make "CC=3Dgcc" MAKELEVEL=3D make: Nothing to be done for `all'. cd src/afflib/lib; make "CC=3Dgcc" MAKELEVEL=3D g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib -o afflib.o afflib.cpp afflib.cpp: In function `AFFILE* af_open_with(const char*, int, int, af_vnode*)': afflib.cpp:152: error: `warnx' undeclared (first use this function) afflib.cpp:152: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [afflib.o] Error 1 make: *** [no-perl] Error 2 Any idea what I am missing? I swear I was able to compile version 2.03 on the same system. Thanks! |
|
From: Brian C. <ca...@sl...> - 2006-05-16 15:06:00
|
I'll fix the warnings in auxtools. Those are in the new error handling code. The errors though are in AFFlib, which was not included in version 2.03. We'll get the Cygwin compile errors fixed in that. brian DePriest, Jason R. wrote: > When I run 'make' it goes to src/auxtools and finishes that with some > non-critical errors: > cd src/auxtools; make "CC=gcc" MAKELEVEL= > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o mymalloc.o mymalloc.c > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o strerror.o strerror.c > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o split_at.o split_at.c > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_endian.o tsk_endian.c > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o unicode.o unicode.c > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o data_buf.o data_buf.c > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_version.o tsk_version.c > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_error.o tsk_error.c > tsk_error.c: In function `tsk_error_print': > tsk_error.c:99: warning: int format, long unsigned int arg (arg 3) > tsk_error.c:106: warning: int format, long unsigned int arg (arg 3) > tsk_error.c:112: warning: int format, long unsigned int arg (arg 3) > tsk_error.c:118: warning: int format, long unsigned int arg (arg 3) > tsk_error.c:121: warning: int format, uint32_t arg (arg 3) > gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_parse.o tsk_parse.c > ar rv ../../lib/libauxtools.a mymalloc.o strerror.o split_at.o > tsk_endian.o unicode.o data_buf.o tsk_version.o tsk_error.o > tsk_parse.o > ar: creating ../../lib/libauxtools.a > a - mymalloc.o > a - strerror.o > a - split_at.o > a - tsk_endian.o > a - unicode.o > a - data_buf.o > a - tsk_version.o > a - tsk_error.o > a - tsk_parse.o > ranlib ../../lib/libauxtools.a > > However, after it cds to src/afflib/lib, it get an error an exits: > cd src/auxtools; make "CC=gcc" MAKELEVEL= > make: Nothing to be done for `all'. > cd src/afflib/lib; make "CC=gcc" MAKELEVEL= > g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib > -o afflib.o afflib.cpp > afflib.cpp: In function `AFFILE* af_open_with(const char*, int, int, > af_vnode*)': > afflib.cpp:152: error: `warnx' undeclared (first use this function) > afflib.cpp:152: error: (Each undeclared identifier is reported only > once for each function it appears in.) > make: *** [afflib.o] Error 1 > make: *** [no-perl] Error 2 > > Any idea what I am missing? I swear I was able to compile version > 2.03 on the same system. > > Thanks! > > -Jason |
|
From: Brian C. <ca...@sl...> - 2006-05-23 21:25:18
|
Ok, the latest version of AFFLIB compiles under CYGWIN. I'm going to wait a week or so before I release a new TSK, but you can easily drop in the new AFFLIB and compile. Here's how you do it: 1. Download version 1.6.24 http://www.afflib.org/downloads/afflib-1.6.24.tar.gz 2. Untar it. 3. Remove the src/afflib directory from TSK. 4. Move the afflib-1.6.24 directory to src/afflib (be sure you name it afflib and not afflib-1.6.24). 5. Compile TSK as normal. You'll get some more CYGWIN warnings in various tools that I have fixed. They are not critical. brian Brian Carrier wrote: > I'll fix the warnings in auxtools. Those are in the new error handling > code. > > The errors though are in AFFlib, which was not included in version 2.03. > We'll get the Cygwin compile errors fixed in that. > > brian > > DePriest, Jason R. wrote: >> When I run 'make' it goes to src/auxtools and finishes that with some >> non-critical errors: >> cd src/auxtools; make "CC=gcc" MAKELEVEL= >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o mymalloc.o mymalloc.c >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o strerror.o strerror.c >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o split_at.o split_at.c >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_endian.o tsk_endian.c >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o unicode.o unicode.c >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o data_buf.o data_buf.c >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_version.o >> tsk_version.c >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_error.o tsk_error.c >> tsk_error.c: In function `tsk_error_print': >> tsk_error.c:99: warning: int format, long unsigned int arg (arg 3) >> tsk_error.c:106: warning: int format, long unsigned int arg (arg 3) >> tsk_error.c:112: warning: int format, long unsigned int arg (arg 3) >> tsk_error.c:118: warning: int format, long unsigned int arg (arg 3) >> tsk_error.c:121: warning: int format, uint32_t arg (arg 3) >> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_parse.o tsk_parse.c >> ar rv ../../lib/libauxtools.a mymalloc.o strerror.o split_at.o >> tsk_endian.o unicode.o data_buf.o tsk_version.o tsk_error.o >> tsk_parse.o >> ar: creating ../../lib/libauxtools.a >> a - mymalloc.o >> a - strerror.o >> a - split_at.o >> a - tsk_endian.o >> a - unicode.o >> a - data_buf.o >> a - tsk_version.o >> a - tsk_error.o >> a - tsk_parse.o >> ranlib ../../lib/libauxtools.a >> >> However, after it cds to src/afflib/lib, it get an error an exits: >> cd src/auxtools; make "CC=gcc" MAKELEVEL= >> make: Nothing to be done for `all'. >> cd src/afflib/lib; make "CC=gcc" MAKELEVEL= >> g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib >> -o afflib.o afflib.cpp >> afflib.cpp: In function `AFFILE* af_open_with(const char*, int, int, >> af_vnode*)': >> afflib.cpp:152: error: `warnx' undeclared (first use this function) >> afflib.cpp:152: error: (Each undeclared identifier is reported only >> once for each function it appears in.) >> make: *** [afflib.o] Error 1 >> make: *** [no-perl] Error 2 >> >> Any idea what I am missing? I swear I was able to compile version >> 2.03 on the same system. |
|
From: DePriest, J. R. <jrd...@gm...> - 2006-05-23 22:11:07
|
I still get errors. I even have a gigantic strace of the make session if anyone wants it. -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- cd src/afflib/lib; make "CC=3Dgcc" MAKELEVEL=3D g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib -o aff_db.o aff_db.cpp g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib -o aff_toc.o aff_toc.cpp g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib -o afflib.o afflib.cpp afflib.cpp: In function `AFFILE* af_open_with(const char*, int, int, af_vnode*)': afflib.cpp:152: error: `warnx' undeclared (first use this function) afflib.cpp:152: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [afflib.o] Error 1 make: *** [no-perl] Error 2 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-= =3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- On 5/23/06, Brian Carrier <> wrote: > Ok, the latest version of AFFLIB compiles under CYGWIN. I'm going to > wait a week or so before I release a new TSK, but you can easily drop in > the new AFFLIB and compile. Here's how you do it: > > 1. Download version 1.6.24 > http://www.afflib.org/downloads/afflib-1.6.24.tar.gz > > 2. Untar it. > > 3. Remove the src/afflib directory from TSK. > > 4. Move the afflib-1.6.24 directory to src/afflib (be sure you name it > afflib and not afflib-1.6.24). > > 5. Compile TSK as normal. > > You'll get some more CYGWIN warnings in various tools that I have fixed. > They are not critical. > > brian > > > Brian Carrier wrote: > > I'll fix the warnings in auxtools. Those are in the new error handling > > code. > > > > The errors though are in AFFlib, which was not included in version 2.03= . > > We'll get the Cygwin compile errors fixed in that. > > > > brian > > > > DePriest, Jason R. wrote: > >> When I run 'make' it goes to src/auxtools and finishes that with some > >> non-critical errors: > >> cd src/auxtools; make "CC=3Dgcc" MAKELEVEL=3D > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o mymalloc.o mymalloc.= c > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o strerror.o strerror.= c > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o split_at.o split_at.= c > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_endian.o tsk_end= ian.c > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o unicode.o unicode.c > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o data_buf.o data_buf.= c > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_version.o > >> tsk_version.c > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_error.o tsk_erro= r.c > >> tsk_error.c: In function `tsk_error_print': > >> tsk_error.c:99: warning: int format, long unsigned int arg (arg 3) > >> tsk_error.c:106: warning: int format, long unsigned int arg (arg 3) > >> tsk_error.c:112: warning: int format, long unsigned int arg (arg 3) > >> tsk_error.c:118: warning: int format, long unsigned int arg (arg 3) > >> tsk_error.c:121: warning: int format, uint32_t arg (arg 3) > >> gcc -DCYGWIN -DVER=3D\"2.04\" -O -Wall -g -c -o tsk_parse.o tsk_pars= e.c > >> ar rv ../../lib/libauxtools.a mymalloc.o strerror.o split_at.o > >> tsk_endian.o unicode.o data_buf.o tsk_version.o tsk_error.o > >> tsk_parse.o > >> ar: creating ../../lib/libauxtools.a > >> a - mymalloc.o > >> a - strerror.o > >> a - split_at.o > >> a - tsk_endian.o > >> a - unicode.o > >> a - data_buf.o > >> a - tsk_version.o > >> a - tsk_error.o > >> a - tsk_parse.o > >> ranlib ../../lib/libauxtools.a > >> > >> However, after it cds to src/afflib/lib, it get an error an exits: > >> cd src/auxtools; make "CC=3Dgcc" MAKELEVEL=3D > >> make: Nothing to be done for `all'. > >> cd src/afflib/lib; make "CC=3Dgcc" MAKELEVEL=3D > >> g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib > >> -o afflib.o afflib.cpp > >> afflib.cpp: In function `AFFILE* af_open_with(const char*, int, int, > >> af_vnode*)': > >> afflib.cpp:152: error: `warnx' undeclared (first use this function) > >> afflib.cpp:152: error: (Each undeclared identifier is reported only > >> once for each function it appears in.) > >> make: *** [afflib.o] Error 1 > >> make: *** [no-perl] Error 2 > >> > >> Any idea what I am missing? I swear I was able to compile version > >> 2.03 on the same system. > |
|
From: Brian C. <ca...@sl...> - 2006-05-26 15:20:59
|
Let's try this again. For CYGWIN users who had problems with the updated AFFLIB, try version 1.6.25. Same instructions, but download: http://www.afflib.org/downloads/afflib-1.6.25.tar.gz brian Brian Carrier wrote: > Ok, the latest version of AFFLIB compiles under CYGWIN. I'm going to > wait a week or so before I release a new TSK, but you can easily drop in > the new AFFLIB and compile. Here's how you do it: > > 1. Download version 1.6.24 > http://www.afflib.org/downloads/afflib-1.6.24.tar.gz > > 2. Untar it. > > 3. Remove the src/afflib directory from TSK. > > 4. Move the afflib-1.6.24 directory to src/afflib (be sure you name it > afflib and not afflib-1.6.24). > > 5. Compile TSK as normal. > > You'll get some more CYGWIN warnings in various tools that I have fixed. > They are not critical. > > brian > > > Brian Carrier wrote: >> I'll fix the warnings in auxtools. Those are in the new error >> handling code. >> >> The errors though are in AFFlib, which was not included in version >> 2.03. We'll get the Cygwin compile errors fixed in that. >> >> brian >> >> DePriest, Jason R. wrote: >>> When I run 'make' it goes to src/auxtools and finishes that with some >>> non-critical errors: >>> cd src/auxtools; make "CC=gcc" MAKELEVEL= >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o mymalloc.o mymalloc.c >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o strerror.o strerror.c >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o split_at.o split_at.c >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_endian.o >>> tsk_endian.c >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o unicode.o unicode.c >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o data_buf.o data_buf.c >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_version.o >>> tsk_version.c >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_error.o tsk_error.c >>> tsk_error.c: In function `tsk_error_print': >>> tsk_error.c:99: warning: int format, long unsigned int arg (arg 3) >>> tsk_error.c:106: warning: int format, long unsigned int arg (arg 3) >>> tsk_error.c:112: warning: int format, long unsigned int arg (arg 3) >>> tsk_error.c:118: warning: int format, long unsigned int arg (arg 3) >>> tsk_error.c:121: warning: int format, uint32_t arg (arg 3) >>> gcc -DCYGWIN -DVER=\"2.04\" -O -Wall -g -c -o tsk_parse.o tsk_parse.c >>> ar rv ../../lib/libauxtools.a mymalloc.o strerror.o split_at.o >>> tsk_endian.o unicode.o data_buf.o tsk_version.o tsk_error.o >>> tsk_parse.o >>> ar: creating ../../lib/libauxtools.a >>> a - mymalloc.o >>> a - strerror.o >>> a - split_at.o >>> a - tsk_endian.o >>> a - unicode.o >>> a - data_buf.o >>> a - tsk_version.o >>> a - tsk_error.o >>> a - tsk_parse.o >>> ranlib ../../lib/libauxtools.a >>> >>> However, after it cds to src/afflib/lib, it get an error an exits: >>> cd src/auxtools; make "CC=gcc" MAKELEVEL= >>> make: Nothing to be done for `all'. >>> cd src/afflib/lib; make "CC=gcc" MAKELEVEL= >>> g++ -c -g -Wall -I/usr/local/ssl/include -I/usr/sfw/include -I. -Ilib >>> -o afflib.o afflib.cpp >>> afflib.cpp: In function `AFFILE* af_open_with(const char*, int, int, >>> af_vnode*)': >>> afflib.cpp:152: error: `warnx' undeclared (first use this function) >>> afflib.cpp:152: error: (Each undeclared identifier is reported only >>> once for each function it appears in.) >>> make: *** [afflib.o] Error 1 >>> make: *** [no-perl] Error 2 >>> >>> Any idea what I am missing? I swear I was able to compile version >>> 2.03 on the same system. > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 > _______________________________________________ > sleuthkit-users mailing list > https://lists.sourceforge.net/lists/listinfo/sleuthkit-users > http://www.sleuthkit.org |