By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,077 Members | 2,160 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,077 IT Pros & Developers. It's quick & easy.

trouble building Python 2.5.1 on solaris 10

P: n/a
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?
Jul 9 '08 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.