Python compile issue?

Steve Mynott steve at tightrope.demon.co.uk
Mon Jan 26 11:04:59 PST 2004


I am having problems building Python 2.3.3 from the source tarball on 
-CURRENT whereas Python built without problems a few months ago.

Most of it compiles OK with the exception of certain "extensions" (eg. 
struct, regex etc)

Typically I get

[..snip..]
building 'struct' extension
ld build/temp.dragonfly-1.0-CURRENT-i386-2.3/structmodule.o 
-L/usr/local/lib -o build/lib.dragonfly-1.0-CURRENT-i386-2.3/struct.so
/usr/libexec/gcc2/elf/ld: warning: cannot find entry symbol _start; 
defaulting to 08048074
build/temp.dragonfly-1.0-CURRENT-i386-2.3/structmodule.o: In function 
`get_pylong':
/usr/home/steve/othersrc/python/Python-2.3.3/Modules/structmodule.c:90: 
undefined reference to `PyInt_Type'

<wild guess>
Maybe this is a linker problem related to the recent GCC changes?
</wild guess>
-- Steve






More information about the Bugs mailing list