|
From: Anne D. <adu...@gm...> - 2006-03-02 21:30:25
|
Hi, I am having trouble compiling valgrind on my opteron box. The
error given is:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../coregrind -I..
-I../coregrind/x86 -I../coregrind/linux -I../coregrind/x86-linux
-I../include -I../VEX/pub -DVG_PLATFORM=3D"\"x86-linux\"" -DVGA_x86=3D1
-DVGO_linux=3D1 -DVGP_x86_linux=3D1
-DVG_LIBDIR=3D"\"/usr/local/lib/valgrind"\" -m32 -O -g
-Wmissing-prototypes -Winline -Wall -Wshadow -Wpointer-arith
-Wstrict-prototypes -Wmissing-declarations -Wno-long-long
-Wno-pointer-sign -Wdeclaration-after-statement -MT
libcoregrind_x86_linux_a-m_commandline.o -MD -MP -MF
".deps/libcoregrind_x86_linux_a-m_commandline.Tpo" -c -o
libcoregrind_x86_linux_a-m_commandline.o `test -f 'm_commandline.c' ||
echo './'`m_commandline.c; \
then mv -f ".deps/libcoregrind_x86_linux_a-m_commandline.Tpo"
".deps/libcoregrind_x86_linux_a-m_commandline.Po"; else rm -f
".deps/libcoregrind_x86_linux_a-m_commandline.Tpo"; exit 1; fi
In file included from /usr/include/features.h:337,
from /usr/include/setjmp.h:26,
from pub_core_basics.h:63,
from m_commandline.c:31:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or direc=
tory
make[3]: *** [libcoregrind_x86_linux_a-m_commandline.o] Error 1
A quick internet search recommends adding the --disable-multilb flag.
However, it looks like this particular compile is trying to compile
for a 32bit architecture. Is there a way I can disable this via
configure or some such?
thanks,
Anne
|