CarbonWolf / aff4

Automatically exported from code.google.com/p/aff4
GNU General Public License v3.0
0 stars 0 forks source link

Can't compile with Ubuntu 10.04 64AMD #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I work as normal user...

1. make a new clone in /home/latitude/tmp/ with hg clone.....
2. cd /aff4 (go into aff4..)
3. start the compile with ./scons
4. the program exit with the follow failure:

lib/ewfvolume.c: In function 'EWFStream_read':
lib/ewfvolume.c:287: warning: implicit declaration of function 
'libewf_error_free'
lib/ewfvolume.c:287: error: 'ewf_error' undeclared (first use in this function)
lib/ewfvolume.c:287: error: (Each undeclared identifier is reported only once
lib/ewfvolume.c:287: error: for each function it appears in.)
scons: *** [lib/ewfvolume.os] Error 1
scons: building terminated because of errors.
latitude@nb:~/tmp/aff4$ 

Original issue reported on code.google.com by roswit...@gmail.com on 24 Aug 2010 at 3:15

GoogleCodeExporter commented 8 years ago
I'm getting excactly the same error building on Fedora 13 with gcc version 
4.4.4 20100630 (Red Hat 4.4.4-10) (GCC)

Original comment by johannes...@gmail.com on 23 Sep 2010 at 1:00

GoogleCodeExporter commented 8 years ago
This is the error message:

Generating automatic python bindings for module pyaff4
gcc -o lib/ewfvolume.os -c -Ilibraptor -Wall -g -O0 -D__DEBUG__ -include 
lib/config.h -Ilibraptor/ -DBUILDING_DLL -fvisibility=hidden -DNO_CONFIG_H 
-fno-exceptions -fno-strict-aliasing -msse2 -D_XOPEN_SOURCE=600 -Wall -fPIC 
-Ilibreplace/ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-DGCC_HASCLASSVISIBILITY -Iinclude lib/ewfvolume.c
lib/ewfvolume.c: In function 'EWFStream_read':
lib/ewfvolume.c:287: warning: implicit declaration of function 
'libewf_error_free'
lib/ewfvolume.c:287: error: 'ewf_error' undeclared (first use in this function)
lib/ewfvolume.c:287: error: (Each undeclared identifier is reported only once
lib/ewfvolume.c:287: error: for each function it appears in.)
scons: *** [lib/ewfvolume.os] Error 1
scons: building terminated because of errors.

Original comment by johannes...@gmail.com on 23 Sep 2010 at 1:02

GoogleCodeExporter commented 8 years ago
Also getting this error on a default ubuntu 10.04 LTS VM setup with the 
forensic installer for pyflag.

Original comment by johannes...@gmail.com on 23 Sep 2010 at 1:13

GoogleCodeExporter commented 8 years ago
It also doesn't help to set disable_ewf = True in config.py

Original comment by johannes...@gmail.com on 23 Sep 2010 at 1:17

GoogleCodeExporter commented 8 years ago
sorry to put all this into seperate entries, don't want to spam here just 
thought it would help you to have as much information as possible. This is the 
scons output:

