Hi, >>>>> On Wed, 12 Dec 2012 11:53:59 +0000 >>>>> Alexey Melnikov <alexey.melnikov@xxxxxxxxx> said: alexey.melnikov> Can you please show log of your compilation attempt? It would also alexey.melnikov> help to know which platform(s) are you trying to compile on. Yup, here it is. It is kde on FreeBSD. To fix this issue, I need adding inclusion of sys/types.h. /bin/sh /usr/local/bin/libtool --silent --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I./../.. -I./.. -I/usr/local/include -I/usr/local/include -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_GETOPT_H -D_THREAD_SAFE -D_LARGE_FILES=1 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -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 -D_GNU_SOURCE -MT request.lo -MD -MP -MF .deps/request.Tpo -c -o request.lo request.cc In file included from smtp.cc:35: /usr/local/include/sasl/sasl.h:228: error: typedef 'sasl_malloc_t' is initialized (use __typeof__ instead) /usr/local/include/sasl/sasl.h:228: error: 'size_t' was not declared in this scope /usr/local/include/sasl/sasl.h:229: error: typedef 'sasl_calloc_t' is initialized (use __typeof__ instead) /usr/local/include/sasl/sasl.h:229: error: 'size_t' was not declared in this scope /usr/local/include/sasl/sasl.h:229: error: 'size_t' was not declared in this scope /usr/local/include/sasl/sasl.h:230: error: 'size_t' has not been declared /usr/local/include/sasl/sasl.h:233: warning: 'sasl_set_alloc' initialized and declared 'extern' /usr/local/include/sasl/sasl.h:233: error: variable or field 'sasl_set_alloc' declared void /usr/local/include/sasl/sasl.h:233: error: 'sasl_malloc_t' was not declared in this scope /usr/local/include/sasl/sasl.h:233: error: expected primary-expression before ',' token /usr/local/include/sasl/sasl.h:234: error: 'sasl_calloc_t' was not declared in this scope /usr/local/include/sasl/sasl.h:234: error: expected primary-expression before ',' token /usr/local/include/sasl/sasl.h:235: error: expected primary-expression before '*' token /usr/local/include/sasl/sasl.h:235: error: expected primary-expression before ',' token /usr/local/include/sasl/sasl.h:236: error: expected primary-expression before '*' token /usr/local/include/sasl/sasl.h:236: error: expected primary-expression before ')' token smtp.cc: In member function 'bool SMTPProtocol::smtp_open(const QString&)': smtp.cc:531: warning: 'localAddress' is deprecated (declared at /usr/local/include/kextsock.h:977) smtp.cc:536: warning: 'resolve' is deprecated (declared at /usr/local/include/kextsock.h:947) gmake[3]: *** [smtp.lo] Error 1 gmake[3]: *** Waiting for unfinished jobs.... mv -f .deps/request.Tpo .deps/request.Plo gmake[3]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.5.10/kioslave/smtp' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.5.10/kioslave' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/kdebase3/work/kdebase-3.5.10' gmake: *** [all] Error 2 *** Error code 1 Sincerely, -- Hajimu UMEMOTO ume@xxxxxxxxxxxx ume@{,jp.}FreeBSD.org http://www.mahoroba.org/~ume/