[Python-Dev] Make error on solaris 9 x86 - error: parse error before "upad128_t"

M, Raveendra Babu (STSD) raveendra-babu.m at hp.com
Wed Feb 8 10:41:35 CET 2006


I am trying to build python-2.3.5 on solaris 9 - X86. 
1) first  I have unpacked : Python-2.3.5.tgz  using   : tar -zxvf
         no erros at this stage
2) then run :
            No errors at this stage
3)then /usr/ccs/bin/make

  it is giving  some errors and the error is :
 gcc -c -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-I. -I./Include  -DPy_BUILD_CORE -o Python/pythonrun.o
In file included from /usr/include/sys/reg.h:13,
                 from /usr/include/sys/regset.h:24,
                 from /usr/include/sys/ucontext.h:21,
                 from /usr/include/sys/signal.h:240,
                 from /usr/include/signal.h:27,
                 from Python/pythonrun.c:17:
/usr/include/ia32/sys/reg.h:300: error: parse error before "upad128_t"
/usr/include/ia32/sys/reg.h:302: error: parse error before '}' token
/usr/include/ia32/sys/reg.h:309: error: field `kfpu_fx' has incomplete
/usr/include/ia32/sys/reg.h:314: confused by earlier errors, bailing out
*** Error code 1
make: Fatal error: Command failed for target `Python/pythonrun.o'

Can you  please reply me with some fix for this problem.


More information about the Python-Dev mailing list