Christian Leutloff
|
python compiles but each dynamic module is failing to build
|
Christian Leutloff
10/15/2007 12:05 PM
post2006
|
python compiles but each dynamic module is failing to build
I'm now working on lang/python24. Python itself compiles and works(read starts), but all the dynamic modules are failing
to build.
Executing the failing cc or ld command lines directly on the shell are working. Therefore there may be a problem with
the toolchain.
The parser pgen is build in a subdirectory, too and was perfectly build.
Where is the toolchain customized (or where it is described?)?
Any ideas how to fix it?
Here are some of the relevant messages:
creating build/temp.qnx-6.3.2-x86pc-2.4
cc -DNDEBUG -O2 -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -fno-strict-aliasing -OPT:Olimit=0 -I. -I/usr/
src/HEAD/pkgsrc/lang/python24/work/Python-2.4.4/./Include -I/usr/pkg/include -I/usr/src/HEAD/pkgsrc/lang/python24/work/
Python-2.4.4/Include -I/usr/src/HEAD/pkgsrc/lang/python24/work/Python-2.4.4 -c /usr/src/HEAD/pkgsrc/lang/python24/work/
Python-2.4.4/Modules/structmodule.c -o build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o
sem_trywait: Invalid argument
sem_wait: Invalid argument
sem_post: Invalid argument
creating build/lib.qnx-6.3.2-x86pc-2.4
ld -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -O2 -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/
include -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o -L/usr/
pkg/lib -o build/lib.qnx-6.3.2-x86pc-2.4/struct.so -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
sem_trywait: Invalid argument
sem_wait: Invalid argument
sem_post: Invalid argument
/usr/qnx632/host/qnx6/x86/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 08048074
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o: In function `get_pylong':
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0xc): undefined reference to `PyInt_Type'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x16): undefined reference to `PyInt_Type'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x21): undefined reference to `PyType_IsSubtype'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x38): undefined reference to `PyLong_FromLong'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x4d): undefined reference to `PyLong_Type'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x57): undefined reference to `PyLong_Type'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x62): undefined reference to `PyType_IsSubtype'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0xc3): undefined reference to `PyLong_Type'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0xcd): undefined reference to `PyLong_Type'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0xd8): undefined reference to `PyType_IsSubtype'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x11c): undefined reference to `PyErr_SetString'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o: In function `get_long':
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x13c): undefined reference to `PyInt_AsLong'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x14d): undefined reference to `PyErr_Occurred'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x15a): undefined reference to `PyExc_TypeError'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x15f): undefined reference to `PyErr_ExceptionMatches'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x179): undefined reference to `PyErr_SetString'
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o: In function `get_ulong':
build/temp.qnx-6.3.2-x86pc-2.4/structmodule.o(.text+0x1a9): undefined reference to `PyLong_Type'
|
|
|