[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 68258] New: missing AF_LOCAL breaks kdebase compilation on
From: Torsten Kasch <tk () Genetik ! Uni-Bielefeld ! DE>
Date: 2003-11-15 7:30:11
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=68258
Summary: missing AF_LOCAL breaks kdebase compilation on Solaris
Product: configure
Version: unspecified
Platform: Compiled Sources
OS/Version: Solaris
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: coolo@kde.org
ReportedBy: tk@Genetik.Uni-Bielefeld.DE
Version: (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc version 2.95.3 20010315 (release)
OS: Solaris
Trying to compile kdebase on my Solaris 8 x86 box breaks at \
kdebase/kdesktop/lock/lockdlg.cc:
source='lockdlg.cc' object='lockdlg.o' libtool=no \
depfile='.deps/lockdlg.Po' tmpdepfile='.deps/lockdlg.TPo' \
depmode=gcc /bin/ksh ../../admin/depcomp \
g++ -pipe -DHAVE_CONFIG_H -I. -I. -I../.. -I../../kcheckpass -I../../kdm/kfrontend \
-I/vol/kde-cvs/include -I/vol/qt-3.2.1/include -I/usr/openwin/include \
-I/vol/local/include -I/vol/graphics/include -I/vol/cups/include \
-I/vol/X11/include/freetype2 -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 -fno-builtin -g -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 -c -o lockdlg.o `test -f \
'lockdlg.cc' || echo './'`lockdlg.cc In file included from lockprocess.h:21,
from lockdlg.cc:11:
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring pragma:
In file included from lockdlg.cc:46:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring pragma:
lockdlg.cc: In method `void PasswordDlg::gplugStart()':
lockdlg.cc:424: `AF_LOCAL' undeclared (first use this function)
lockdlg.cc:424: (Each undeclared identifier is reported only once
lockdlg.cc:424: for each function it appears in.)
make[3]: *** [lockdlg.o] Error 1
make[3]: Leaving directory `/vol/src/kde/cvs/kdebase/kdesktop/lock'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/vol/src/kde/cvs/kdebase/kdesktop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vol/src/kde/cvs/kdebase'
make: *** [all] Error 2
Maybe there's a better place to do this, but adding the following lines to the \
beginning of this file seems to resolve this issue:
--- snip ---
#ifndef AF_LOCAL
#define AF_LOCAL AF_UNIX
#endif
--- snip ---
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic