[kde-solaris] Problem Compiling FontEngine.cpp in latest cvs
Mats Rojestal
mats.rojestal at bredband.net
Wed Nov 17 13:05:46 CET 2004
Hi,
I have problem compiling kdebase package from cvs and it chokes wit this
error:
if g++ -DHAVE_CONFIG_H -I. -I. -I../../..
-I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include
-DOS_Solaris -I./../lib -I./../../fonts -I/usr/local/kde/include
-I/usr/local/include -I/usr/local/include -DQT_THREAD_SUPPORT
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4
-D_FILE_OFFSET_BITS=64 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall
-W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL
-DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT FontEngine.o -MD
-MP -MF ".deps/FontEngine.Tpo" \
-c -o FontEngine.o `test -f 'FontEngine.cpp' || echo
'./'`FontEngine.cpp; \
then mv ".deps/FontEngine.Tpo" ".deps/FontEngine.Po"; \
else rm -f ".deps/FontEngine.Tpo"; exit 1; \
fi
FontEngine.cpp: In member function `bool
KFI::CFontEngine::has8BitEncodingFt(KFI::CEncodings::T8Bit*)':
FontEngine.cpp:986: error: 'struct KFI::CEncodings::T8Bit' has no member
named 'load'
FontEngine.cpp: In member function `QStringList
KFI::CFontEngine::get8BitEncodingsFt()':
FontEngine.cpp:1017: error: no matching function for call to
`KFI::CFontEngine::has8BitEncodingFt(const KFI::CEncodings::T8Bit&)'
FontEngine.cpp:983: note: candidates are: bool
KFI::CFontEngine::has8BitEncodingFt(KFI::CEncodings::T8Bit*)
FontEngine.cpp:1018: error: `enc8' undeclared (first use this function)
FontEngine.cpp:1018: error: (Each undeclared identifier is reported only
once for each function it appears in.)
FontEngine.cpp: In member function `QStringList
KFI::CFontEngine::getEncodingsFt()':
This line seems to be failing in FontEngine.cpp
if(data->load())
^ This function fails
Whats wrong??
Regards Mats Röjestål
PS. I Found the other problem with kbytesedit that did not compile it
was a conflicting definition and it only occured on solaris 10.
More information about the kde-solaris
mailing list