[kde-solaris] kdelibs fails to compile: CVS KDE_3_1_0_RELEASE

Nick THOMPSON kde-solaris@mail.kde.org
Mon Jan 20 15:32:00 2003


Solaris 8, GCC 3.2.1, KDE from CVS today with '-r KDE_3_1_0_RELEASE'

kdelibs fails to compile. A late addition in kio/global.cpp uses
functions and structures defined in fstab.h on linux. This file does not
exist (AFAIK) on Solaris 8. The following error results. (I guess I
should raise a bug report, but I wanted to get this out quick as this
looks fatal for KDE3.1.0 release...)

Making all in kio
make[3]: Entering directory `/home/nickthom/kde3.1/kdelibs/kio/kio'
source='global.cpp' object='global.lo' libtool=yes \
depfile='.deps/global.Plo' tmpdepfile='.deps/global.TPlo' \
depmode=gcc3 /bin/bash ../../admin/depcomp \
/bin/bash ../../libtool --silent --mode=compile --tag=CXX g++
-DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I./.. -I./../kssl -I../kssl
-I./../../interfaces  -I../../dcop -I../../libltdl -I../../kdecore
-I../../kdeui -I../../kio -I../../kio/kio -I../../kio/kfile -I../..
-I/opt/qt/3.1/include  -I/opt/kde/3.1/include -I/opt/freetool/include
-I/opt/kde/3.1/include -I/opt/openssl/include -D_LARGEFILE64_SOURCE
-DUSE_SOLARIS -DSVR4 -I/opt/freetool/include  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wmissing-prototypes -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2
-fno-exceptions -fno-check-new  -DQT_NO_TRANSLATION -DQT_CLEAN_NAMESPACE
-DQT_NO_ASCII_CAST -DQT_NO_COMPAT  -c -o global.lo `test -f global.cpp
|| echo './'`global.cpp
global.cpp: In function `QString get_mount_info(const QString&,
   MountState&, MountState&)':
global.cpp:1692: `getfsfile' undeclared (first use this function)
global.cpp:1692: (Each undeclared identifier is reported only once for
   function it appears in.)
global.cpp:1693: invalid use of undefined type `struct fstab'
global.cpp:1692: forward declaration of `struct fstab'
make[3]: *** [global.lo] Error 1
make[3]: Leaving directory `/home/nickthom/kde3.1/kdelibs/kio/kio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/nickthom/kde3.1/kdelibs/kio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nickthom/kde3.1/kdelibs'
make: *** [all] Error 2