make[4]: Entering directory '/opt/wcs2kml/src/google'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/google -I../../src/google/libwcs -g -O2 -Wall -MT pngimage.lo -MD -MP -MF .deps/pngimage.Tpo -c -o pngimage.lo pngimage.cc
g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/google -I../../src/google/libwcs -g -O2 -Wall -MT pngimage.lo -MD -MP -MF .deps/pngimage.Tpo -c pngimage.cc -DPIC -o .libs/pngimage.o
pngimage.cc: In member function 'bool google_sky::PngImage::Write(const string&) const':
pngimage.cc:544:13: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
info_ptr->width = width_;
^
In file included from ../../src/google/pngimage.h:22:0,
from pngimage.cc:19:
/usr/include/png.h:745:16: error: forward declaration of 'png_info {aka struct png_info_def}'
typedef struct png_info_def png_info;
^
pngimage.cc:545:13: error: invalid use of incomplete type 'png_info {aka struct png_info_def}'
[...]