Can't perform "python setup.py build" on RedHat CentOS release 5.4 Linux

"W. Daniel Simmons" <[email protected]>
Newsgroups gmane.comp.python.image
Organization Hex 'FF', Inc.
Message-ID <[email protected]>
Gentlemen: 
We use Python and a package called ReportLab to produce pdf files. The
package requires the use of the PIL package. I've installed these
packages on many systems, and never had a problem until we moved to a
new web hosting service for ourselves. On the server with the OS noted
in the subject line I get the following errors (full error text in
attachment): 

sh-3.2# python setup.py build
running build
running build_py
running build_ext
building '_imaging' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC
-DHAVE_LIBZ -IlibImaging -I/usr/include -I/usr/local/include
-I/usr/include/python2.4 -c _imaging.c -o
build/temp.linux-x86_64-2.4/_imaging.o
_imaging.c:74:20: error: Python.h: No such file or directory
In file included from libImaging/Imaging.h:14,
                 from _imaging.c:76:
libImaging/ImPlatform.h:10:20: error: Python.h: No such file or
directory
libImaging/ImPlatform.h:14:2: error: #error Sorry, this library requires
support for ANSI prototypes.
libImaging/ImPlatform.h:17:2: error: #error Sorry, this library requires
ANSI header files.

...and so on

If any can tell me what I'm missing on our new server I'd be much
obliged. 

Thanks, 
Dan

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
PILtext.txt (text/plain, 22.7 KB)
sh-3.2# python setup.py build
running build
running build_py
running build_ext
building '_imaging' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fPIC -DHAVE_LIBZ -IlibImaging -I/usr/include -I/usr/local/include -I/usr/include/python2.4 -c _imaging.c -o build/temp.linux-x86_64-2.4/_imaging.o
_imaging.c:74:20: error: Python.h: No such file or directory
In file included from libImaging/Imaging.h:14,
                 from _imaging.c:76:
libImaging/ImPlatform.h:10:20: error: Python.h: No such file or directory
libImaging/ImPlatform.h:14:2: error: #error Sorry, this library requires support for ANSI prototypes.
libImaging/ImPlatform.h:17:2: error: #error Sorry, this library requires ANSI header files.
libImaging/ImPlatform.h:55:2: error: #error Cannot find required 32-bit integer type
In file included from _imaging.c:76:
libImaging/Imaging.h:90: error: expected specifier-qualifier-list before ‘INT32’
libImaging/Imaging.h:263: error: expected specifier-qualifier-list before ‘INT32’
libImaging/Imaging.h:391: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ImagingCRC32’
_imaging.c:113: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
_imaging.c:117: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
_imaging.c:131: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
_imaging.c:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
_imaging.c:142: error: expected specifier-qualifier-list before ‘PyObject_HEAD’
_imaging.c:148: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
_imaging.c:152: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c: In function ‘_dealloc’:
_imaging.c:183: error: ‘ImagingObject’ has no member named ‘image’
_imaging.c:184: warning: implicit declaration of function ‘PyMem_Del’
_imaging.c: At top level:
_imaging.c:189: error: expected ‘)’ before ‘*’ token
_imaging.c: In function ‘ImagingSectionEnter’:
_imaging.c:207: error: ‘PyThreadState’ undeclared (first use in this function)
_imaging.c:207: error: (Each undeclared identifier is reported only once
_imaging.c:207: error: for each function it appears in.)
_imaging.c:207: error: expected expression before ‘)’ token
_imaging.c: In function ‘ImagingSectionLeave’:
_imaging.c:214: warning: implicit declaration of function ‘PyEval_RestoreThread’
_imaging.c:214: error: ‘PyThreadState’ undeclared (first use in this function)
_imaging.c:214: error: expected expression before ‘)’ token
_imaging.c: In function ‘ImagingError_IOError’:
_imaging.c:234: warning: implicit declaration of function ‘PyErr_SetString’
_imaging.c:234: error: ‘PyExc_IOError’ undeclared (first use in this function)
_imaging.c:235: error: ‘NULL’ undeclared (first use in this function)
_imaging.c: In function ‘ImagingError_MemoryError’:
_imaging.c:241: warning: implicit declaration of function ‘PyErr_NoMemory’
_imaging.c:241: warning: return makes pointer from integer without a cast
_imaging.c: In function ‘ImagingError_Mismatch’:
_imaging.c:247: error: ‘PyExc_ValueError’ undeclared (first use in this function)
_imaging.c:248: error: ‘NULL’ undeclared (first use in this function)
_imaging.c: In function ‘ImagingError_ModeError’:
_imaging.c:254: error: ‘PyExc_ValueError’ undeclared (first use in this function)
_imaging.c:255: error: ‘NULL’ undeclared (first use in this function)
_imaging.c: In function ‘ImagingError_ValueError’:
_imaging.c:262: error: ‘PyExc_ValueError’ undeclared (first use in this function)
_imaging.c:265: error: ‘NULL’ undeclared (first use in this function)
_imaging.c: At top level:
_imaging.c:297: error: expected ‘)’ before ‘*’ token
_imaging.c:394: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:449: error: expected ‘)’ before ‘*’ token
_imaging.c:517: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:549: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:561: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:573: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:585: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:596: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:607: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:618: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:640: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:664: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:681: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:698: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:707: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:724: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:734: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:745: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:777: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:811: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:859: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:932: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:943: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:953: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:992: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1069: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1080: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1217: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1237: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1272: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1297: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1328: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1339: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1359: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1410: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1442: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1488: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1563: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1614: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1620: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1632: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1666: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1694: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1724: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1735: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1751: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1772: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1778: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1789: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1800: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1811: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1822: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1833: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1851: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1869: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1880: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1891: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1902: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1913: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:1931: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c: In function ‘_font_dealloc’:
_imaging.c:1992: warning: implicit declaration of function ‘Py_XDECREF’
_imaging.c:1992: error: ‘ImagingFontObject’ has no member named ‘ref’
_imaging.c: In function ‘textwidth’:
_imaging.c:2002: error: ‘ImagingFontObject’ has no member named ‘glyphs’
_imaging.c: At top level:
_imaging.c:2007: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2055: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2065: error: array type has incomplete element type
_imaging.c:2066: error: ‘PyCFunction’ undeclared here (not in a function)
_imaging.c:2066: error: expected ‘}’ before ‘_font_getmask’
_imaging.c:2067: error: expected ‘}’ before ‘_font_getsize’
_imaging.c:2068: error: ‘NULL’ undeclared here (not in a function)
_imaging.c:2071: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2077: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c: In function ‘_draw_dealloc’:
_imaging.c:2105: error: ‘ImagingDrawObject’ has no member named ‘image’
_imaging.c: At top level:
_imaging.c:2109: error: expected ‘)’ before ‘*’ token
_imaging.c:2111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2201: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2238: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2254: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2286: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2301: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2334: error: expected ‘)’ before ‘*’ token
_imaging.c:2336: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2363: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2381: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2427: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2464: error: array type has incomplete element type
_imaging.c:2467: error: expected ‘}’ before ‘_draw_line’
_imaging.c:2468: error: expected ‘}’ before ‘_draw_lines’
_imaging.c:2470: error: expected ‘}’ before ‘_draw_outline’
_imaging.c:2472: error: expected ‘}’ before ‘_draw_polygon’
_imaging.c:2473: error: expected ‘}’ before ‘_draw_rectangle’
_imaging.c:2474: error: expected ‘}’ before ‘_draw_point’
_imaging.c:2475: error: expected ‘}’ before ‘_draw_points’
_imaging.c:2476: error: expected ‘}’ before ‘_draw_arc’
_imaging.c:2477: error: expected ‘}’ before ‘_draw_bitmap’
_imaging.c:2478: error: expected ‘}’ before ‘_draw_chord’
_imaging.c:2479: error: expected ‘}’ before ‘_draw_ellipse’
_imaging.c:2480: error: expected ‘}’ before ‘_draw_pieslice’
_imaging.c:2481: error: expected ‘}’ before ‘_draw_ink’
_imaging.c:2486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2500: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2519: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2530: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2547: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2567: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2602: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2623: error: array type has incomplete element type
_imaging.c:2626: error: expected ‘}’ before ‘_getpixel’
_imaging.c:2627: error: expected ‘}’ before ‘_putpixel’
_imaging.c:2630: error: expected ‘}’ before ‘_convert’
_imaging.c:2631: error: expected ‘}’ before ‘_convert2’
_imaging.c:2632: error: expected ‘}’ before ‘_convert_matrix’
_imaging.c:2633: error: expected ‘}’ before ‘_copy’
_imaging.c:2634: error: expected ‘}’ before ‘_copy2’
_imaging.c:2638: error: expected ‘}’ before ‘_crop’
_imaging.c:2639: error: expected ‘}’ before ‘_expand’
_imaging.c:2640: error: expected ‘}’ before ‘_filter’
_imaging.c:2641: error: expected ‘}’ before ‘_histogram’
_imaging.c:2643: error: expected ‘}’ before ‘_modefilter’
_imaging.c:2645: error: expected ‘}’ before ‘_offset’
_imaging.c:2646: error: expected ‘}’ before ‘_paste’
_imaging.c:2647: error: expected ‘}’ before ‘_point’
_imaging.c:2648: error: expected ‘}’ before ‘_point_transform’
_imaging.c:2649: error: expected ‘}’ before ‘_putdata’
_imaging.c:2651: error: expected ‘}’ before ‘_quantize’
_imaging.c:2654: error: expected ‘}’ before ‘_rankfilter’
_imaging.c:2656: error: expected ‘}’ before ‘_resize’
_imaging.c:2657: error: expected ‘}’ before ‘_rotate’
_imaging.c:2658: error: expected ‘}’ before ‘_stretch’
_imaging.c:2659: error: expected ‘}’ before ‘_transpose’
_imaging.c:2660: error: expected ‘}’ before ‘_transform2’
_imaging.c:2662: error: expected ‘}’ before ‘_isblock’
_imaging.c:2664: error: expected ‘}’ before ‘_getbbox’
_imaging.c:2665: error: expected ‘}’ before ‘_getcolors’
_imaging.c:2666: error: expected ‘}’ before ‘_getextrema’
_imaging.c:2667: error: expected ‘}’ before ‘_getprojection’
_imaging.c:2669: error: expected ‘}’ before ‘_getband’
_imaging.c:2670: error: expected ‘}’ before ‘_putband’
_imaging.c:2671: error: expected ‘}’ before ‘_fillband’
_imaging.c:2673: error: expected ‘}’ before ‘im_setmode’
_imaging.c:2675: error: expected ‘}’ before ‘_getpalette’
_imaging.c:2676: error: expected ‘}’ before ‘_putpalette’
_imaging.c:2677: error: expected ‘}’ before ‘_putpalettealpha’
_imaging.c:2681: error: expected ‘}’ before ‘_chop_invert’
_imaging.c:2682: error: expected ‘}’ before ‘_chop_lighter’
_imaging.c:2683: error: expected ‘}’ before ‘_chop_darker’
_imaging.c:2684: error: expected ‘}’ before ‘_chop_difference’
_imaging.c:2685: error: expected ‘}’ before ‘_chop_multiply’
_imaging.c:2686: error: expected ‘}’ before ‘_chop_screen’
_imaging.c:2687: error: expected ‘}’ before ‘_chop_add’
_imaging.c:2688: error: expected ‘}’ before ‘_chop_subtract’
_imaging.c:2689: error: expected ‘}’ before ‘_chop_add_modulo’
_imaging.c:2690: error: expected ‘}’ before ‘_chop_subtract_modulo’
_imaging.c:2691: error: expected ‘}’ before ‘_chop_and’
_imaging.c:2692: error: expected ‘}’ before ‘_chop_or’
_imaging.c:2693: error: expected ‘}’ before ‘_chop_xor’
_imaging.c:2698: error: expected ‘}’ before ‘_effect_spread’
_imaging.c:2702: error: expected ‘}’ before ‘_new_array’
_imaging.c:2703: error: expected ‘}’ before ‘_new_block’
_imaging.c:2706: error: expected ‘}’ before ‘_save_ppm’
_imaging.c:2715: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c: In function ‘image_length’:
_imaging.c:2744: error: ‘ImagingObject’ has no member named ‘image’
_imaging.c: At top level:
_imaging.c:2749: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2764: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘image_as_sequence’
_imaging.c:2777: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
_imaging.c:2798: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
_imaging.c:2810: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PyTypeObject’
_imaging.c:2830: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2831: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2832: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2833: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2834: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2835: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2836: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2837: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2838: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2839: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2840: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2841: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2842: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2843: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2844: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2847: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2848: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2849: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2850: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2851: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2852: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2853: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2867: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2870: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2872: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2873: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
_imaging.c:2875: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘functions’
_imaging.c:2970: warning: return type defaults to ‘int’
_imaging.c: In function ‘DL_EXPORT’:
_imaging.c:2970: error: expected declaration specifiers before ‘init_imaging’
_imaging.c:2980: error: expected ‘{’ at end of input
error: command 'gcc' failed with exit status 1
sh-3.2#
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.