Menu

#2 Compile Error on amd64 with GCC 4.1.1

open
nobody
None
5
2006-10-27
2006-10-27
Anonymous
No

Trying to compile rekall-2.2.6 with GCC 4.1.1 on a
64Bit linux (amd64) fails with this error message:

bin/sh ../../libtool --silent --mode=link --tag=CXX
x86_64-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=k8 -mtune=athlon64 -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -o
libel_compile.la -rpath /usr/lib64 -L/usr/lib64 -L/usr/qt/3/lib64 -L/usr/kde/3.5/lib64 -L/usr/kde/3.5/lib64
compile.lo syn.lo print.lo cogen.lo input.lo
escstr.lo unix.lo el.tab.lo
hash.cpp: In member function ‘VALUE* HASH::entry(const
VALUE&, int)’:
hash.cpp:144: error: cast from ‘ELShared*’ to ‘int’
loses precision

Should probably be "long" instead of "int" ...

Discussion


Log in to post a comment.

MongoDB Logo MongoDB