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

Martin v. Loewis martin@v.loewis.de
27 Oct 2002 10:23:29 +0100


Alex Coventry <alex_c@MIT.EDU> writes:

> 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.

Not really. Can you please copy line 169 of pgenmain.c? I can't see a
problem.

Regards,
Martin