[kde-solaris] compile error: kcontrol/kfontinst/lib/GetPid.c
Daniel Franke
daniel.franke at imbs.uni-luebeck.de
Thu Sep 2 14:48:59 CEST 2004
Hi,
my name is Daniel, I just subscribed to the list,
I have two SUN-Blade-1000 boxes around which I try to attend and I'm currently
konstruct'ing KDE-3.3.
After some other build errors I hit the following one (not yet described it
seems):
-- snip --
gmake[6]: Entering directory
`/usr/src/konstruct-3.3/kde/kdebase/work/kdebase-3.3.0/kcontrol/kfontinst/lib'
if /bin/bash ../../../libtool --silent --mode=compile --tag=CC gcc
-DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/local/include/freetype2
-I/usr/local/include -DOS_Solaris -I./../../fonts
-I/usr/local/kde-3.3/include -I/usr/local/qt3/include
-I/usr/kerberos/include -D_LARGEFILE64_SOURCE -DQT_THREAD_SUPPORT
-I/usr/local/kde-3.3/include -I/usr/local/qt3/include -I/usr/X11R6/include
-I/usr/local/kde-3.3/include -I/usr/local/qt3/include -I/usr/X11R6/include
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4
-D_FILE_OFFSET_BITS=64 -O2 -I/usr/local/kde-3.3/include
-I/usr/local/qt3/include -I/usr/X11R6/include -L/usr/local/kde-3.3/lib
-L/usr/local/qt3/lib -L/usr/X11R6/lib -I/usr/local/kde-3.3/include
-I/usr/local/qt3/include -I/usr/X11R6/include -L/usr/local/kde-3.3/lib
-L/usr/local/qt3/lib -L/usr/X11R6/lib -O2 -pipe -O2 -pipe -D_GNU_SOURCE -MT
GetPid.lo -MD -MP -MF ".deps/GetPid.Tpo" -c -o GetPid.lo GetPid.c; \
then mv -f ".deps/GetPid.Tpo" ".deps/GetPid.Plo"; else rm -f
".deps/GetPid.Tpo"; exit 1; fi
In file included from /usr/include/procfs.h:26,
from GetPid.c:246:
/usr/include/sys/procfs.h:44:2: #error "Cannot use procfs in the large file
compilation environment"
gmake[6]: *** [GetPid.lo] Error 1
-- snap --
which I eventually fixed by applying the same patch as to
kcontrol/info/memory/memory_solaris.cpp
(http://lists.kde.org/?l=kde-solaris&m=109334039527305&w=2)
I changed
-- snip --
#ifdef OS_Solaris
#include <sys/procfs.h>
#else
#include <sys/procfs.h>
#include <sys/sysmp.h>
#endif
-- snap --
to
-- snip --
#ifdef OS_Solaris
# if _FILE_OFFSET_BITS==64
# undef _FILE_OFFSET_BITS
# include <procfs.h>
# define _FILE_OFFSET_BITS 64
# else
# include <procfs.h>
# endif
#else
#include <sys/procfs.h>
#include <sys/sysmp.h>
#endif
-- snap --
This correct?
At least compilation continues ...
regards
Daniel
--
Dipl.-Math. (FH) Daniel Franke
Institut fuer Medizinische Biometrie und Statistik
Medizinische Universität zu Luebeck
Ratzeburger Allee 160, Haus 4
23538 Luebeck
Telefon: 0451-500-2786
Telefax: 0451-500-2999
daniel.franke at imbs.uni-luebeck.de
/"\
\ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
X - AGAINST MS ATTACHMENTS
/ \
More information about the kde-solaris
mailing list