Re: Problems creating extended version of Python

Samuel Tardieu (tardieu@inf.enst.fr)
Mon, 15 Aug 1994 19:01:27 +0200

Guido Sohne wrote:

I have been trying to create the tkinter version of Python without any
success. I have succesfully built a standard and stdwin version of Python
with few problems. These are the symptoms I'm coming across.

After gcc -tradional compiles the source for tkinter version of python,
I get a series of errors saying that libx.a (x is Python, Parser etc) is
out of date and re-run ranlib.

A sample error of the type above is:-
ld: /u/wgsohne/lib/pythoon/lib/libParser.a: warning: table of contents for
archive is out of date; rerun ranlib(1)

Then I get a series of errors referring to undefined symbols eg __main
_newparser,_delparser among others.

I get the feeling I am missing something elementary but have no idea what.
I following the instructions to the letter but it still remains unclear
what the problem here is.

Eh boy, I've got an idea: run ranlib :)
Seriously, do a: ranlib /u/wgsohne/lib/pythoon/lib/libParser.a
(or whatever library ld complains on)
Then type 'make' again.

Sam

--
"La cervelle des petits enfants, ca doit avoir comme un petit gout de noisette"
                                                       Charles Baudelaire