This forum has been archived. All content is frozen. Please use KDE Discuss instead.

2.2beta1 does not compile on Mac OS X 10.4.9

Tags: None
(comma "," separated)
megagram
Registered Member
Posts
5
Karma
0
It spits out these errors and then dies:
Code: Select all
fileops.cpp:68:21: error: sys/vfs.h: No such file or directory
fileops.cpp: In function ‘bool bt::FreeDiskSpace(const QString&, bt::Uint64&)’:
fileops.cpp:423: error: aggregate ‘bt::statfs stfs’ has incomplete type and cannot be defined
fileops.cpp:424: error: invalid use of undefined type ‘struct bt::statfs’
fileops.cpp:423: error: forward declaration of ‘struct bt::statfs’
fileops.cpp:436: warning: control reaches end of non-void function
make[4]: *** [fileops.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
mmapfile.cpp: In member function ‘void bt::MMapFile::growFile(bt::Uint64)’:
mmapfile.cpp:190: warning: unused variable ‘written’
mv -f .deps/functions.Tpo .deps/functions.Plo
make[4]: *** Waiting for unfinished jobs....
mv -f .deps/mmapfile.Tpo .deps/mmapfile.Plo
mv -f .deps/log.Tpo .deps/log.Plo
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


Thanks for any help in resolving this!

Megagram
jdong
Registered Member
Posts
358
Karma
0

Sun Jun 03, 2007 1:50 am
Interesting; I doubt OS X/Darwin has a compatible VFS layer to Linux (for that matter, does 2.2beta work on the BSD's?)
George
Moderator
Posts
5421
Karma
1

Sun Jun 03, 2007 10:21 am
I think we need to switch to statvfs, which is supported under OS X and FreeBSD.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]