[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#6644: kdeutils - 20000722 statfs undeclared in arkwidget.cc
From: Jon Bowman <jon.bowman () central ! sun ! com>
Date: 2000-07-24 16:04:52
[Download RAW message or body]
Package: kdeutils
Version: 20000722
Arch: sparc
OS: Solaris 8
Trying to compile kdeutils and I keep getting this error
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/kde2-a/include
-I/usr/local/qt-2.2.0-beta0/include
-I. -g -fno-exceptions -fno-check-new -Wall -pedantic -W
-Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
-fno-builtin -c arkwidget.cc
arkwidget.cc: In function `bool Utilities::diskHasSpace(const QString &,
long int)':
arkwidget.cc:132: aggregate `struct statfs buf' has incomplete type and
cannot be initialized
arkwidget.cc:133: type `statfs' is not yet defined
arkwidget.cc: In method `void ArkWidget::slotExtractDone()':
arkwidget.cc:987: warning: int format, pid_t arg (arg 3)
make[3]: *** [arkwidget.o] Error 1
make[3]: Leaving directory
`/usr/local/kde2-build/kde2/latest/source/kdeutils/ark'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/usr/local/kde2-build/kde2/latest/source/kdeutils/ark'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/local/kde2-build/kde2/latest/source/kdeutils'
make: *** [all-recursive-am] Error 2
It appears statfs is a deprecated call under Solaris. The header
sys/statfs.h still exists but does
not define the f_bavail var. The sys/statvfs.h header is now the
prefered interface I believe.
I can send the header file if that will help.
Jon
--
Jon Bowman
SUN Microsystems
Network Storage Engineering
+1 (303)272-8055
x28055
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic