Re: Problem with very large filesystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!
Tried to use
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCEas added in vdr-1.7.4 make.config.template, but this causes otherwarnings/errors:
recording.c: In constructor ‘cIndexFile::cIndexFile(const char*, bool)’:recording.c:1207: warning: format ‘%ld’ expects type ‘long int’, butargument 3 has type ‘__off64_t’...tools.c: In member function ‘ssize_t cUnbufferedFile::Write(const void*,size_t)’:tools.c:1592: error: no matching function for call to ‘min(off_t&, longint)’tools.c:1611: error: no matching function for call to ‘min(long longint, long unsigned int)’make: *** [tools.o] Error 1
Regards
Marco


Marco Göbenich schrieb:> Seems that>> if (statfs(Directory, &statFs) == 0)>> returns false.>> I changed>> struct statfs64 statFs;> if (statfs64(Directory, &statFs) == 0) {>> This works. Recordings are now stored. Is there a better fix for that.>   
-- Needful GbR  Rheinstraße 60a          Telefon +49 (0) 26 24 / 95 29 301             56203 Hoehr-Grenzhausen  Telefax +49 (0) 26 24 / 95 29 303             http://www.needful.de    E-Mail  mg@xxxxxxxxxx

_______________________________________________vdr mailing listvdr@xxxxxxxxxxxxxxx://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux