[Python-3000] PyInt_ to PyLong_ rename

Bill Janssen janssen at parc.com
Sun Dec 2 23:34:23 CET 2007


> A few hours ago I've renamed the remaining occurrences of PyInt_ to
> PyLong_. Most PyInt_ were aliases for PyLong_ functions. I've also
> removed the inclusion of intobject.h from Python.h but kept the file
> with the aliases for porters from 2.x to 3.0. The remaining functions
> are now in longobject.h.

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 %

Bill


More information about the Python-3000 mailing list