sudo ./scons install
scons: Reading SConscript files ...
Checking unsigned int is 4 bytes... (cached) yes
Checking unsigned char is 1 bytes... (cached) yes
Checking unsigned long is 4 bytes... (cached) yes
Checking unsigned short is 2 bytes... (cached) yes
Checking for C header file standards.h... (cached) no
Checking for C header file stdint.h... (cached) yes
Checking for C header file inttypes.h... (cached) yes
Checking for C header file string.h... (cached) yes
Checking for C header file strings.h... (cached) yes
Checking for C header file sys/types.h... (cached) yes
Checking for C header file stdlib.h... (cached) yes
Checking for C header file crypt.h... (cached) yes
Checking for C header file dlfcn.h... (cached) yes
Checking for C header file stdint.h... (cached) yes
Checking for C header file stddef.h... (cached) yes
Checking for C header file stdio.h... (cached) yes
Checking for C header file errno.h... (cached) yes
Checking for C header file stdlib.h... (cached) yes
Checking for C header file unistd.h... (cached) yes
Checking for C header file fuse.h... (cached) yes
Checking for C header file utime.h... (cached) yes
Checking for C header file arpa/inet.h... (cached) yes
Checking for C header file stdargs.h... (cached) no
Checking for C header file libewf.h... (cached) yes
Checking for C library z... (cached) yes
Checking for C library ssl... (cached) yes
Checking for C library crypto... (cached) yes
Checking for C header file openssl/aes.h... (cached) yes
Checking for C header file openssl/bio.h... (cached) yes
Checking for C header file openssl/evp.h... (cached) yes
Checking for C header file openssl/hmac.h... (cached) yes
Checking for C header file openssl/md5.h... (cached) yes
Checking for C header file openssl/rand.h... (cached) yes
Checking for C header file openssl/rsa.h... (cached) yes
Checking for C header file openssl/sha.h... (cached) yes
Checking for C header file openssl/pem.h... (cached) yes
Checking for C function strerror()... (cached) yes
Checking for C function strdup()... (cached) yes
Checking for C function memmove()... (cached) yes
Checking for C function mktime()... (cached) yes
Checking for C function timegm()... (cached) yes
Checking for C function utime()... (cached) yes
Checking for C function utimes()... (cached) yes
Checking for C function strlcpy()... (cached) no
Checking for C function strlcat()... (cached) no
Checking for C function setenv()... (cached) yes
Checking for C function unsetenv()... (cached) yes
Checking for C function seteuid()... (cached) yes
Checking for C function setegid()... (cached) yes
Checking for C function setresuid()... (cached) yes
Checking for C function setresgid()... (cached) yes
Checking for C function chown()... (cached) yes
Checking for C function chroot()... (cached) yes
Checking for C function link()... (cached) yes
Checking for C function readlink()... (cached) yes
Checking for C function symlink()... (cached) yes
Checking for C function realpath()... (cached) yes
Checking for C function lchown()... (cached) yes
Checking for C function setlinebuf()... (cached) yes
Checking for C function strcasestr()... (cached) yes
Checking for C function strcasecmp()... (cached) yes
Checking for C function strtok()... (cached) yes
Checking for C function strtoll()... (cached) yes
Checking for C function strtoull()... (cached) yes
Checking for C function ftruncate()... (cached) yes
Checking for C function initgroups()... (cached) yes
Checking for C function bzero()... (cached) yes
Checking for C function memset()... (cached) yes
Checking for C function dlerror()... (cached) no
Checking for C function dlopen()... (cached) no
Checking for C function dlsym()... (cached) no
Checking for C function dlclose()... (cached) no
Checking for C function socketpair()... (cached) yes
Checking for C function vasprintf()... (cached) yes
Checking for C function snprintf()... (cached) yes
Checking for C function vsnprintf()... (cached) yes
Checking for C function asprintf()... (cached) yes
Checking for C function vsyslog()... (cached) yes
Checking for C function dup2()... (cached) yes
Checking for C function mkdtemp()... (cached) yes
Checking for C function pread()... (cached) yes
Checking for C function pwrite()... (cached) yes
Checking for C function inet_ntoa()... (cached) yes
Checking for C function inet_pton()... (cached) yes
Checking for C function inet_ntop()... (cached) yes
Checking for C function inet_aton()... (cached) yes
Checking for C function connect()... (cached) yes
Checking for C function gethostbyname()... (cached) yes
Checking for C function getifaddrs()... (cached) yes
Checking for C function freeifaddrs()... (cached) yes
Checking for C function crypt()... (cached) no
Checking for C function vsnprintf()... (cached) yes
Checking for C function strnlen()... (cached) yes
Checking for C function ntohll()... (cached) no
Checking for va_copy ...(cached) yes
(cached) Checking for C library ewf... (cached) yes
Checking for C library curl... (cached) no
Checking for C library afflib... (cached) yes
Checking for C library pthread... (cached) yes
Checking for C library ssl... (cached) yes
Checking for C library tsk3... (cached) yes
Checking for C library regfi... (cached) no
Checking for libewf_glob ...(cached) no
(cached) Checking for C type intptr_t... (cached) yes
Checking for C type uintptr_t... (cached) yes
Checking for C type ptrdiff_t... (cached) yes
Checking for C type ssize_t... (cached) yes
Generating lib/config.h
Checking for C header file libxml/parser.h... (cached) yes
Checking for C header file libxml/SAX2.h... (cached) yes
Checking for C header file libxslt/xslt.h... (cached) no
Checking for C library xml2... (cached) yes
Generating libraptor/raptor_config.h
Generating init functions
scons: done reading SConscript files.
scons: Building targets ...
partial(["python2.6/pyaff4.c", "lib/public.c", "include/aff4_public.h"], 
["include/misc.h", "include/aff4_constants.h", "include/aff4_utils.h", 
"include/aff4_rdf.h", "include/aff4_io.h", "include/aff4_resolver.h", 
"include/aff4_rdf_serialise.h", "include/aff4_objects.h", 
"include/aff4_crypto.h", "include/ewfvolume.h"])
Generating automatic python bindings for module pyaff4
Compiling shared ==> lib/ewfvolume.c
lib/ewfvolume.c: In function 'EWFStream_read':
lib/ewfvolume.c:287: warning: implicit declaration of function 
'libewf_error_free'
lib/ewfvolume.c:287: error: 'ewf_error' undeclared (first use in this function)
lib/ewfvolume.c:287: error: (Each undeclared identifier is reported only once
lib/ewfvolume.c:287: error: for each function it appears in.)
scons: *** [lib/ewfvolume.os] Error 1
scons: building terminated because of errors.

Original comment by johannes...@gmail.com on 23 Sep 2010 at 1:21

GoogleCodeExporter commented 8 years ago
Google provides great way for spam !! :)

Original comment by olexi...@gmail.com on 20 Oct 2010 at 2:41