[Python-3000] PyInt_ to PyLong_ rename

Christian Heimes lists at cheimes.de
Sun Dec 2 23:47:14 CET 2007


Bill Janssen wrote:
> So, now I can't build the 3K branch.
> 
> This is on OS X 10.5.0, gcc 4.0.1, "make clean; make":
> 
> /local/python/3k/src 75 % make
> gcc   -o python.exe \
> 			Modules/python.o \
> 			libpython3.0.a -ldl      
> Undefined symbols:
>   "_PyInt_FromLong", referenced from:
>       _ast2obj_int in libpython3.0.a(Python-ast.o)
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> make: *** [python.exe] Error 1
> /local/python/3k/src 76 % svn update
> At revision 59281.
> /local/python/3k/src 77 %

I've fixed the bug. The asdl_c.py script is auto-generating some C code
for the parser. I didn't run into the problem because my file was up to
date.

Thanks!

Christian


More information about the Python-3000 mailing list