filters/krita/jpeg/: typedef unsigned char UINT8’ redeclared as different kind of symbol

Melchior FRANZ mfranz at aon.at
Tue Nov 29 08:56:12 CET 2005


filters/krita/jpeg/ doesn't compile for me with libjpeg{,-devel}-6.2.0
(SUSE 10.0). I get this error message:

compiling ./koffice/filters/krita/jpeg/kis_jpeg_import.cc
...
/usr/include/jmorecfg.h:135: error: ‘typedef unsigned char UINT8’ redeclared as different kind of symbol
/home/m/kde/koffice/krita/kritacolor/kis_channelinfo.h:33: error: previous declaration of ‘enumChannelValueType UINT8’
/usr/include/jmorecfg.h:147: error: ‘typedef short unsigned int UINT16’ redeclared as different kind of symbol
/home/m/kde/koffice/krita/kritacolor/kis_channelinfo.h:34: error: previous declaration of ‘enumChannelValueType UINT16’
/usr/include/jpeglib.h:88: error: ‘UINT16’ does not name a type
/usr/include/jpeglib.h:102: error: ‘UINT8’ does not name a type
/usr/include/jpeglib.h:104: error: ‘UINT8’ does not name a type
/usr/include/jpeglib.h:197: error: ‘UINT8’ does not name a type
/usr/include/jpeglib.h:309: error: ‘UINT8’ does not name a type
...


Same for kis_jpeg_converter.cc. This is on Linux 2.6.14 (x86),
with libc 2.3.5 and gcc (GCC) 4.0.2 20050901. (

m.


More information about the kimageshop mailing list