Hello, everyone!
I have the following problem when I try to compile PolyML:
gmake[2]: Entering directory `/home/vlaja/soft/polyml.5.1/libpolyml'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I.. -Wall -O3 -MT x86_dep.lo -MD -MP -MF .deps/x86_dep.Tpo -c -o
x86_dep.lo x86_dep.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -Wall -O3 -MT x86_dep.lo -MD -MP -MF
..deps/x86_dep.Tpo -c x86_dep.cpp -fPIC -DPIC -o .libs/x86_dep.o
x86_dep.cpp: In member function `virtual bool
X86Dependent::GetPCandSPFromContext(TaskData*, ucontext_t*, PolyWord*&,
byte*&)':
x86_dep.cpp:769: error: `REG_RIP' undeclared (first use this function)
x86_dep.cpp:769: error: (Each undeclared identifier is reported only
once for
each function it appears in.)
x86_dep.cpp:770: error: `REG_RSP' undeclared (first use this function)
gmake[2]: *** [x86_dep.lo] Error 1
gmake[2]: Leaving directory `/home/vlaja/soft/polyml.5.1/libpolyml'
Additional information about the system:
brutalix <308> uname -a
Linux brutalix 2.6.8-12-amd64-k8-smp #1 SMP Tue Dec 5 23:23:41 UTC 2006
x86_64 GNU/Linux
brutalix <302> gcc --version
gcc (GCC) 3.3.5 (Debian 1:3.3.5-13)
I suspect that gcc version is too old. In particular, there is no GNU
Standard C++ Library v3 installed (that is why I cannot use the
pre-compiled version provided with Isabelle).
Is that the source of the problem?
Thanks for any help,
Vlad