[Python-Dev] "conflicting types" in python CVS build

Alex Coventry alex_c@MIT.EDU
Sat, 26 Oct 2002 16:34:39 -0400 (EDT)


hi.  i built a fresh checkout of python from CVS, and got this error:

Parser/pgenmain.c:169: conflicting types for PyOS_Readline'
Include/pythonrun.h:116: previous declaration of PyOS_Readline'
make: *** [Parser/pgenmain.o] Error 1

cvs annoate says the latest prototype for PyOS_Readline is in
pythonrun.h.  Commenting that line out results in a complete build that
passes the test suite.

hope this helps.
alex.