[Python-checkins] python/dist/src/Include Python.h,2.56,2.57 abstract.h,2.44,2.45 boolobject.h,1.3,1.4 bufferobject.h,2.6,2.7 cellobject.h,2.2,2.3 ceval.h,2.44,2.45 classobject.h,2.40,2.41 cobject.h,2.10,2.11 codecs.h,2.3,2.4 compile.h,2.37,2.38 complexobject.h,2.9,2.10 descrobject.h,2.9,2.10 dictobject.h,2.24,2.25 enumobject.h,2.1,2.2 eval.h,2.15,2.16 fileobject.h,2.30,2.31 floatobject.h,2.20,2.21 frameobject.h,2.35,2.36 funcobject.h,2.24,2.25 intobject.h,2.25,2.26 intrcheck.h,2.9,2.10 iterobject.h,1.4,1.5 listobject.h,2.23,2.24 longintrepr.h,2.13,2.14 longobject.h,2.25,2.26 marshal.h,2.11,2.12 methodobject.h,2.24,2.25 modsupport.h,2.38,2.39 moduleobject.h,2.19,2.20 node.h,2.19,2.20 objimpl.h,2.56,2.57 parsetok.h,2.18,2.19 pgenheaders.h,2.28,2.29 pyerrors.h,2.55,2.56 pygetopt.h,2.1,2.2 pymem.h,2.15,2.16 pystate.h,2.18,2.19 pythonrun.h,2.52,2.53 pythread.h,2.19,2.20 rangeobject.h,2.18,2.19 sliceobject.h,2.6,2.7 stringobject.h,2.34,2.35 structmember.h,2.19,2.20 structseq.h,1.1,1.2 symtable.h,2.9,2.10 sysmodule.h,2.24,2.25 token.h,2.19,2.20 traceback.h,2.19,2.20 tupleobject.h,2.27,2.28 unicodeobject.h,2.39,2.40 weakrefobject.h,1.2,1.3

Jack Jansen Jack.Jansen@cwi.nl
Mon, 12 Aug 2002 14:28:08 +0200


Mark,
since this checkin my builds fail on MacOSX. pgen doesn't build, with 
oodles of errors of the following form:

/usr/bin/ld: multiple definitions of symbol _PyOS_InputHook
Parser/acceler.o definition of _PyOS_InputHook in section 
(__DATA,__common)
Parser/grammar1.o definition of _PyOS_InputHook in section 
(__DATA,__common)
/usr/bin/ld: multiple definitions of symbol _PyOS_ReadlineFunctionPointer
Parser/acceler.o definition of _PyOS_ReadlineFunctionPointer in section 
(__DATA,__common)
Parser/grammar1.o definition of _PyOS_ReadlineFunctionPointer in section 
(__DATA,__common)

If I look at the definitions of PyOS_InputHook and 
PyOS_ReadlineFunctionPointer you're declaring them as PyAPI_FUNC, but 
they're really data items, no? Otherwise it could be that when building 
pgen it doesn't have the right set of defines to trigger the correct 
definition of that macro...

On Monday, August 12, 2002, at 09:22 , mhammond@users.sourceforge.net 
wrote:

> Update of /cvsroot/python/python/dist/src/Include
> In directory usw-pr-cvs1:/tmp/cvs-serv3457
>
> Modified Files:
> 	Python.h abstract.h boolobject.h bufferobject.h cellobject.h
> 	ceval.h classobject.h cobject.h codecs.h compile.h
> 	complexobject.h descrobject.h dictobject.h enumobject.h eval.h
> 	fileobject.h floatobject.h frameobject.h funcobject.h
> 	intobject.h intrcheck.h iterobject.h listobject.h
> 	longintrepr.h longobject.h marshal.h methodobject.h
> 	modsupport.h moduleobject.h node.h objimpl.h parsetok.h
> 	pgenheaders.h pyerrors.h pygetopt.h pymem.h pystate.h
> 	pythonrun.h pythread.h rangeobject.h sliceobject.h
> 	stringobject.h structmember.h structseq.h symtable.h
> 	sysmodule.h token.h traceback.h tupleobject.h unicodeobject.h
> 	weakrefobject.h
> Log Message:
> Excise DL_EXPORT from Include.
>
> Thanks to Skip Montanaro and Kalle Svensson for the patches.
--
- Jack Jansen        <Jack.Jansen@oratrix.com>        
http://www.cwi.nl/~jack -
- If I can't dance I don't want to be part of your revolution -- Emma 
Goldman -