Version: 031113 (using KDE Devel) Installed from: Compiled sources Compiler: gcc 3.3.1 OS: Solaris When trying to compile KDEbase-031113 from sources, I Get the following error when building the lock module of the kdesktop application: if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kcheckpass -I../../kdm/kfrontend -I/opt/kdeb/include -I/usr/gnucal/qt/include -DQT_THREAD_SUPPORT -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -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 lockdlg.o -MD -MP -MF ".deps/lockdlg.Tpo" \ -c -o lockdlg.o `test -f 'lockdlg.cc' || echo './'`lockdlg.cc; \ then mv -f ".deps/lockdlg.Tpo" ".deps/lockdlg.Po"; \ else rm -f ".deps/lockdlg.Tpo"; exit 1; \ fi lockdlg.cc: In member function `virtual void PasswordDlg::gplugStart()': lockdlg.cc:429: error: `AF_LOCAL' undeclared (first use this function) lockdlg.cc:429: error: (Each undeclared identifier is reported only once for each function it appears in.) make: *** [lockdlg.o] Error 1 This is due to Solaris not defining the AF_LOCAL type socket. IT is called AF_UNIX. Adding this bit to the lockdlg.cc source file's definition part fixes the problem: #ifndef AF_LOCAL #define AF_LOCAL AF_UNIX #endif Hope this helps.
As I gave the resolution in the bug description, I'll mark the bug as resolved!
Subject: Re: KDesktop compile breaks on Solaris when compiling lock module - AF_LOCAL not defined > As I gave the resolution in the bug description, I'll mark the bug as resolved! You shouldn't do that - it's resolved once the fix is in CVS :) If you close the bug before we look at it, we might miss it. Anyway this is a duplicate of 68258, and it was fixed 3 days ago in CVS.
Bug closed. Kdesktop is no more mantained.