On Sep 29, 2009, at 4:37 PM, Phil Christensen wrote:
On Sep 29, 2009, at 3:08 PM, Steve Steiner (listsin) wrote:
Hmm, sorry to question, but are you sure?
You're right, different error. Sorry for not replying earlier -- just found this when Googling for 10.6 build instructions as I'm having a devil of a time building from SVN on 10.6 with Python 2.6.1.
No worries, I'm glad you bumped this thread. I'm still seeing the traceback on startup (exceptions.AttributeError: 'module' object has no attribute 'ssl_test'), although they haven't affected my use of Twisted. Just annoying to see, that's all.
What kind of build problems are you having? I just updated/installed SVN HEAD without much of a problem using `python setup.py develop`.
Mine goes much more horribly wrong than the error you listed... It looks like, now that I look more closely, it's trying to build against the 10.4SDK which I think I may not have installed. Maybe that's all it is! Thanks, S thon setup.py develop running develop running egg_info writing requirements to Twisted.egg-info/requires.txt writing Twisted.egg-info/PKG-INFO writing top-level names to Twisted.egg-info/top_level.txt writing dependency_links to Twisted.egg-info/dependency_links.txt unrecognized .svn/entries format in reading manifest file 'Twisted.egg-info/SOURCES.txt' writing manifest file 'Twisted.egg-info/SOURCES.txt' running build_ext Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/ Frameworks/Python.framework/Versions/2.6/include/python2.6 -c conftest.c -o conftest.o conftest.c:1:21: error: rpc/rpc.h: No such file or directory conftest.c:1:21: error: rpc/rpc.h: No such file or directory lipo: can't figure out the architecture type of: /var/folders/ 71/716EyABBHM8EA6F853Q-vU+++TI/-Tmp-//cc7bbdzM.out Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/ Frameworks/Python.framework/Versions/2.6/include/python2.6 -c conftest.c -o conftest.o conftest.c:1:23: error: sys/epoll.h: No such file or directory conftest.c:1:23: error: sys/epoll.h: No such file or directory lipo: can't figure out the architecture type of: /var/folders/ 71/716EyABBHM8EA6F853Q-vU+++TI/-Tmp-//cc954vfC.out building 'twisted.protocols._c_urlarg' extension Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/ MacOSX10.4u.sdk Please check your Xcode installation gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -I/Library/ Frameworks/Python.framework/Versions/2.6/include/python2.6 -c twisted/ protocols/_c_urlarg.c -o build/temp.macosx-10.3-i386-2.6/twisted/ protocols/_c_urlarg.o In file included from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:19:20: error: limits.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:22:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:26:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:33:19: error: stdio.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:35:5: error: #error "Python.h requires that stdio.h define NULL." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:38:20: error: string.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:40:19: error: errno.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:42:20: error: stdlib.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:44:20: error: unistd.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:56:20: error: assert.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:58, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:7:20: error: stdint.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:58, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_uintptr_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_intptr_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:235:76: error: math.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:242:22: error: sys/time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:243:18: error: time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:261:24: error: sys/select.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:300:22: error: sys/stat.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:479:21: error: termios.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: ‘struct winsize’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: its scope is only this definition or declaration, which is probably not what you want /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: ‘struct termios’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:481: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘forkpty’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:78, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pymem.h:52: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pymem.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:80, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:107: error: expected specifier-qualifier-list before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:111: error: expected specifier-qualifier-list before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:137: error: expected declaration specifiers or ‘...’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:137: error: ‘Py_ssize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:157: error: ‘readbufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:158: error: ‘writebufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:159: error: ‘segcountproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:160: error: ‘charbufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:167: error: field ‘len’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:168: error: field ‘itemsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:274: error: expected specifier-qualifier-list before ‘lenfunc’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:288: error: expected specifier-qualifier-list before ‘lenfunc’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:305: error: expected declaration specifiers or ‘...’ before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:319: warning: ‘struct _typeobject’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:320: warning: ‘struct _typeobject’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:323: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:323: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:325: error: field ‘tp_basicsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:325: error: field ‘tp_itemsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:370: error: field ‘tp_weaklistoffset’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:385: error: field ‘tp_dictoffset’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:456: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:81, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:97: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:228: error: ‘PyGC_Collect’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:249: error: field ‘gc_refs’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:288: warning: parameter names (without types) in function declaration In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:85, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:4:20: error: stdarg.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:57:19: error: ctype.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:120:21: error: wchar.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:85, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:413: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:414: error: field ‘length’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:489: error: ‘PyUnicodeUCS2_GetSize’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:553: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:572: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:590: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1234: error: ‘PyUnicodeUCS2_Tailmatch’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1246: error: ‘PyUnicodeUCS2_Find’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1255: error: ‘PyUnicodeUCS2_Count’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:86, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:24: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:39: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:42: error: ‘PyInt_AsSsize_t’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:88, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:21: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:26: error: ‘PyLong_AsSsize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_PyLong_NumBits’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:89: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:112: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:89, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ floatobject.h:15: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:91, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ complexobject.h:41: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:94, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:36: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:36: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:64: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:68: error: ‘PyString_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:98, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:23: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:23: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:26: error: field ‘ob_alloc’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:42: error: ‘PyByteArray_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:99, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:25: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:25: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:41: error: ‘PyTuple_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:100, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:23: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:23: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:38: error: field ‘allocated’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:48: error: ‘PyList_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:101, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:55: error: field ‘me_hash’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:71: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:72: error: field ‘ma_fill’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:73: error: field ‘ma_used’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:79: error: field ‘ma_mask’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:109: error: ‘PyDict_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:103, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:36: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:38: error: field ‘fill’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:39: error: field ‘used’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:45: error: field ‘mask’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:85: error: ‘PySet_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:104, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ methodobject.h:82: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:106, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ funcobject.h:22: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:107, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:13: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:24: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:31: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:108, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:11: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:12: error: expected specifier-qualifier-list before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:42: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:63: error: expected declaration specifiers or ‘...’ before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_UniversalNewlineFread’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:109, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ cobject.h:53: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:110, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ traceback.h:13: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:111, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ sliceobject.h:23: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:112, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ cellobject.h:10: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:114, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ genobject.h:13: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:115, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:46: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:50: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:55: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:60: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:65: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:117, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ weakrefobject.h:16: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ weakrefobject.h:65: error: ‘_PyWeakref_GetWeakrefCount’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:120, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:10: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:17: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:31: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:37: error: field ‘start’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:38: error: field ‘end’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:44: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:52: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:322: error: format string argument not a string type /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:323: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:323: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:324: error: format string argument not a string type In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:124, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyarena.h:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:125, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:23: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:35: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:37: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:38: error: expected declaration specifiers or ‘...’ before ‘va_list’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:126, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:35: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:36: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:38: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:39: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:40: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:45: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:55: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:61: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:78: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:146: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:148: error: expected ‘)’ before ‘*’ token In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:128, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ sysmodule.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:130, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ import.h:31: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ import.h:31: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:132, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:421: error: ‘PyObject_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:433: error: ‘PyObject_Length’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:436: error: ‘_PyObject_LengthHint’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:859: error: ‘PyNumber_AsSsize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1054: error: ‘PySequence_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1063: error: ‘PySequence_Length’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1185: error: ‘PySequence_Count’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1204: error: ‘_PySequence_IterSearch’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1229: error: ‘PySequence_Index’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1268: error: ‘PyMapping_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1278: error: ‘PyMapping_Length’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/compile.h:5, from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:134, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ code.h:11: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:137, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pystrtod.h:11: error: expected declaration specifiers or ‘...’ before ‘size_t’ twisted/protocols/_c_urlarg.c: In function ‘unquote’: twisted/protocols/_c_urlarg.c:44: error: ‘NULL’ undeclared (first use in this function) twisted/protocols/_c_urlarg.c:44: error: (Each undeclared identifier is reported only once twisted/protocols/_c_urlarg.c:44: error: for each function it appears in.) twisted/protocols/_c_urlarg.c:48: warning: return from incompatible pointer type twisted/protocols/_c_urlarg.c:52: warning: comparison of distinct pointer types lacks a cast twisted/protocols/_c_urlarg.c:53: warning: return from incompatible pointer type twisted/protocols/_c_urlarg.c:65: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:75: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:83: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:85: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:93: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:96: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:97: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:103: error: ‘PyObject’ has no member named ‘ob_refcnt’ twisted/protocols/_c_urlarg.c:103: error: lvalue required as decrement operand twisted/protocols/_c_urlarg.c:103: error: lvalue required as decrement operand twisted/protocols/_c_urlarg.c:103: error: ‘PyObject’ has no member named ‘ob_type’ twisted/protocols/_c_urlarg.c:103: error: request for member ‘tp_dealloc’ in something not a structure or union twisted/protocols/_c_urlarg.c:103: error: called object ‘*(char **) &<erroneous-expression>’ is not a function twisted/protocols/_c_urlarg.c: At top level: twisted/protocols/_c_urlarg.c:109: error: ‘NULL’ undeclared here (not in a function) twisted/protocols/_c_urlarg.c:109: error: initializer element is not constant twisted/protocols/_c_urlarg.c:109: error: (near initialization for ‘_c_urlarg_methods[1].ml_name’) twisted/protocols/_c_urlarg.c:109: error: initializer element is not constant twisted/protocols/_c_urlarg.c:109: error: (near initialization for ‘_c_urlarg_methods[1].ml_meth’) twisted/protocols/_c_urlarg.c: In function ‘init_c_urlarg’: twisted/protocols/_c_urlarg.c:123: warning: passing argument 3 of ‘PyErr_NewException’ from incompatible pointer type In file included from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:19:20: error: limits.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:22:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:26:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:33:19: error: stdio.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:35:5: error: #error "Python.h requires that stdio.h define NULL." /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:38:20: error: string.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:40:19: error: errno.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:42:20: error: stdlib.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:44:20: error: unistd.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ Python.h:56:20: error: assert.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:58, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:7:20: error: stdint.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:58, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:89: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_uintptr_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_intptr_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:235:76: error: math.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:242:22: error: sys/time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:243:18: error: time.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:261:24: error: sys/select.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:300:22: error: sys/stat.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:479:21: error: termios.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: ‘struct winsize’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: its scope is only this definition or declaration, which is probably not what you want /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:480: warning: ‘struct termios’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyport.h:481: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘forkpty’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:78, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pymem.h:52: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pymem.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:80, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:107: error: expected specifier-qualifier-list before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:111: error: expected specifier-qualifier-list before ‘Py_ssize_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:137: error: expected declaration specifiers or ‘...’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:137: error: ‘Py_ssize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:157: error: ‘readbufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:158: error: ‘writebufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:159: error: ‘segcountproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:160: error: ‘charbufferproc’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:167: error: field ‘len’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:168: error: field ‘itemsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:274: error: expected specifier-qualifier-list before ‘lenfunc’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:288: error: expected specifier-qualifier-list before ‘lenfunc’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:305: error: expected declaration specifiers or ‘...’ before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:319: warning: ‘struct _typeobject’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:320: warning: ‘struct _typeobject’ declared inside parameter list /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:323: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:323: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:325: error: field ‘tp_basicsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:325: error: field ‘tp_itemsize’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:370: error: field ‘tp_weaklistoffset’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:385: error: field ‘tp_dictoffset’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ object.h:456: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:81, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:97: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:228: error: ‘PyGC_Collect’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:249: error: field ‘gc_refs’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ objimpl.h:288: warning: parameter names (without types) in function declaration In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:85, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:4:20: error: stdarg.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:57:19: error: ctype.h: No such file or directory /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:120:21: error: wchar.h: No such file or directory In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:85, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:413: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:414: error: field ‘length’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:489: error: ‘PyUnicodeUCS2_GetSize’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:553: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:572: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:590: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1234: error: ‘PyUnicodeUCS2_Tailmatch’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1246: error: ‘PyUnicodeUCS2_Find’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ unicodeobject.h:1255: error: ‘PyUnicodeUCS2_Count’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:86, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:24: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:39: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ intobject.h:42: error: ‘PyInt_AsSsize_t’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:88, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:21: warning: parameter names (without types) in function declaration /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:26: error: ‘PyLong_AsSsize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_PyLong_NumBits’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:89: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ longobject.h:112: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:89, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ floatobject.h:15: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:91, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ complexobject.h:41: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:94, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:36: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:36: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:64: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ stringobject.h:68: error: ‘PyString_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:98, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:23: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:23: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:26: error: field ‘ob_alloc’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ bytearrayobject.h:42: error: ‘PyByteArray_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:99, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:25: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:25: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ tupleobject.h:41: error: ‘PyTuple_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:100, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:23: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:23: error: field ‘ob_size’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:38: error: field ‘allocated’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ listobject.h:48: error: ‘PyList_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:101, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:55: error: field ‘me_hash’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:71: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:72: error: field ‘ma_fill’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:73: error: field ‘ma_used’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:79: error: field ‘ma_mask’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ dictobject.h:109: error: ‘PyDict_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:103, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:36: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:38: error: field ‘fill’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:39: error: field ‘used’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:45: error: field ‘mask’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ setobject.h:85: error: ‘PySet_Size’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:104, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ methodobject.h:82: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:106, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ funcobject.h:22: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:107, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:13: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:24: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ classobject.h:31: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:108, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:11: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:12: error: expected specifier-qualifier-list before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:42: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:63: error: expected declaration specifiers or ‘...’ before ‘FILE’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ fileobject.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Py_UniversalNewlineFread’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:109, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ cobject.h:53: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:110, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ traceback.h:13: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:111, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ sliceobject.h:23: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:112, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ cellobject.h:10: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:114, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ genobject.h:13: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:115, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:46: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:50: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:55: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:60: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ descrobject.h:65: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:117, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ weakrefobject.h:16: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ weakrefobject.h:65: error: ‘_PyWeakref_GetWeakrefCount’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:120, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:10: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:17: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:31: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:37: error: field ‘start’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:38: error: field ‘end’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:44: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:52: error: field ‘ob_refcnt’ declared as a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:321: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:322: error: format string argument not a string type /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:323: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:323: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyerrors.h:324: error: format string argument not a string type In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:124, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pyarena.h:50: error: expected declaration specifiers or ‘...’ before ‘size_t’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:125, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:23: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:35: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:37: error: expected declaration specifiers or ‘...’ before ‘va_list’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ modsupport.h:38: error: expected declaration specifiers or ‘...’ before ‘va_list’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:126, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:35: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:36: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:38: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:39: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:40: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:45: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:55: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:61: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:78: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:146: error: expected ‘)’ before ‘*’ token /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pythonrun.h:148: error: expected ‘)’ before ‘*’ token In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:128, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ sysmodule.h:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:130, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ import.h:31: error: expected declaration specifiers or ‘...’ before ‘size_t’ /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ import.h:31: error: expected declaration specifiers or ‘...’ before ‘FILE’ In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:132, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:421: error: ‘PyObject_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:433: error: ‘PyObject_Length’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:436: error: ‘_PyObject_LengthHint’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:859: error: ‘PyNumber_AsSsize_t’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1054: error: ‘PySequence_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1063: error: ‘PySequence_Length’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1185: error: ‘PySequence_Count’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1204: error: ‘_PySequence_IterSearch’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1229: error: ‘PySequence_Index’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1268: error: ‘PyMapping_Size’ declared as function returning a function /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ abstract.h:1278: error: ‘PyMapping_Length’ declared as function returning a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/compile.h:5, from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:134, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ code.h:11: error: field ‘ob_refcnt’ declared as a function In file included from /Library/Frameworks/Python.framework/Versions/ 2.6/include/python2.6/Python.h:137, from twisted/protocols/_c_urlarg.c:12: /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/ pystrtod.h:11: error: expected declaration specifiers or ‘...’ before ‘size_t’ twisted/protocols/_c_urlarg.c: In function ‘unquote’: twisted/protocols/_c_urlarg.c:44: error: ‘NULL’ undeclared (first use in this function) twisted/protocols/_c_urlarg.c:44: error: (Each undeclared identifier is reported only once twisted/protocols/_c_urlarg.c:44: error: for each function it appears in.) twisted/protocols/_c_urlarg.c:48: warning: return from incompatible pointer type twisted/protocols/_c_urlarg.c:52: warning: comparison of distinct pointer types lacks a cast twisted/protocols/_c_urlarg.c:53: warning: return from incompatible pointer type twisted/protocols/_c_urlarg.c:65: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:75: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:83: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:85: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:93: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:96: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:97: warning: passing argument 3 of ‘PycStringIO->cwrite’ makes pointer from integer without a cast twisted/protocols/_c_urlarg.c:103: error: ‘PyObject’ has no member named ‘ob_refcnt’ twisted/protocols/_c_urlarg.c:103: error: lvalue required as decrement operand twisted/protocols/_c_urlarg.c:103: error: lvalue required as decrement operand twisted/protocols/_c_urlarg.c:103: error: ‘PyObject’ has no member named ‘ob_type’ twisted/protocols/_c_urlarg.c:103: error: request for member ‘tp_dealloc’ in something not a structure or union twisted/protocols/_c_urlarg.c:103: error: called object ‘*(char **) &<erroneous-expression>’ is not a function twisted/protocols/_c_urlarg.c: At top level: twisted/protocols/_c_urlarg.c:109: error: ‘NULL’ undeclared here (not in a function) twisted/protocols/_c_urlarg.c:109: error: initializer element is not constant twisted/protocols/_c_urlarg.c:109: error: (near initialization for ‘_c_urlarg_methods[1].ml_name’) twisted/protocols/_c_urlarg.c:109: error: initializer element is not constant twisted/protocols/_c_urlarg.c:109: error: (near initialization for ‘_c_urlarg_methods[1].ml_meth’) twisted/protocols/_c_urlarg.c: In function ‘init_c_urlarg’: twisted/protocols/_c_urlarg.c:123: warning: passing argument 3 of ‘PyErr_NewException’ from incompatible pointer type lipo: can't figure out the architecture type of: /var/folders/ 71/716EyABBHM8EA6F853Q-vU+++TI/-Tmp-//ccVGxOtq.out error: command 'gcc' failed with exit status 1