Current CVS compile fails on Darwin with error in mountlist.c
- From: "Frank Joerdens" <frank joerdens de>
- To: mc-devel gnome org
- Subject: Current CVS compile fails on Darwin with error in mountlist.c
- Date: Wed, 23 Aug 2006 19:53:23 +0300
Hi there - I just ran cvs update; ./autogen.sh; make ... and get the following:
------------------- snip -------------------
mountlist.c: In function 'read_filesystem_list':
mountlist.c:362: warning: passing argument 1 of 'getmntinfo' from
incompatible pointer type
mountlist.c:367: error: 'struct statvfs' has no member named 'f_mntfromname'
mountlist.c:368: error: 'struct statvfs' has no member named 'f_mntonname'
mountlist.c:372: error: 'struct statvfs' has no member named 'f_type'
make[2]: *** [mountlist.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
evil-bobs-powerbook:~/mc evilbob$ uname -a
Darwin evil-bobs-powerbook.local 8.7.0 Darwin Kernel Version 8.7.0:
Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC
Power Macintosh powerpc
------------------- snap -------------------
Actually, this here sounds like some kind of explanation or related issue:
"FreeBSD's statvfs structure doesn't define f_mntfromname, f_mntonname
or f_fstypename. They are defined in sys/mount.h for statfs. My
workaround was to manually patch work/fam-2.7.0/config.h to undefine
HAVE_SYS_STATVFS_H."
( from: http://www.reedmedia.net/misc/netbsd/diary/netbsd-diary-2005.html
- And I even tried this workaround, patching ./config.h in this way,
the implications of which I don't really understand, and it doesn't
really work, i.e. it results in a different error.)
Any ideas?
Regards, Frank
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]