[kde-solaris] Compile problem kdepim

Mats Rojestal mats.rojestal at bredband.net
Wed Jun 8 16:57:03 CEST 2005


Hi,

I get the following error when compiling kdepim on Solaris 10_x86:


if /bin/bash ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H 
-I. -I. -I../..  -I../../libkdepim -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 
-Wno-non-virtual-dtor -O2 -fpermissive -fno-exceptions -fno-check-new 
-fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION  -MT pilotDateEntry.lo -MD -MP -MF 
".deps/pilotDateEntry.Tpo" -c -o pilotDateEntry.lo pilotDateEntry.cc; \
then mv -f ".deps/pilotDateEntry.Tpo" ".deps/pilotDateEntry.Plo"; else rm -f 
".deps/pilotDateEntry.Tpo"; exit 1; fi
pilotDateEntry.h:236: warning: unused parameter 'buf'
pilotDateEntry.h:236: warning: unused parameter 'size'
pilotDateEntry.h:245: error: could not convert template argument 
'unpack_AppointmentAppInfo' to 'int (*)(AppointmentAppInfo*, unsigned char*, 
unsigned int)'
pilotDateEntry.h:245: error: could not convert template argument 
'pack_AppointmentAppInfo' to 'int (*)(AppointmentAppInfo*, unsigned char*, 
unsigned int)'
pilotDateEntry.h:245: error: invalid type in declaration before ';' token
make: *** [pilotDateEntry.lo] Error 1



The code where compiler chokes on is in pilotDateEntry.h and is:

 > typedef PilotAppInfo<AppointmentAppInfo, 
unpack_AppointmentAppInfo,pack_AppointmentAppInfo> PilotDateInfo;


Any clues that will help are welcome.

Tnx,

  Mats R



More information about the kde-solaris mailing list