Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#27 4.2.3 fails to build under OS X 10.6 and Python 3.1

4.3
closed
nobody
None
5
2015-01-13
2012-02-01
fberger
No

From a vanilla download of cx_Freeze-4.2.3.tar.gz, running

$ python3.1 setup.py build

under OS X 10.6.6 Snow Leopard yields:

/usr/bin/gcc-4.2 build/temp.macosx-10.4-x86_64-3.1/source/bases/Console.o -o build/lib.macosx-10.4-x86_64-3.1/cx_Freeze/bases/Console -s
ld: warning: option -s is obsolete and being ignored
Undefined symbols:
"_Py_SetPythonHome", referenced from:
_main in Console.o
"_PySys_GetObject", referenced from:
_main in Console.o
"_PyEval_GetBuiltins", referenced from:
_main in Console.o
"_PyMem_Malloc", referenced from:
_main in Console.o
"_Py_Initialize", referenced from:
_main in Console.o
"_PyObject_CallMethod", referenced from:
_main in Console.o
"_Py_Finalize", referenced from:
_main in Console.o
"_PyImport_FrozenModules", referenced from:
_main in Console.o
"_Py_GetProgramFullPath", referenced from:
_main in Console.o
"_PyErr_SetFromErrnoWithFilename", referenced from:
_main in Console.o
"_Py_FileSystemDefaultEncoding", referenced from:
_main in Console.o
"_PySys_SetArgv", referenced from:
_main in Console.o
"_PyDict_SetItemString", referenced from:
_main in Console.o
"_PyList_Insert", referenced from:
_main in Console.o
"_PyErr_Clear", referenced from:
_main in Console.o
"_Py_FrozenFlag", referenced from:
_main in Console.o
"_PyUnicodeUCS2_Decode", referenced from:
_main in Console.o
"_Py_FatalError", referenced from:
_main in Console.o
"_PyExc_OSError", referenced from:
_main in Console.o
"_Py_IgnoreEnvironmentFlag", referenced from:
_main in Console.o
"_Py_SetProgramName", referenced from:
_main in Console.o
"_PyImport_ImportModule", referenced from:
_main in Console.o
"_PyErr_Print", referenced from:
_main in Console.o
"_PyEval_EvalCode", referenced from:
_main in Console.o
"_PyDict_New", referenced from:
_main in Console.o
"_Py_NoSiteFlag", referenced from:
_main in Console.o
"_PyUnicodeUCS2_AsEncodedString", referenced from:
_main in Console.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
error: command '/usr/bin/gcc-4.2' failed with exit status 1

Using vanilla CPython 3.1.4, installed using Homebrew.

Any hints are appreciated. I also gladly provide more information.

Thanks for looking into this.

Discussion

  • MrAGi
    MrAGi
    2012-02-28

    I get a similar error with Python 3.2.2. and OS X 10.7.3:

    adding base module named _abcoll
    adding base module named _compat_pickle
    adding base module named _dummy_thread
    adding base module named _strptime
    adding base module named _weakrefset
    adding base module named abc
    adding base module named argparse
    adding base module named base64
    adding base module named bisect
    adding base module named calendar
    adding base module named codecs
    adding base module named collections
    adding base module named copy
    adding base module named copyreg
    adding base module named datetime
    adding base module named encodings
    adding base module named encodings.aliases
    adding base module named encodings.ascii
    adding base module named encodings.base64_codec
    adding base module named encodings.big5
    adding base module named encodings.big5hkscs
    adding base module named encodings.bz2_codec
    adding base module named encodings.charmap
    adding base module named encodings.cp037
    adding base module named encodings.cp1006
    adding base module named encodings.cp1026
    adding base module named encodings.cp1140
    adding base module named encodings.cp1250
    adding base module named encodings.cp1251
    adding base module named encodings.cp1252
    adding base module named encodings.cp1253
    adding base module named encodings.cp1254
    adding base module named encodings.cp1255
    adding base module named encodings.cp1256
    adding base module named encodings.cp1257
    adding base module named encodings.cp1258
    adding base module named encodings.cp424
    adding base module named encodings.cp437
    adding base module named encodings.cp500
    adding base module named encodings.cp720
    adding base module named encodings.cp737
    adding base module named encodings.cp775
    adding base module named encodings.cp850
    adding base module named encodings.cp852
    adding base module named encodings.cp855
    adding base module named encodings.cp856
    adding base module named encodings.cp857
    adding base module named encodings.cp858
    adding base module named encodings.cp860
    adding base module named encodings.cp861
    adding base module named encodings.cp862
    adding base module named encodings.cp863
    adding base module named encodings.cp864
    adding base module named encodings.cp865
    adding base module named encodings.cp866
    adding base module named encodings.cp869
    adding base module named encodings.cp874
    adding base module named encodings.cp875
    adding base module named encodings.cp932
    adding base module named encodings.cp949
    adding base module named encodings.cp950
    adding base module named encodings.euc_jis_2004
    adding base module named encodings.euc_jisx0213
    adding base module named encodings.euc_jp
    adding base module named encodings.euc_kr
    adding base module named encodings.gb18030
    adding base module named encodings.gb2312
    adding base module named encodings.gbk
    adding base module named encodings.hex_codec
    adding base module named encodings.hp_roman8
    adding base module named encodings.hz
    adding base module named encodings.idna
    adding base module named encodings.iso2022_jp
    adding base module named encodings.iso2022_jp_1
    adding base module named encodings.iso2022_jp_2
    adding base module named encodings.iso2022_jp_2004
    adding base module named encodings.iso2022_jp_3
    adding base module named encodings.iso2022_jp_ext
    adding base module named encodings.iso2022_kr
    adding base module named encodings.iso8859_1
    adding base module named encodings.iso8859_10
    adding base module named encodings.iso8859_11
    adding base module named encodings.iso8859_13
    adding base module named encodings.iso8859_14
    adding base module named encodings.iso8859_15
    adding base module named encodings.iso8859_16
    adding base module named encodings.iso8859_2
    adding base module named encodings.iso8859_3
    adding base module named encodings.iso8859_4
    adding base module named encodings.iso8859_5
    adding base module named encodings.iso8859_6
    adding base module named encodings.iso8859_7
    adding base module named encodings.iso8859_8
    adding base module named encodings.iso8859_9
    adding base module named encodings.johab
    adding base module named encodings.koi8_r
    adding base module named encodings.koi8_u
    adding base module named encodings.latin_1
    adding base module named encodings.mac_arabic
    adding base module named encodings.mac_centeuro
    adding base module named encodings.mac_croatian
    adding base module named encodings.mac_cyrillic
    adding base module named encodings.mac_farsi
    adding base module named encodings.mac_greek
    adding base module named encodings.mac_iceland
    adding base module named encodings.mac_latin2
    adding base module named encodings.mac_roman
    adding base module named encodings.mac_romanian
    adding base module named encodings.mac_turkish
    adding base module named encodings.mbcs
    adding base module named encodings.palmos
    adding base module named encodings.ptcp154
    adding base module named encodings.punycode
    adding base module named encodings.quopri_codec
    adding base module named encodings.raw_unicode_escape
    adding base module named encodings.rot_13
    adding base module named encodings.shift_jis
    adding base module named encodings.shift_jis_2004
    adding base module named encodings.shift_jisx0213
    adding base module named encodings.tis_620
    adding base module named encodings.undefined
    adding base module named encodings.unicode_escape
    adding base module named encodings.unicode_internal
    adding base module named encodings.utf_16
    adding base module named encodings.utf_16_be
    adding base module named encodings.utf_16_le
    adding base module named encodings.utf_32
    adding base module named encodings.utf_32_be
    adding base module named encodings.utf_32_le
    adding base module named encodings.utf_7
    adding base module named encodings.utf_8
    adding base module named encodings.utf_8_sig
    adding base module named encodings.uu_codec
    adding base module named encodings.zlib_codec
    adding base module named functools
    adding base module named genericpath
    adding base module named gettext
    adding base module named heapq
    adding base module named io
    adding base module named keyword
    adding base module named linecache
    adding base module named locale
    adding base module named optparse
    adding base module named os
    adding base module named pickle
    adding base module named posixpath
    adding base module named pprint
    adding base module named quopri
    adding base module named reprlib
    adding base module named stat
    adding base module named string
    adding base module named stringprep
    adding base module named struct
    adding base module named textwrap
    adding base module named token
    adding base module named tokenize
    adding base module named traceback
    adding base module named types
    adding base module named warnings
    adding base module named weakref
    running build
    running build_py
    running build_ext
    building 'cx_Freeze.util' extension
    Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.6.sdk
    Please check your Xcode installation
    gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -O3 -isysroot /Developer/SDKs/MacOSX10.6.sdk -arch i386 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -I/Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m -c source/util.c -o build/temp.macosx-10.6-intel-3.2/source/util.o
    In file included from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:11:20: error: limits.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:14:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h."
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:18:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type."
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:25:19: error: stdio.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:27:5: error: #error "Python.h requires that stdio.h define NULL."
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:30:20: error: string.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:32:19: error: errno.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:34:20: error: stdlib.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:36:20: error: unistd.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:48:20: error: assert.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:50,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:9:22: error: inttypes.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:13:20: error: stdint.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:50,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_uintptr_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_intptr_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:178: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_ssize_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_hash_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_uhash_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:324:76: error: math.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:331:22: error: sys/time.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:332:18: error: time.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:349:24: error: sys/select.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:382:22: error: sys/stat.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:633:21: error: termios.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:634: warning: ‘struct winsize’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:634: warning: its scope is only this definition or declaration, which is probably not what you want
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:634: warning: ‘struct termios’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:635: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘forkpty’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:660:19: error: ctype.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:661:20: error: wctype.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:65,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pymem.h:52: warning: parameter names (without types) in function declaration
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pymem.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:67,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:107: error: expected specifier-qualifier-list before ‘Py_ssize_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:113: error: expected specifier-qualifier-list before ‘Py_ssize_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:139: error: expected declaration specifiers or ‘...’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:139: error: ‘Py_ssize_t’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:151: error: field ‘len’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:152: error: field ‘itemsize’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:160: error: declaration of ‘smalltable’ as array of functions
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:250: error: expected specifier-qualifier-list before ‘lenfunc’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:264: error: expected specifier-qualifier-list before ‘lenfunc’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:283: error: expected declaration specifiers or ‘...’ before ‘FILE’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:290: error: expected declaration specifiers or ‘...’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:290: error: ‘Py_hash_t’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:297: warning: ‘struct _typeobject’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:298: warning: ‘struct _typeobject’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:306: error: field ‘tp_basicsize’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:306: error: field ‘tp_itemsize’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:325: error: expected specifier-qualifier-list before ‘hashfunc’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:458: error: expected declaration specifiers or ‘...’ before ‘FILE’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:484: error: ‘PyObject_Hash’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:485: error: ‘PyObject_HashNotImplemented’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:515: error: ‘_Py_HashDouble’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:516: error: ‘_Py_HashPointer’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:68,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:97: warning: parameter names (without types) in function declaration
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:232: error: ‘PyGC_Collect’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:251: error: field ‘gc_refs’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:301: warning: parameter names (without types) in function declaration
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:73,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytearrayobject.h:9:20: error: stdarg.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:73,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytearrayobject.h:27: error: field ‘ob_alloc’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytearrayobject.h:44: error: ‘PyByteArray_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:74,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:33: error: field ‘ob_shash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:54: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:58: error: ‘PyBytes_Size’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:106: error: ‘_PyBytes_InsertThousandsGroupingLocale’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:117: error: ‘_PyBytes_InsertThousandsGrouping’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:75,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:117:21: error: wchar.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:75,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:379: error: field ‘length’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:381: error: field ‘hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:469: error: ‘PyUnicodeUCS2_GetSize’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:537: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:574: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:592: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:604: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1416: error: ‘PyUnicodeUCS2_Tailmatch’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1428: error: ‘PyUnicodeUCS2_Find’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1437: error: ‘PyUnicodeUCS2_Count’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1526: error: ‘_PyUnicode_InsertThousandsGroupingLocale’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1539: error: ‘_PyUnicode_InsertThousandsGrouping’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1627: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_UNICODE_strlen’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1641: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1651: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:76,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:20: warning: parameter names (without types) in function declaration
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:25: error: ‘PyLong_AsSsize_t’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘PyLong_AsSize_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘_PyLong_NumBits’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:124: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:147: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:79,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/floatobject.h:93: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:83,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/tupleobject.h:44: error: ‘PyTuple_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:84,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/listobject.h:39: error: field ‘allocated’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/listobject.h:53: error: ‘PyList_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:85,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:53: error: field ‘me_hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:70: error: field ‘ma_fill’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:71: error: field ‘ma_used’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:77: error: field ‘ma_mask’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:124: error: ‘PyDict_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:87,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:26: error: field ‘hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:39: error: field ‘fill’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:40: error: field ‘used’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:46: error: field ‘mask’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:56: error: field ‘hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:88: error: ‘PySet_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:89,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/moduleobject.h:31: error: field ‘m_index’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/moduleobject.h:46: error: field ‘m_size’ declared as a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:92,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileobject.h:18: error: expected declaration specifiers or ‘...’ before ‘FILE’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:101,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/weakrefobject.h:31: error: field ‘hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/weakrefobject.h:68: error: ‘_PyWeakref_GetWeakrefCount’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:106,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:33: error: field ‘start’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:34: error: field ‘end’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:368: error: format string argument not a string type
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:369: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:369: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:370: error: format string argument not a string type
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:110,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyarena.h:51: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:111,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/modsupport.h:23: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/modsupport.h:38: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/modsupport.h:40: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/modsupport.h:41: error: expected declaration specifiers or ‘...’ before ‘va_list’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:112,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:25: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:28: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:40: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:42: error: expected ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:47: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:52: error: expected ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:56: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:67: error: expected ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:86: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:94: error: expected ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:138: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:142: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:170: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:223: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:226: error: expected ‘)’ before ‘’ token
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:114,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:12: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:13: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:14: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:28: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:32: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:118,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:376: error: ‘PyObject_Size’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:387: error: ‘PyObject_Length’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:391: error: ‘_PyObject_LengthHint’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:761: error: ‘PyNumber_AsSsize_t’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:925: error: ‘PySequence_Size’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:933: error: ‘PySequence_Length’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1051: error: ‘PySequence_Count’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1071: error: ‘_PySequence_IterSearch’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1097: error: ‘PySequence_Index’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1136: error: ‘PyMapping_Size’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1146: error: ‘PyMapping_Length’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:128,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:18: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:25: warning: ‘struct stat’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:38: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
    ’ token
    source/util.c: In function ‘ExtSetOptimizeFlag’:
    source/util.c:410: error: ‘NULL’ undeclared (first use in this function)
    source/util.c:410: error: (Each undeclared identifier is reported only once
    source/util.c:410: error: for each function it appears in.)
    source/util.c:411: error: ‘PyObject’ has no member named ‘ob_refcnt’
    source/util.c: At top level:
    source/util.c:430: error: ‘NULL’ undeclared here (not in a function)
    source/util.c:439: warning: excess elements in struct initializer
    source/util.c:439: warning: (near initialization for ‘g_ModuleDef.m_base.ob_base’)
    source/util.c:439: warning: excess elements in struct initializer
    source/util.c:439: warning: (near initialization for ‘g_ModuleDef.m_base.ob_base’)
    source/util.c:439: error: initializer element is not constant
    source/util.c:439: error: (near initialization for ‘g_ModuleDef.m_base.m_init’)
    source/util.c:439: error: initializer element is not constant
    source/util.c:439: error: (near initialization for ‘g_ModuleDef.m_base.m_copy’)
    source/util.c:441: error: initializer element is not constant
    source/util.c:441: error: (near initialization for ‘g_ModuleDef.m_doc’)
    source/util.c:442: warning: initialization makes pointer from integer without a cast
    source/util.c:444: error: initializer element is not constant
    source/util.c:444: error: (near initialization for ‘g_ModuleDef.m_reload’)
    source/util.c:445: error: initializer element is not constant
    source/util.c:445: error: (near initialization for ‘g_ModuleDef.m_traverse’)
    source/util.c:446: error: initializer element is not constant
    source/util.c:446: error: (near initialization for ‘g_ModuleDef.m_clear’)
    source/util.c:448: error: initializer element is not constant
    source/util.c:448: error: (near initialization for ‘g_ModuleDef.m_free’)
    source/util.c: In function ‘Module_Initialize’:
    source/util.c:466: warning: return from incompatible pointer type
    In file included from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:11:20: error: limits.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:14:2: error: #error "Something's broken. UCHAR_MAX should be defined in limits.h."
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:18:2: error: #error "Python's source code assumes C's unsigned char is an 8-bit type."
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:25:19: error: stdio.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:27:5: error: #error "Python.h requires that stdio.h define NULL."
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:30:20: error: string.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:32:19: error: errno.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:34:20: error: stdlib.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:36:20: error: unistd.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:48:20: error: assert.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:50,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:9:22: error: inttypes.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:13:20: error: stdint.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:50,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:154: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_uintptr_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_intptr_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:178: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_ssize_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_hash_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:188: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_uhash_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:324:76: error: math.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:331:22: error: sys/time.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:332:18: error: time.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:349:24: error: sys/select.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:382:22: error: sys/stat.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:633:21: error: termios.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:634: warning: ‘struct winsize’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:634: warning: its scope is only this definition or declaration, which is probably not what you want
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:634: warning: ‘struct termios’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:635: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘forkpty’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:660:19: error: ctype.h: No such file or directory
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyport.h:661:20: error: wctype.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:65,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pymem.h:52: warning: parameter names (without types) in function declaration
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pymem.h:53: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:67,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:107: error: expected specifier-qualifier-list before ‘Py_ssize_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:113: error: expected specifier-qualifier-list before ‘Py_ssize_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:139: error: expected declaration specifiers or ‘...’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:139: error: ‘Py_ssize_t’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:151: error: field ‘len’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:152: error: field ‘itemsize’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:160: error: declaration of ‘smalltable’ as array of functions
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:250: error: expected specifier-qualifier-list before ‘lenfunc’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:264: error: expected specifier-qualifier-list before ‘lenfunc’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:283: error: expected declaration specifiers or ‘...’ before ‘FILE’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:290: error: expected declaration specifiers or ‘...’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:290: error: ‘Py_hash_t’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:297: warning: ‘struct _typeobject’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:298: warning: ‘struct _typeobject’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:306: error: field ‘tp_basicsize’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:306: error: field ‘tp_itemsize’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:325: error: expected specifier-qualifier-list before ‘hashfunc’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:458: error: expected declaration specifiers or ‘...’ before ‘FILE’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:484: error: ‘PyObject_Hash’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:485: error: ‘PyObject_HashNotImplemented’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:515: error: ‘_Py_HashDouble’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/object.h:516: error: ‘_Py_HashPointer’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:68,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:97: warning: parameter names (without types) in function declaration
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:98: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:232: error: ‘PyGC_Collect’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:251: error: field ‘gc_refs’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/objimpl.h:301: warning: parameter names (without types) in function declaration
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:73,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytearrayobject.h:9:20: error: stdarg.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:73,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytearrayobject.h:27: error: field ‘ob_alloc’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytearrayobject.h:44: error: ‘PyByteArray_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:74,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:33: error: field ‘ob_shash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:54: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:58: error: ‘PyBytes_Size’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:106: error: ‘_PyBytes_InsertThousandsGroupingLocale’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/bytesobject.h:117: error: ‘_PyBytes_InsertThousandsGrouping’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:75,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:117:21: error: wchar.h: No such file or directory
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:75,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:379: error: field ‘length’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:381: error: field ‘hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:469: error: ‘PyUnicodeUCS2_GetSize’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:537: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:574: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:592: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:604: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1416: error: ‘PyUnicodeUCS2_Tailmatch’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1428: error: ‘PyUnicodeUCS2_Find’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1437: error: ‘PyUnicodeUCS2_Count’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1526: error: ‘_PyUnicode_InsertThousandsGroupingLocale’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1539: error: ‘_PyUnicode_InsertThousandsGrouping’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1627: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘Py_UNICODE_strlen’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1641: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/unicodeobject.h:1651: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:76,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:20: warning: parameter names (without types) in function declaration
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:25: error: ‘PyLong_AsSsize_t’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘PyLong_AsSize_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘_PyLong_NumBits’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:124: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/longobject.h:147: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:79,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/floatobject.h:93: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:83,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/tupleobject.h:44: error: ‘PyTuple_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:84,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/listobject.h:39: error: field ‘allocated’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/listobject.h:53: error: ‘PyList_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:85,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:53: error: field ‘me_hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:70: error: field ‘ma_fill’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:71: error: field ‘ma_used’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:77: error: field ‘ma_mask’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/dictobject.h:124: error: ‘PyDict_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:87,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:26: error: field ‘hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:39: error: field ‘fill’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:40: error: field ‘used’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:46: error: field ‘mask’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:56: error: field ‘hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/setobject.h:88: error: ‘PySet_Size’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:89,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/moduleobject.h:31: error: field ‘m_index’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/moduleobject.h:46: error: field ‘m_size’ declared as a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:92,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileobject.h:18: error: expected declaration specifiers or ‘...’ before ‘FILE’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:101,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/weakrefobject.h:31: error: field ‘hash’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/weakrefobject.h:68: error: ‘_PyWeakref_GetWeakrefCount’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:106,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:33: error: field ‘start’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:34: error: field ‘end’ declared as a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:367: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:368: error: format string argument not a string type
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:369: error: expected declaration specifiers or ‘...’ before ‘size_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:369: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyerrors.h:370: error: format string argument not a string type
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:110,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pyarena.h:51: error: expected declaration specifiers or ‘...’ before ‘size_t’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:111,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/modsupport.h:23: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/modsupport.h:38: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/modsupport.h:40: error: expected declaration specifiers or ‘...’ before ‘va_list’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/modsupport.h:41: error: expected declaration specifiers or ‘...’ before ‘va_list’
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:112,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:25: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:28: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:40: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:42: error: expected ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:47: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:52: error: expected ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:56: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:67: error: expected ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:86: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:94: error: expected ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:138: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:142: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:170: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:223: error: expected ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/pythonrun.h:226: error: expected ‘)’ before ‘’ token
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:114,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:12: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:13: error: expected declaration specifiers or ‘...’ before ‘wchar_t’
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:14: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:28: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/sysmodule.h:32: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:118,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:376: error: ‘PyObject_Size’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:387: error: ‘PyObject_Length’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:391: error: ‘_PyObject_LengthHint’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:761: error: ‘PyNumber_AsSsize_t’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:925: error: ‘PySequence_Size’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:933: error: ‘PySequence_Length’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1051: error: ‘PySequence_Count’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1071: error: ‘_PySequence_IterSearch’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1097: error: ‘PySequence_Index’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1136: error: ‘PyMapping_Size’ declared as function returning a function
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/abstract.h:1146: error: ‘PyMapping_Length’ declared as function returning a function
    In file included from /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:128,
    from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:13: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:18: error: expected ‘;’, ‘,’ or ‘)’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:25: warning: ‘struct stat’ declared inside parameter list
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:38: error: expected ‘;’, ‘,’ or ‘)’ before ‘
    ’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/fileutils.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘
    ’ token
    source/util.c: In function ‘ExtSetOptimizeFlag’:
    source/util.c:410: error: ‘NULL’ undeclared (first use in this function)
    source/util.c:410: error: (Each undeclared identifier is reported only once
    source/util.c:410: error: for each function it appears in.)
    source/util.c:411: error: ‘PyObject’ has no member named ‘ob_refcnt’
    source/util.c: At top level:
    source/util.c:430: error: ‘NULL’ undeclared here (not in a function)
    source/util.c:439: warning: excess elements in struct initializer
    source/util.c:439: warning: (near initialization for ‘g_ModuleDef.m_base.ob_base’)
    source/util.c:439: warning: excess elements in struct initializer
    source/util.c:439: warning: (near initialization for ‘g_ModuleDef.m_base.ob_base’)
    source/util.c:439: error: initializer element is not constant
    source/util.c:439: error: (near initialization for ‘g_ModuleDef.m_base.m_init’)
    source/util.c:439: error: initializer element is not constant
    source/util.c:439: error: (near initialization for ‘g_ModuleDef.m_base.m_copy’)
    source/util.c:441: error: initializer element is not constant
    source/util.c:441: error: (near initialization for ‘g_ModuleDef.m_doc’)
    source/util.c:442: warning: initialization makes pointer from integer without a cast
    source/util.c:444: error: initializer element is not constant
    source/util.c:444: error: (near initialization for ‘g_ModuleDef.m_reload’)
    source/util.c:445: error: initializer element is not constant
    source/util.c:445: error: (near initialization for ‘g_ModuleDef.m_traverse’)
    source/util.c:446: error: initializer element is not constant
    source/util.c:446: error: (near initialization for ‘g_ModuleDef.m_clear’)
    source/util.c:448: error: initializer element is not constant
    source/util.c:448: error: (near initialization for ‘g_ModuleDef.m_free’)
    source/util.c: In function ‘Module_Initialize’:
    source/util.c:466: warning: return from incompatible pointer type
    lipo: can't figure out the architecture type of: /var/folders/zj/7xymy_2n3s71ws30v3v_qnlw0000gn/T//ccJ6uSTF.out
    error: command 'gcc-4.2' failed with exit status 1

     
  • Thomas Kluyver
    Thomas Kluyver
    2012-02-28

    To save other people digging through mragi's output, the first sign of trouble is:

    Compiling with an SDK that doesn't seem to exist:
    /Developer/SDKs/MacOSX10.6.sdk
    Please check your Xcode installation

    And a few lines later, the first error is:

    In file included from source/util.c:6:
    /Library/Frameworks/Python.framework/Versions/3.2/include/python3.2m/Python.h:11:20:
    error: limits.h: No such file or directory

    Superficially, this looks like a separate error from fberger's problem, although there might be an underlying common cause.

     
  • Since this appears to be a computer configuration issue I'm going to close this.

     


Anonymous


Cancel   Add attachments