[kde-linux] error on compiling koffice 1.4.2 on krita core
Adi Spivak
pchelper at serv.co.il
Fri Oct 21 14:15:50 UTC 2005
when compiling koffice 1.4.2 i run into this error:
Making all in builder
make[4]: Entering directory `/usr/src/koffice-1.4.2/krita/core/builder'
source='kis_image_magick_converter.cc'
object='kis_image_magick_converter.lo' libtool=yes \
depfile='.deps/kis_image_magick_converter.Plo'
tmpdepfile='.deps/kis_image_magick_converter.TPlo' \
depmode=gcc3 /bin/sh ../../../admin/depcomp \
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I./../ -I./../color_strategy
-I./../compositeop -I./../visitors/ -I./../resources/ -I./../tiles/
-I./../../ui/ -I../../ui/ -I../../../lib/kofficeui
-I../../../lib/kofficeui -I../../../lib/kofficecore
-I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store
-I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/interfaces
-I../../../lib/kopainter -I../../../lib/kopainter -I/usr/include
-I/opt/kde/include -I/usr/lib/qt/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -O2 -Wformat-security
-Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF
-fexceptions -c -o kis_image_magick_converter.lo `test -f
'kis_image_magick_converter.cc' || echo './'`kis_image_magick_converter.cc
kis_image_magick_converter.cc: In function `KisProfileSP
<unnamed>::getProfileForProfileInfo(const Image*,
KSharedPtr<KisStrategyColorSpace>)':
kis_image_magick_converter.cc:86: error: 'const struct _Image' has no member
named 'profiles'
kis_image_magick_converter.cc:90: error: ISO C++ forbids declaration of `
StringInfo' with no type
kis_image_magick_converter.cc:90: error: uninitialized const `StringInfo'
kis_image_magick_converter.cc:90: error: syntax error before `*' token
kis_image_magick_converter.cc:94: error: `ResetImageProfileIterator'
undeclared
(first use this function)
kis_image_magick_converter.cc:94: error: (Each undeclared identifier is
reported only once for each function it appears in.)
kis_image_magick_converter.cc:95: error: `GetNextImageProfile' undeclared
(first use this function)
kis_image_magick_converter.cc:97: error: `profile' undeclared (first use
this
function)
kis_image_magick_converter.cc:97: error: `GetImageProfile' undeclared (first
use this function)
kis_image_magick_converter.cc:98: error: syntax error before `)' token
kis_image_magick_converter.cc: In function `void
<unnamed>::setAnnotationsForImage(const Image*, KSharedPtr<KisImage>)':
kis_image_magick_converter.cc:127: error: 'const struct _Image' has no
member
named 'profiles'
kis_image_magick_converter.cc:131: error: ISO C++ forbids declaration of `
StringInfo' with no type
kis_image_magick_converter.cc:131: error: uninitialized const `StringInfo'
kis_image_magick_converter.cc:131: error: syntax error before `*' token
kis_image_magick_converter.cc:134: error: `ResetImageProfileIterator'
undeclared (first use this function)
kis_image_magick_converter.cc:135: error: `GetNextImageProfile' undeclared
(first use this function)
kis_image_magick_converter.cc:136: error: `GetImageProfile' undeclared
(first
use this function)
kis_image_magick_converter.cc:137: error: syntax error before `)' token
kis_image_magick_converter.cc: In function `void
<unnamed>::exportAnnotationsForImage(Image*, KSharedPtr<KisAnnotation>*&,
KSharedPtr<KisAnnotation>*&)':
kis_image_magick_converter.cc:173: error: `MagickFalse' undeclared
(first use
this function)
kis_image_magick_converter.cc: At global scope:
kis_image_magick_converter.cc:205: error: syntax error before `char'
kis_image_magick_converter.cc:209: error: syntax error before `?' token
kis_image_magick_converter.cc:214: error: `text' was not declared in
this scope
kis_image_magick_converter.cc:214: error: ISO C++ forbids declaration of `
printf' with no type
kis_image_magick_converter.cc:214: error: initializer list being treated as
compound expression
kis_image_magick_converter.cc:215: error: syntax error before `return'
kis_image_magick_converter.cc: In constructor `
KisImageMagickConverter::KisImageMagickConverter(KisDoc*,
KisUndoAdapter*)':
kis_image_magick_converter.cc:238: error: `monitor' undeclared (first
use this
function)
kis_image_magick_converter.cc: In member function `KisImageBuilder_Result
KisImageMagickConverter::buildFile(const KURL&, KSharedPtr<KisLayer>)':
kis_image_magick_converter.cc:548: error: `MagickTrue' undeclared (first use
this function)
kis_image_magick_converter.cc: In static member function `static QString
KisImageMagickConverter::readFilters()':
kis_image_magick_converter.cc:840: error: `GetMagickInfoList' undeclared
(first
use this function)
kis_image_magick_converter.cc: In static member function `static QString
KisImageMagickConverter::writeFilters()':
kis_image_magick_converter.cc:914: error: `GetMagickInfoList' undeclared
(first
use this function)
make[4]: *** [kis_image_magick_converter.lo] Error 1
make[4]: Leaving directory `/usr/src/koffice-1.4.2/krita/core/builder'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/koffice-1.4.2/krita/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/koffice-1.4.2/krita'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/koffice-1.4.2'
make: *** [all] Error 2
does anyone know how/what this error is and what i need to build in
order to fix it?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2785 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20051021/40aaf27c/attachment.bin>
More information about the kde-linux
mailing list