ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> image-sig
image-sig
Re: [Image-SIG] Error while "make check" under PIL's libImaging directory
by Fredrik Lundh other posts by this author
Dec 5 2001 5:51PM messages near this date
[Image-SIG] Error while "make check" under PIL's libImaging directory | [Image-SIG] PNG bug: please, release a bugfix 1.1.3!
Ziying Sherwin wrote:
>  nob>make check
>  gcc -O -I./. -I/depot/include -DHAVE_CONFIG_H  -c  JpegDecode.c
>  JpegDecode.c:42: parse error before "void"
>  JpegDecode.c:48: parse error before "boolean"
>  JpegDecode.c:55: parse error before "void"
>  JpegDecode.c:96: parse error before "void"

looks like you're using an old version of the JPEG library.

either upgrade to the latest version (6b), or modify the function
signatures in PIL's Jpeg modules.  iirc, you need to change

    METHODDEF(void)
    stub(j_decompress_ptr cinfo)

to

    METHODDEF void
    stub(j_decompress_ptr cinfo)

(etc)

recent versions of the JPEG library is available from www.ijg.org

</F> 


_______________________________________________
Image-SIG maillist  -  Image-SIG@[...].org
http://mail.python.org/mailman/listinfo/image-sig
Thread:
Ziying Sherwin
Fredrik Lundh

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved