[Python-Dev] Make error on solaris 9 x86 - error: parse errorbefore "upad128_t"
Fredrik Lundh
fredrik at pythonware.com
Wed Feb 8 11:15:42 CET 2006
M, Raveendra Babu (STSD) wrote:
> 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
> Python/pythonrun.c
> 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
> type
> /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.
a quick google search indicates that this is a compiler problem. random
FAQ entry:
The problem is that the Solaris headers changed across updates
of Solaris 9 and you are using a GCC from before the change on
an updated system. (i.e. a GCC built for Solaris 9 <= 12/03 on
Solaris 9 >= 4/04).
You can either rebuild GCC for your version of the system (it
works, even using a GCC built for the previous version), or fix
your headers:
http://groups.yahoo.com/group/solarisx86/message/6617
</F>
More information about the Python-Dev
mailing list