[kde-solaris] KDE 3.3 kcontrol / info / memory compile problem on Solaris 64

Darrell Esau Darrell.Esau at Sun.COM
Fri Aug 20 18:47:37 CEST 2004


Hello all,

Trying to compile KDE3.3 on Sparc/Solaris 64 with GCC.

I have _FILE_OFFSET_BITS=64

When compiling memory_solaris.cpp, i get the error below.  It would appear 
that memory_solaris.cpp doesn't work with 64 bit file access.  Any advice 
other than not compiling the info module?

if /bin/bash ../../libtool --silent --mode=compile --tag=CXX g++ 
-DHAVE_CONFIG_H  -I. -I. -I../.. -I/net/othinn/export/tools/KDE33/include 
-I/net/othinn/export/tools/QT333/include   -I/usr/sfw/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 -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 memory.lo -MD -MP -MF 
".deps/memory.Tpo" -c -o memory.lo memory.cpp; \
then mv -f ".deps/memory.Tpo" ".deps/memory.Plo"; else rm -f 
".deps/memory.Tpo"; exit 1; fi
In file included from memory_solaris.cpp:11,
                 from memory.cpp:460:
/usr/include/sys/swap.h:47:2: #error "Cannot use swapctl in the large files 
compilation environment"
In file included from memory.cpp:460:
memory_solaris.cpp: In member function `void KMemoryWidget::update()':
memory_solaris.cpp:32: warning: deprecated conversion from string constant to 
`char*'
memory_solaris.cpp:32: warning: deprecated conversion from string constant to 
`char*'
memory_solaris.cpp:49: warning: deprecated conversion from string constant to 
`char*'
In file included from memory.cpp:460:
memory_solaris.cpp:53:2: warning: #warning "FIXME: Memory_Info[CACHED_MEM]"
*** Error code 1
make: Fatal error: Command failed for target `memory.lo'


More information about the kde-solaris mailing list