The New version of App Engine?

183 views
Skip to first unread message

Petr Pololáník

unread,
Apr 8, 2017, 8:40:28 AM4/8/17
to Google App Engine
I use Google App Engine for me nodejs project. Today I tried deploy the new version, but app engine throw error. After that I tried deploy the previous version (worked in past), steel throw error.

I do not understand it. It worked before, but now doesn't. The new version of App Engine? Could you help me please?

In log I see problem with lwip library. After remove it works, but I need the library.

In file included from ../src/lib/png/png.c:14:0: ../src/lib/png/pngpriv.h:805:4: error: #error ZLIB_VERNUM != PNG_ZLIB_VERNUM "-I (include path) error: see the notes in pngpriv.h" # error ZLIB_VERNUM != PNG_ZLIB_VERNUM \ ^ lwip_decoder.target.mk:165: recipe for target 'Release/obj.target/lwip_decoder/src/lib/png/png.o' failed
 
Thank you.

Adam (Cloud Platform Support)

unread,
Apr 8, 2017, 3:52:22 PM4/8/17
to Google App Engine
The lwip library is failing to build libpng, which it depends on. The error mentions "see the notes in pngpriv.h". If you check the comments in that source file they say this:

#  error ZLIB_VERNUM != PNG_ZLIB_VERNUM \
     
"-I (include path) error: see the notes in pngpriv.h"

   
/* This means that when pnglibconf.h was built the copy of zlib.h that it
    * used is not the same as the one being used here.  Because the build of
    * libpng makes decisions to use inflateInit2 and inflateReset2 based on the
    * zlib version number and because this affects handling of certain broken
    * PNG files the -I directives must match.
    *
    * The most likely explanation is that you passed a -I in CFLAGS. This will
    * not work; all the preprocessor directories and in particular all the -I
    * directives must be in CPPFLAGS.
    */

Do you get this error when running 'npm install' and testing locally, or does it only occur when running 'gcloud app deploy'?
Reply all
Reply to author
Forward
0 new messages