trouble building Python 2.5.1 on solaris 10

M

mg

When make gets to the _ctypes section, I am getting the following in
my output:

building '_ctypes' extension
creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/
Modules/_ctypes
creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/
Modules/_ctypes/libffi
creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/
Modules/_ctypes/libffi/src
creating build/temp.solaris-2.10-i86pc-2.5/home/ecuser/Python-2.5.1/
Modules/_ctypes/libffi/src/x86
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/_ctypes.c -o build/temp.solaris-2.10-i86pc-2.5/home/
ecuser/Python-2.5.1/Modules/_ctypes/_ctypes.o
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/callbacks.c -o build/temp.solaris-2.10-i86pc-2.5/home/
ecuser/Python-2.5.1/Modules/_ctypes/callbacks.o
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/callproc.c -o build/temp.solaris-2.10-i86pc-2.5/home/
ecuser/Python-2.5.1/Modules/_ctypes/callproc.o
/home/ecuser/Python-2.5.1/Modules/_ctypes/callproc.c: In function
`_CallProc':
/home/ecuser/Python-2.5.1/Modules/_ctypes/callproc.c:918: warning:
implicit declaration of function `alloca'
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/stgdict.c -o build/temp.solaris-2.10-i86pc-2.5/home/
ecuser/Python-2.5.1/Modules/_ctypes/stgdict.o
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/cfield.c -o build/temp.solaris-2.10-i86pc-2.5/home/
ecuser/Python-2.5.1/Modules/_ctypes/cfield.o
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/malloc_closure.c -o build/temp.solaris-2.10-i86pc-2.5/
home/ecuser/Python-2.5.1/Modules/_ctypes/malloc_closure.o
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/libffi/src/prep_cif.c -o build/temp.solaris-2.10-
i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/
prep_cif.o
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/libffi/src/x86/ffi64.c -o build/temp.solaris-2.10-
i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/
ffi64.o
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/libffi/src/x86/unix64.S -o build/temp.solaris-2.10-
i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/
unix64.o
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/libffi/src/x86/ffi.c -o build/temp.solaris-2.10-
i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/
ffi.o
/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/ffi.c:177:
warning: function declaration isn't a prototype
/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/ffi.c:194:
warning: function declaration isn't a prototype
gcc -fPIC -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-
prototypes -I. -I/home/ecuser/Python-2.5.1/./Include -Ibuild/
temp.solaris-2.10-i86pc-2.5/libffi/include -Ibuild/temp.solaris-2.10-
i86pc-2.5/libffi -I/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/
src -I./Include -I. -I/usr/local/include -I/home/ecuser/Python-2.5.1/
Include -I/home/ecuser/Python-2.5.1 -c /home/ecuser/Python-2.5.1/
Modules/_ctypes/libffi/src/x86/sysv.S -o build/temp.solaris-2.10-
i86pc-2.5/home/ecuser/Python-2.5.1/Modules/_ctypes/libffi/src/x86/
sysv.o
Assembler:
"/var/tmp//ccbsqiOB.s", line 236 : Syntax error
Near line: ".section .note.GNU-stack,"",%progbits"

my configure looks like this: ./configure --prefix=/home/ecuser/dev --
with-gcc --with-system-ffi

any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top