CPP lib/cximage-6.0/CxImage/tif_xfile.o In file included from tif_xfile.cpp:10:0: ximage.h:56:0: warning: "_XOPEN_SOURCE" redefined /usr/include/features.h:166:0: note: this is the location of the previous definition CPP lib/cximage-6.0/CxImage/ximaenc.o In file included from ximaenc.cpp:17:0: ximapng.h: In static member function 'static void CxImagePNG::user_error_fn(png_struct*, const char*)': ximapng.h:72:25: error: invalid use of incomplete type 'struct png_struct' /usr/include/libpng15/png.h:825:16: error: forward declaration of 'struct png_struct' ximapng.h:73:18: error: invalid use of incomplete type 'struct png_struct' /usr/include/libpng15/png.h:825:16: error: forward declaration of 'struct png_struct' ximaenc.cpp: In member function 'bool CxImage::Load(const char*, DWORD, int&, int&)': ximaenc.cpp:512:6: warning: unused variable 'iWidthSave' ximaenc.cpp:513:6: warning: unused variable 'iHeightSave' ximaenc.cpp: In member function 'bool CxImage::CheckFormat(BYTE*, DWORD, DWORD)': ximaenc.cpp:1114:30: warning: NULL used in arithmetic make[2]: *** [ximaenc.o] Error 1 make[2]: Leaving directory `/var/work/Installed/XBMC/Eden/xbmc/lib/cximage-6.0/CxImage' make[1]: *** [CxImage/cximage.a] Error 2 make[1]: Leaving directory `/var/work/Installed/XBMC/Eden/xbmc/lib/cximage-6.0' make: *** [imagelib] Error