DECAF compilation error

304 views
Skip to first unread message

Soo-Jin Moon

unread,
Jun 24, 2015, 6:23:47 PM6/24/15
to decaf-platf...@googlegroups.com
Hello,

I'm trying to compile DECAF source code pulled from github and I'm using ubuntu 14.04.

usb net redir     no
OpenGL support    no
libiscsi support  no
build guest agent yes
enable TCG taint  no
enable IR logging no
enable TCG LLVM   no
enable VMI        yes
Configuring and building Sleuthkit now! Please wait
ubuntu@ubuntu-VirtualBox:~/workspace/DECAF/decaf$ sudo make
  GEN   config-host.h
  GEN   trace.h
  GEN   trace.c
gcc -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include    -pthread -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include   -O2 -g  -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m32 -rdynamic -o qemu-nbd aes.o aio.o async.o block.o block/blkdebug.o block/blkverify.o block/bochs.o block/cloop.o block/cow.o block/dmg.o block/nbd.o block/parallels.o block/qcow.o block/qcow2-cache.o block/qcow2-cluster.o block/qcow2-refcount.o block/qcow2-snapshot.o block/qcow2.o block/qed-check.o block/qed-cluster.o block/qed-gencb.o block/qed-l2-cache.o block/qed-table.o block/qed.o block/raw-posix.o block/raw.o block/sheepdog.o block/vdi.o block/vmdk.o block/vpc.o block/vvfat.o cache-utils.o coroutine-ucontext.o cutils.o error.o json-lexer.o json-parser.o json-streamer.o module.o nbd.o osdep.o oslib-posix.o posix-aio-compat.o qbool.o qdict.o qemu-config.o qemu-coroutine-lock.o qemu-coroutine.o qemu-error.o qemu-nbd.o qemu-option.o qemu-progress.o qemu-sockets.o qemu-thread-posix.o qemu-timer-common.o qemu-tool.o qerror.o qfloat.o qint.o qjson.o qlist.o qstring.o trace.o trace/control.o trace/default.o /home/ubuntu/workspace/DECAF/decaf/shared/sleuthkit/lib/libtsk.a -lbfd -pthread -pthread -lgthread-2.0 -lglib-2.0    -lstdc++ -lz 
gcc: error: /home/ubuntu/workspace/DECAF/decaf/shared/sleuthkit/lib/libtsk.a: No such file or directory
make: *** [qemu-nbd] Error 1

The lib folder for sleuthkit was not created by ./configure which caused the make to fail. 

Thanks!  

Heng Yin

unread,
Jun 24, 2015, 7:11:07 PM6/24/15
to decaf-platf...@googlegroups.com
We will take a look. If lib is not created, could you just create one and rebuild it, as a temporary solution?

Heng

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-di...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Soo-Jin Moon

unread,
Jun 24, 2015, 8:49:53 PM6/24/15
to decaf-platf...@googlegroups.com
Thanks for your reply! 

I tried to build directly from sleuthkits (.configure ->  make) but got following errors.
config.status: executing libtool commands
sed: can't read config/ltmain.sh: No such file or directory
sed: can't read libtoolT: No such file or directory
config.status: executing tsk/tsk_incs.h commands
configure:
Building:
   afflib support:                        no
   libewf support:                        no
   zlib support:                          yes

Features:
   Java/JNI support:                      no

ubuntu@ubuntu-VirtualBox:~/workspace/DECAF/decaf/shared/sleuthkit$ make
Making all in tsk
make[1]: Entering directory `/home/ubuntu/workspace/DECAF/decaf/shared/sleuthkit/tsk'
make  all-recursive
make[2]: Entering directory `/home/ubuntu/workspace/DECAF/decaf/shared/sleuthkit/tsk'
Making all in base
make[3]: Entering directory `/home/ubuntu/workspace/DECAF/decaf/shared/sleuthkit/tsk/base'
/bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../tsk  -I../.. -Wall  -pthread -I/usr/local/include  -g -O2 -MT md5c.lo -MD -MP -MF .deps/md5c.Tpo -c -o md5c.lo md5c.c
mv -f .deps/md5c.Tpo .deps/md5c.Plo
mv: cannot stat ‘.deps/md5c.Tpo’: No such file or directory
make[3]: *** [md5c.lo] Error 1
make[3]: Leaving directory `/home/ubuntu/workspace/DECAF/decaf/shared/sleuthkit/tsk/base'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ubuntu/workspace/DECAF/decaf/shared/sleuthkit/tsk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ubuntu/workspace/DECAF/decaf/shared/sleuthkit/tsk'
make: *** [all-recursive] Error 1

If this error is only pertains to the recent version of the repo, maybe I can try
the older version as an interim solution?
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsub...@googlegroups.com.

Heng Yin

unread,
Jun 25, 2015, 11:58:53 AM6/25/15
to decaf-platf...@googlegroups.com
We just fixed this issue. Can you give a try?

Heng

To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-di...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-di...@googlegroups.com.

杜震

unread,
Jun 19, 2017, 9:59:38 AM6/19/17
to decaf-platform-discuss
Dear Heng

I just begin to compile decaf following"https://code.google.com/archive/p/decaf-platform/wikis/build_conf.wiki".After ./configure,when I make,I receive an error "make:**[/home/allan/DECAF/decaf/shared/sleuthkit/lib/libtsk.so] Error 2".There is no folder names "lib" .And I tried to create a folder lib by myself,but make didn't work also.
I get your source code from github.
Could please help me?
Thank you so much!!!
--Zhen Du




在 2015年6月25日星期四 UTC+8下午11:58:53,Heng Yin写道:
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsub...@googlegroups.com.

Heng Yin

unread,
Jun 19, 2017, 10:59:01 AM6/19/17
to decaf-platf...@googlegroups.com
Need more details about your machine configuration, and commands you entered a and outputs. Without these, nobody can help you.


To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-di...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-di...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-di...@googlegroups.com.

杜震

unread,
Jun 22, 2017, 2:23:40 AM6/22/17
to decaf-platform-discuss
Hello Heng
machine configuration:Ubuntu 14.04, kernel 4.4.0 gcc 4.8.4 etc.
entered decaf/ folder
command 1: ./configure 
output:
Install prefix    /usr/local
BIOS directory    /usr/local/share/qemu
binary directory  /usr/local/bin
library directory /usr/local/lib
include directory /usr/local/include
config directory  /usr/local/etc
Manual directory  /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/allan/DECAF/decaf
C compiler        gcc
Host C compiler   gcc
CFLAGS            -O2 -g 
QEMU_CFLAGS       -fPIE -DPIE -m32 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -fstack-protector-all -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits
QEMU_CPPFLAGS     -fno-strict-aliasing -Wall -Wundef -Wwrite-strings -Wredundant-decls -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_FORTIFY_SOURCE=2 -Wtype-limits -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wmissing-include-dirs -Wempty-body -fstack-protector-all -Wendif-labels
LDFLAGS           -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m32 -rdynamic  -g 
make              make
install           install
python            python
smbd              /usr/sbin/smbd
host CPU          i386
host big endian   no
target list       i386-softmmu arm-softmmu mips-softmmu 

tcg debug enabled no
Mon debug enabled no
gprof enabled     no
sparse enabled    no
strip binaries    yes
profiler          no
static build      no
-Werror enabled   no
SDL support       no
curses support    yes
curl support      no
check support     no
mingw32 support   no
Audio drivers     oss
Extra audio cards ac97 es1370 sb16 hda
Block whitelist   
Mixer emulation   no
VNC support       yes
VNC TLS support   yes
VNC SASL support  no
VNC JPEG support  no
VNC PNG support   no
VNC thread        no
xen support       no
brlapi support    no
bluez  support    no
Documentation     no
NPTL support      yes
GUEST_BASE        yes
PIE               yes
vde support       no
Linux AIO support no
ATTR/XATTR support yes
Install blobs     yes
KVM support       no
TCG interpreter   no
fdt support       no
preadv support    yes
fdatasync         yes
madvise           yes
posix_madvise     yes
uuid support      no
vhost-net support yes
Trace backend     nop
Trace output file trace-<pid>
spice support     no
rbd support       no
xfsctl support    no
nss used          no
usb net redir     no
OpenGL support    yes
libiscsi support  no
build guest agent yes
enable TCG taint  no
enable IR logging no
enable TCG LLVM   no
enable VMI        yes
Configuring Sleuthkit now! Please wait
DECAF configuration complete! Type 'make' to begin building.

command 2: make
output:Building Sleuthkit, please wait...
  GEN   Sleuthkit
 make: *** [/home/allan/DECAF/decaf/shared/sleuthkit/lib/libtsk.so] Error 2

It is only at the begining of compile.Could please help me?
Thank you!





























在 2017年6月19日星期一 UTC+8下午10:59:01,Heng Yin写道:
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsub...@googlegroups.com.

Xunchao Hu

unread,
Jun 22, 2017, 8:09:00 AM6/22/17
to decaf-platf...@googlegroups.com
It is due to the failed compilation of sleuthkit.  You can go to /shared/sleuthkit and try to compile sleuthkit first. then everything should work.

To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsubscri...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsubscri...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "decaf-platform-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to decaf-platform-discuss+unsubscri...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages