“命令'gcc'以退出状态1失败”构建PIL 1.1.7

时间:2013-04-06 00:47:21

标签: python-2.7 python-imaging-library

我正在尝试构建python-imaging,我收到了这个错误:

    gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBJPEG -DHAVE_LIBZ -I/usr/local/include/freetype2 -IlibImaging -I/usr/local/include -I/usr/include/tcl8.5 -I/usr/include -I/usr/local/include/python2.7 -c libImaging/JpegDecode.c -o build/temp.linux-i686-2.7/libImaging/JpegDecode.o
    libImaging/JpegDecode.c: In function ‘fill_input_buffer’:
    libImaging/JpegDecode.c:55:12: error: ‘FALSE’ undeclared (first use in this function)
    libImaging/JpegDecode.c:55:12: note: each undeclared identifier is reported only  once for each function it appears in
    libImaging/JpegDecode.c: In function ‘ImagingJpegDecode’:
    libImaging/JpegDecode.c:163:45: error: ‘FALSE’ undeclared (first use in this function)
    libImaging/JpegDecode.c: In function ‘fill_input_buffer’:
    libImaging/JpegDecode.c:56:1: warning: control reaches end of non-void function [-Wreturn-type]
    error: command 'gcc' failed with exit status 1

0 个答案:

没有答案