[Bug 105299] New - struct statfs declared in <sys/statfs.h>, that isn't included ...
- From: bugzilla-daemon widget gnome org
- To: garnome-list gnome org
- Cc:
- Subject: [Bug 105299] New - struct statfs declared in <sys/statfs.h>, that isn't included ...
- Date: Wed, 5 Feb 2003 08:22:45 -0500 (EST)
http://bugzilla.gnome.org/show_bug.cgi?id=105299
Summary: struct statfs declared in <sys/statfs.h>, that isn't
included ...
Product: nautilus-cd-burner
Version: unspecified
OS: Solaris
OS Details: SunOS stows017 5.8 Generic_108528-12 sun4u sparc
SUNW,Sun-Blade-100
Status: NEW
Status Whiteboard:
Keywords: GNOMEVER2.1
Resolution:
Severity: blocker
Priority: Normal
Component: cd-burner
AssignedTo: alexl redhat com
ReportedBy: Jonas Jonsson se transport bombardier com
Hi, on my Solaris box, the following happens on compilation of
nautilus-cd-burner ....:
/appl/gnu/gcc-3.0.4_sol2.8/bin/gcc -DHAVE_CONFIG_H -I. -I. -I. -pthreads
-DORBIT2=1 -I/home/konjojo/Solaris/gnome-2.2/include/gnome-vfs-2.0
-I/home/konjojo/Solaris/gnome-2.2/lib/gnome-vfs-2.0/include
-I/home/konjojo/Solaris/gnome-2.2/include/bonobo-activation-2.0
-I/home/konjojo/Solaris/gnome-2.2/include/glib-2.0
-I/home/konjojo/Solaris/gnome-2.2/lib/glib-2.0/include
-I/home/konjojo/Solaris/gnome-2.2/include/orbit-2.0
-I/home/konjojo/Solaris/gnome-2.2/include/linc-1.0
-I/home/konjojo/Solaris/gnome-2.2/include/gnome-vfs-module-2.0 -DORBIT2=1
-pthreads -I/home/konjojo/Solaris/gnome-2.2/include/glib-2.0
-I/home/konjojo/Solaris/gnome-2.2/lib/glib-2.0/include
-I/home/konjojo/Solaris/gnome-2.2/include/libgnome-2.0
-I/home/konjojo/Solaris/gnome-2.2/include/orbit-2.0
-I/home/konjojo/Solaris/gnome-2.2/include/libbonobo-2.0
-I/home/konjojo/Solaris/gnome-2.2/include/gconf/2
-I/home/konjojo/Solaris/gnome-2.2/include/gnome-vfs-2.0
-I/home/konjojo/Solaris/gnome-2.2/lib/gnome-vfs-2.0/include
-I/home/konjojo/Solaris/gnome-2.2/include/linc-1.0
-I/home/konjojo/Solaris/gnome-2.2/include/bonobo-activation-2.0
-I/home/konjojo/Solaris/gnome-2.2/include/gtk-2.0
-I/home/konjojo/Solaris/gnome-2.2/lib/gtk-2.0/include
-I/home/konjojo/Solaris/gnome-2.2/include/atk-1.0
-I/home/konjojo/Solaris/gnome-2.2/include/pango-1.0
-I/home/konjojo/Solaris/gnome-2.2/include
-I/home/konjojo/Solaris/gnome-2.2/include/freetype2 -I/usr/openwin/include
-I/home/konjojo/Solaris/gnome-2.2/include/libglade-2.0
-I/home/konjojo/Solaris/gnome-2.2/include/libxml2 -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DPREFIX=\"/home/konjojo/Solaris/gnome-2.2\"
-DLIBEXECDIR=\""/home/konjojo/Solaris/gnome-2.2/libexec"\"
-DDATADIR=\""/home/konjojo/Solaris/gnome-2.2/share/nautilus-cd-burner"\"
-DGNOMELOCALEDIR=\""/home/konjojo/Solaris/gnome-2.2/share/locale"\"
-I/home/konjojo/Solaris/gnome-2.2/include -I/usr/openwin/include
-I/home/konjojo/Solaris/include -I/home/konjojo/Solaris/gnome-2.2/include
-I/usr/openwin/include -I/home/konjojo/Solaris/include -Wall
-I/home/konjojo/Solaris/gnome-2.2/include -I/usr/openwin/include
-I/home/konjojo/Solaris/include -L/home/konjojo/Solaris/gnome-2.2/lib
-L/usr/openwin/lib -L/home/konjojo/Solaris/lib -O2 -pipe
-I/home/konjojo/Solaris/gnome-2.2/include -I/usr/openwin/include
-I/home/konjojo/Solaris/include -L/home/konjojo/Solaris/gnome-2.2/lib
-L/usr/openwin/lib -L/home/konjojo/Solaris/lib -O2 -pipe -c make-iso.c
make-iso.c: In function `graft_file_visitor':
make-iso.c:287: warning: implicit declaration of function `mkdtemp'
make-iso.c:287: warning: assignment makes pointer from integer without a cast
make-iso.c: In function `make_iso':
make-iso.c:473: storage size of `statfs_buf' isn't known
make-iso.c:477: warning: assignment makes pointer from integer without a cast
make-iso.c:548: warning: implicit declaration of function `statfs'
make-iso.c:473: warning: unused variable `statfs_buf'
gmake[4]: *** [make-iso.o] Error 1
It turns out that on a Solaris box, the statfs() function is declared in
<sys/statfs.h>. But reading that file gives that it shouldn't be used,
it's soon to be removed from Solaris. Instead, statvfs() should be used.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]